UniformDistribution

UniformDistribution[{min, max}]
represents a continuous uniform statistical distribution giving values between min and max.

UniformDistribution[]
represents a uniform distribution giving values between 0 and 1.

UniformDistribution[{{xmin, xmax}, {ymin, ymax}, ...}]
represents a multivariate uniform distribution over the region .

DetailsDetails

ExamplesExamplesopen allclose all

Basic Examples (8)Basic Examples (8)

Probability density function of univariate uniform distribution:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=

Cumulative distribution function of univariate uniform distribution:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=

Mean and variance of univariate uniform distribution:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=

Median of univariate uniform distribution:

In[1]:=
Click for copyable input
Out[1]=

Probability density function in two dimensions:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=

Cumulative distribution function in two dimensions:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=

Mean and variance in two dimensions:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=

Covariance:

In[1]:=
Click for copyable input
Out[1]//MatrixForm=
New in 6 | Last modified in 8
New to Mathematica? Find your learning path »
Have a question? Ask support »