Statistics[ProbabilityDensityFunction] - compute the probability density function
|
Calling Sequence
|
|
ProbabilityDensityFunction(X, t, options)
PDF(X, t, options)
|
|
Parameters
|
|
X
|
-
|
algebraic; random variable or distribution
|
t
|
-
|
algebraic; point
|
options
|
-
|
(optional) equation of the form numeric=value; specifies options for computing the probability density function of a random variable
|
|
|
|
|
Description
|
|
•
|
The ProbabilityDensityFunction function computes the probability density function of the specified random variable at the specified point.
|
|
|
Computation
|
|
•
|
By default, all computations involving random variables are performed symbolically (see option numeric below).
|
|
|
Options
|
|
|
The options argument can contain one or more of the options shown below. More information for some options is available in the Statistics[RandomVariables] help page.
|
•
|
numeric=truefalse -- By default, the probability density function is computed using exact arithmetic. To compute the probability density function numerically, specify the numeric or numeric = true option.
|
•
|
mainbranch - returns the main branch of the distribution only.
|
|
|
Examples
|
|
>
|
|
Compute the probability density function of the beta distribution with parameters p and q.
>
|
|
| (1) |
Use numeric parameters.
>
|
|
| (2) |
>
|
|
| (3) |
Define new distribution.
>
|
|
>
|
|
>
|
|
| (4) |
>
|
|
| (5) |
>
|
|
| (6) |
|
|
References
|
|
|
Stuart, Alan, and Ord, Keith. Kendall's Advanced Theory of Statistics. 6th ed. London: Edward Arnold, 1998. Vol. 1: Distribution Theory.
|
|
|
Download Help Document
Was this information helpful?