Student[Statistics]
CumulativeDistributionFunction
compute the cumulative distribution function
CDF
Calling Sequence
Parameters
Description
Computation
Examples
References
Compatibility
CumulativeDistributionFunction(X, t, numeric_option, output_option, inert_option)
CDF(X, t, numeric_option, output_option, inert_option)
X
-
algebraic; random variable
t
algebraic; point
numeric_option
(optional) equation of the form numeric=value where value is true or false
output_option
(optional) equation of the form output=x where x is value, plot, or both
inert_option
(optional) equation of the form inert=value where value is true or false
The CumulativeDistributionFunction function computes the cumulative distribution function of the specified random variable at the specified point.
The first parameter can be a random variable or an algebraic expression involving random variables (see Student[Statistics][RandomVariable]).
The inverse function of the CDF is the Quantile.
If the option output is not included or is specified to be output=value, then the function will return the value of the cumulative density function of the specified random variable at the specified point. If output=plot is specified, then the function will return a plot of CDF(X,x) together with dash lines instructing the value at x = specified point. If output=both is specified, then both the value and the plot will be returned.
If the option inert is not included or is specified to be inert=false, then the function will return the actual value of the result. If inert or inert=true is specified, then the function will return the formula of evaluating the actual value.
By default, all computations involving random variables are performed symbolically (see option numeric below).
If the second parameter is a floating point value or the option numeric is included, then the computation is done in floating point. Otherwise the computation is exact.
By default, the CDF of the specified random variable at the specified point is computed according to the rules mentioned above. To always compute the value numerically, specify the numeric or numeric = true option.
with⁡StudentStatistics:
Compute the cumulative distribution function of the beta random variable with parameters p and q.
CumulativeDistributionFunction⁡BetaRandomVariable⁡p,q,t
0t<0tp⁢hypergeom⁡p,1−q,p+1,tΒ⁡p,q⁢pt<11otherwise
Use numeric parameters.
CumulativeDistributionFunction⁡BetaRandomVariable⁡3,5,12
35⁢hypergeom⁡−4,3,4,128
CumulativeDistributionFunction⁡BetaRandomVariable⁡3,5,12,numeric
0.773437500000000
Define new random variable.
X≔NormalRandomVariable⁡2,52
X≔_R22
CDF⁡X,x
0x≤0erf⁡2⁢x10+252+erf⁡2⁢x10−2520<x
Use the inert option.
CDF⁡X,x,inert
∫−∞x0_t≤02⁢ⅇ−_t+2250+ⅇ−_t−225020⁢_t⁢π0<_tⅆ_t
Use the output=plot option.
CDF⁡X,x,output=plot
Consider the CDF of a discrete random variable and use the output=both option.
P≔PoissonRandomVariable⁡3:
cdf,graph≔CDF⁡P,x,output=both:
cdf
1−3⁢3max⁡−1,x3max⁡−1,x+1+3⁢Γ⁡max⁡−1,x+1,3⁢3max⁡−1,x3max⁡−1,x+1⁢Γ⁡max⁡−1,x+1
graph
Stuart, Alan, and Ord, Keith. Kendall's Advanced Theory of Statistics. 6th ed. London: Edward Arnold, 1998. Vol. 1: Distribution Theory.
The Student[Statistics][CumulativeDistributionFunction] and Student[Statistics][CDF] commands were introduced in Maple 18.
For more information on Maple 18 changes, see Updates in Maple 18.
See Also
Statistics[CDF]
Student
Student[Statistics][RandomVariable]
Download Help Document