Uniform
Assigns equal probability to all outcomes within a specified range. It is characterized by two parameters: 𝑎 (the minimum value of the range) and 𝑏 (the maximum value of the range)
Create a new Uniform distribution
creates a continuous Uniform probability distribution.
Distribution properties:
Property
Type/Return type
Description
a
double
Minimum value of the range.
b
double
Maximum value of the range.
E()
double
Returns the expected value of the range.
D()
double
Represents variance, that measures the spread of dispersion of the random variable around its expected value E(X).
P(int k)
double
The cumulative distribution function: P(X < k)
Example
Last updated