distributions/
distribution__define.pro
The distribution class is an interface for objects dealing with probability distributions.
Class description for distribution
Subclasses: likelihood
Routines
result = distribution::pdf(x)Return the probability density function for this distribution, as a function of the variable x
result = distribution::cdf(x)Return the cumulative distribution funcion P(x' < x) for this distribution.
distribution__defineDefine the data structure
Routine details
topdistribution::pdf
statistics
result = distribution::pdf(x)
Return the probability density function for this distribution, as a function of the variable x
Parameters
- x in required
The input point. Scalar or array
topdistribution::cdf
statistics
result = distribution::cdf(x)
Return the cumulative distribution funcion P(x' < x) for this distribution.
Return value
The cumulative distribution P(x' < x)
NOTE: The cdf function should only be used for 1-dimensional distribution functions.
Parameters
- x in required
The input point. Scalar.
File attributes
| Modifcation date: | Mon Mar 22 16:17:13 2010 |
| Lines: | 72 |
![[attach.png]](../idldoc-resources/attach.png)