Overview of the stats[statevalf] Subpackage
Calling Sequence
Description
List of stats[statevalf] Subpackage Commands
Examples
stats[statevalf][command][distribution](arguments)
command[distribution](arguments)
Important: The stats package has been deprecated. Use the superseding package Statistics instead.
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.
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.
To display the help page for a particular stats[statevalf] command, see Getting Help with a Command in a Package.
with⁡stats:
standard normal distribution
statevalfpdf,normald⁡4.0
0.0001338302258
90% of normal distribution with mean = 1 and standard deviation=2
statevalficdf,normald1,2⁡0.9
3.563103131
cumulative density for a standard normal distribution
statevalfcdf,normald⁡1.0
0.8413447461
plots of pdf, cdf and icdf of normald
plotsdisplay⁡plot⁡statevalfcdf,normald1,2,−3..3,colour=yellow,plot⁡statevalficdf,normald1,2,0.1..0.9,colour=red,plot⁡statevalfpdf,normald1,2,−3..3,colour=green
See Also
plot
plots
Statistics
stats(deprecated)[distributions]
stats(deprecated)[statplots]
Download Help Document