Compute the Probability Function of a Discrete Random Variable - Maple Help

Online Help

All Products    Maple    MapleSim


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

Compute the Probability Function of a Discrete Random Variable

Description

Compute the PMF (probability mass function, or probability function) of a discrete random variable.

Create discrete random variables using the probability distributions already available in Maple or by creating custom distributions. The parameters to the distributions can be symbolic, numeric, or a mix.

XStatisticsRandomVariableBinomial10,p:

Compute the probability function of the random variable at a point. The point may be numeric or symbolic.

P:=StatisticsProbabilityFunctionX,x

P:=&lcub;0x<0binomial10&comma;xpx1p10xotherwise

(1)

Commands Used

Statistics[Distributions][Binomial], Statistics[ProbabilityFunction], Statistics[RandomVariable]

See Also

Statistics, Statistics[CDF], Statistics[Distribution], Statistics[Distributions], Statistics[PDF]

 

 

 

 


Download Help Document

Was this information helpful?



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