|
UniformDistribution
UniformDistribution[min, max] gives the uniform distribution on the interval {min, max).
The uniform distribution, UniformDistribution[min, max], commonly referred to as the rectangular distribution, characterizes a random variable whose value is everywhere equally likely. An example of a uniformly distributed random variable is the location of a point chosen randomly on a line from min to max. If x is uniformly distributed on [a, b], then the random variable x follows a Cauchy distribution CauchyDistribution[a, b].
See also: Mean, StandardDeviation, Variance, CDF, PDF.
 Examples
Using InstantCalculators
Here are the InstantCalculators for the UniformDistribution function. Enter the parameters for your calculation and click Calculate to see the result.
This generates a set of random numbers that follow the uniform distribution.
In[1]:=
Out[1]:=
This gives the probability density function for the uniform distribution.
In[2]:=
Out[2]:=
This gives the cumulative distribution function for the uniform distribution.
In[3]:=
Out[3]:=
Entering Commands Directly
You can paste a template for this command via the Text Input button on the UniformDistribution Function Controller.
This generates a set of random numbers that follow the uniform distribution.
In[4]:=
Out[4]:=
This gives the probability density function for the uniform distribution.
In[5]:=
Out[5]:=
This gives the cumulative distribution function for the uniform distribution.
In[6]:=
Out[6]:=
|