20.4.20 Cumulative distribution functions
The cdf command finds the
cumulative distribution function for a probability distribution.
-
cdf takes one or more mandatory arguments and one
optional argument.
-
distd, the name of the function that finds the
distribution’s density function.
- params, any parameters that would normally be passed
to distd.
- x, a number.
- cdf(distd,params) returns an
expression for the cumulative distribution function for
distd with parameters params.
- cdf(distd,params,x) returns the
value of the cumulative distribution function at x.
Examples