Compute the Moments of a Random Variable - Maple Programming Help

Online Help

All Products    Maple    MapleSim

Home : Support : Online Help : Tasks : Statistics : Task/ComputeMomentsOfRV

Compute the Moments of a Random Variable


Compute the moments of a random variable.

Define a random variable using the built-in probability distributions or by creating custom distributions. The parameters of the distributions can be symbolic, numeric, or a mix.

X  StatisticsRandomVariableExponentialb:

Specify the order of the moment, and then compute the moment of the random variable.

Xmoment  StatisticsMomentX,3;



Commands Used

Statistics[RandomVariable], Statistics[Distributions][Exponential], Statistics[Moment]

See Also

Statistics, Statistics[Distributions], Statistics[DescriptiveStatistics]