1.2.3-SNAPSHOT Arrow_down_16x16
  • (support d)

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

See also:
Distribution, pdf, draw, support


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

0 Examples top

Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source top


Vars in incanter.distributions/support:
Used in 0 other vars

Comments top

No comments for support. Log in to add a comment.