1.2.3-SNAPSHOT

- (support d)

**** EXPERIMENTAL ****

A function of the incanter.distribution.Distribution protocol.

Returns the support of the probability distribution d.

For discrete distributions, the support is a set (i.e. #{1 2 3}).

For continuous distributions, the support is a 2 element vector

discribing the range. For example, the uniform distribution over

the unit interval would return the vector [0 1].

This function is marked as experimental to note that the output

format might need to adapt to more complex support structures.

For example, what would best describe a mixture of continuous

distributions?

See also:

Distribution, pdf, draw, support

References:

http://en.wikipedia.org/wiki/Cumulative_distribution_function

Examples:

(cdf [2 1 2 3] 2) ; returns the value 3/4

© incanter
See http://incanter.org for copyright and license details.

© incanter
See http://incanter.org for copyright and license details.

Vars in incanter.distributions/support:

Used in 0 other vars

## Comments top

## No comments for

support. Log in to add a comment.