Skip to content

UniformDistribution

UniformDistribution({min, max})

returns a uniform distribution.

UniformDistribution( )

returns a uniform distribution with min = 0 and max = 1.

See

Examples

The variance of the uniform distribution is

>> Variance(DiscreteUniformDistribution({l, r}))
1/12*(-1+(1-l+r)^2)

CDF, Mean, Median, PDF, Quantile, StandardDeviation, Variance

Implementation status

  • ✅ - full supported

Github