MathGroup Archive 2006

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

Search the Archive

Re: How to find expected value?


On 5/4/06 at 5:20 AM, chris.chiasson at gmail.com (Chris Chiasson)
wrote:

>It seems like you are trying to compute the expected value of a
>continuous distribution, while ExpectedValue is only defined for
>finite discrete distributions.

It is not correct to say ExpectedValue is only defined for discrete distributions. For example, you can compute the mean of say a gamma distribution as follows:

In[1]:=
<<Statistics`;
ExpectedValue[x,GammaDistribution[a,b],x]

Out[2]=
a b

--
To reply via email subtract one hundred and four


  • Prev by Date: Mathematica 4.1 on ThinkPAD T40 - Exception ntdll.dll - any advice on how to fix?
  • Next by Date: Re: Faster Random Walk Simulation ?!?
  • Previous by thread: Re: How to find expected value?
  • Next by thread: Re: How to find expected value?