Overview of the stats[statevalf] Subpackage
|
Calling Sequence
|
|
stats[statevalf][command][distribution](arguments)
command[distribution](arguments)
|
|
Description
|
|
•
|
The stats[statevalf] subpackage provides numerical evaluations of statistical functions.
|
•
|
Each command in the stats[statevalf] subpackage can be accessed by using either the long form or the short form of the command name in the command calling sequence.
|
|
|
List of stats[statevalf] Subpackage Commands
|
|
•
|
The following is a list of available commands for continuous distributions.
|
cdf
|
cumulative density function
|
icdf
|
inverse cumulative density function
|
pdf
|
probability density function
|
|
|
•
|
The following is a list of available commands for discrete distributions.
|
dcdf
|
discrete cumulative probability function
|
idcdf
|
inverse discrete cumulative probability function
|
pf
|
probability function
|
|
|
•
|
The various distributions take their parameters as indices to the distributions. Refer to stats[distributions] for information on each available distribution.
|
•
|
If a particular call cannot be evaluated, for example trying to find the numerical value of a probability density function at a symbolic value, the call is returned unevaluated. Information is provided in the variable `stats/lasterror` as to the reason why a call was not evaluated. Also, this information is automatically given if infolevel[stats] has a value greater than or equal to one, prior to the unsuccessful call.
|
|
|
Examples
|
|
Important: The stats package has been deprecated. Use the superseding package Statistics instead.
>
|
|
standard normal distribution
>
|
|
| (1) |
90% of normal distribution with mean = 1 and standard deviation=2
>
|
|
| (2) |
cumulative density for a standard normal distribution
>
|
|
| (3) |
plots of pdf, cdf and icdf of normald
>
|
, plot(statevalf[icdf, normald[1, 2]], .1 .. .9, colour = red), plot(statevalf[pdf, normald[1, 2]], -3 .. 3, colour = green)})](/support/helpjp/helpview.aspx?si=9190/file07503/math175.png)
|
|
|
Download Help Document
Was this information helpful?