Wolfram ResearchProductsPurchasingServices & ResourcesAbout UsOur Sites
Mathematica > Descriptive Statistics >

ExpectedValue

ExpectedValue[f, dist]
gives the expected value of the pure function f with respect to the symbolic distribution dist.
ExpectedValue[f, dist, x]
gives the expected value of the function f of x with respect to the symbolic distribution dist.
  • For a continuous distribution dist, the expected value of f is given by ∫f(x) p(x)ⅆx where p(x) is the probability density function of dist and the integral is taken over the domain of dist.
  • For a discrete distribution dist, the expected value of f is given by ∑f(x) p(x) where p(x) is the probability mass function of dist and summation is over the domain of dist.
  • The following option can be given:
Assumptions$Assumptionsassumptions to make about parameters
New in 6
© 2008 Wolfram Research, Inc. japanese.gif
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team