Define a Random Variable - Maple Programming Help

Online Help

All Products    Maple    MapleSim

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

Define a Random Variable

 Description Define random variables and algebraic expressions containing random variables.

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

 > $X{}:={}\mathrm{Statistics}\left[\mathrm{RandomVariable}\right]\left({\mathrm{Normal}}\left({a}{,}{}{b}\right)\right):$
 > $Y{}:={}\mathrm{Statistics}\left[\mathrm{RandomVariable}\right]\left({\mathrm{Normal}}\left({c}{,}{}{3}\right)\right):$
 > $Z{}:={}{X}{}{+}{}{Y}:$
 > $W{}:={}\mathrm{Statistics}\left[\mathrm{RandomVariable}\right]\left({\mathrm{Poisson}}\left({6}\right)\right):$
 Commands Used

Was this information helpful?

 Please add your Comment (Optional) E-mail Address (Optional) What is ? This question helps us to combat spam