MathGroup Archive 2006

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Evaluating integrals

  • To: mathgroup at
  • Subject: [mg66419] Re: Evaluating integrals
  • From: Paul Abbott <paul at>
  • Date: Thu, 11 May 2006 05:36:20 -0400 (EDT)
  • Organization: The University of Western Australia
  • References: <e3hf47$m09$>
  • Sender: owner-wri-mathgroup at

In article <e3hf47$m09$1 at>,
 Bill Rowe <readnewsciv at> wrote:

> On 5/5/06 at 5:03 AM, chris.chiasson at (Chris Chiasson)
> wrote:
> >RE: the below commands Given the ouput of the second command, why
> >does the third work?
> ><<Statistics`
> >Information[ExpectedValue]
> >ExpectedValue[Function[c,Exp[-r b c]],NormalDistribution[mu,s]]
> My *guess* would be that one of packages other than 
> Statistics`DescriptiveStatistics` has added additional definitions for 
> ExpectedValue without modifying the help message provided by 
> Statistics`DescriptiveStatistics` for ExpectedValue. I haven't actually 
> reviewed the code inside the packages for ExpectedValue to either confirm or 
> deny my guess.

When you load the statistics stub via

  << Statistics`

and then do 


the message for ExpectedValue in Statistics`DescriptiveStatistics` is 
returned. Now, if you explicitly load

  << Statistics`ContinuousDistributions`

and then do 


then the message for ExpectedValue in this latter package, is returned. 
This latter message covers both the discrete and continuous cases.


Paul Abbott                                      Phone:  61 8 6488 2734
School of Physics, M013                            Fax: +61 8 6488 1014
The University of Western Australia         (CRICOS Provider No 00126G)    

  • Prev by Date: Re: Recursion inspection technique : HoldForm but release variables
  • Next by Date: Re: Faster Random Walk Simulation ?!?
  • Previous by thread: Re: Evaluating integrals
  • Next by thread: Selecting Many Things Rather Than Selecting One Thing From Many