# Difference between revisions of "ProbDist - Custom continuous distribution using density points"

m (categories) |
m (category custom) |
||

Line 2: | Line 2: | ||

[[category:Bounded distributions]] | [[category:Bounded distributions]] | ||

[[category:Univariate distributions]] | [[category:Univariate distributions]] | ||

+ | [[category:Custom distributions]] | ||

[[Category:Doc Status D]] <!-- For Lumina use, do not change --> | [[Category:Doc Status D]] <!-- For Lumina use, do not change --> | ||

## Revision as of 01:57, 29 September 2018

Use these functions to specify a custom continuous probability distribution by specifying probability density points at selected values.

## ProbDist(p, r*, I*)

Specifies a customized continuous probability distribution as an array of relative probability densities, «p», at each of corresponding value in array «r». The values of «r» must be increasing, and the densities in «p» must be non-negative. The values in «p» are relative -- the function normalizes them so that the area under the distribution adds to 1.

Usually the first and last values in «p» are zero. If not, it extrapolates out for a distance equal to the spacing between the first two points (or last two points) before reaching zero.

The arrays «p» and «r» must have a common index, which should be specified as the third parameter. Sometimes an implicit index is used for «r» or «p», in which case the third parameter is optional.

It produces a density function using linear interpolation between the specified points on the density function.

## See Also

- CumDist
- ProbTable
- ChanceDist -- the discrete distribution analog.
- Keelin distribution
- Custom continuous distributions
- Distribution Densities Library

Enable comment auto-refresher