Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2006
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2006

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

Search the Archive

Re: How to find expected value?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg66246] Re: How to find expected value?
  • From: Bill Rowe <readnewsciv at earthlink.net>
  • Date: Fri, 5 May 2006 05:02:51 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

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?