Uniform
Probability density function
Using maximum convention
|
Cumulative distribution function
|
| Notation
|
|
| Parameters
|
|
| Support
|
|
| PDF
|
|
| CDF
|
|
| Mean
|
|
| Median
|
|
| Mode
|
any value in
|
| Variance
|
|
| Skewness
|
0
|
| Ex. kurtosis
|
|
| Entropy
|
|
| MGF
|
|
| CF
|
|
The (continuous) uniform distribution, as its name suggests, is a distribution with probability densities that are the same at each point in an interval. In casual terms, the uniform distribution shapes like a rectangle.
Mathematically speaking, the probability density function of the uniform distribution is defined as
And the cumulative distribution function is:
Mean
We derive the mean as follows.
![{\displaystyle \operatorname {E} [X]=\int _{-\infty }^{\infty }xf(x)dx}](../../924d6297060cfe0ce5b68f81398ddf9c8b1108b5.svg)
As the uniform distribution is 0 everywhere but [a, b] we can restrict ourselves that interval
![{\displaystyle \operatorname {E} [X]=\int _{a}^{b}{1 \over {b-a}}xdx}](../../02474545220217edacc399cb2505f4bc51fc7941.svg)
![{\displaystyle \operatorname {E} [X]=\left.{1 \over (b-a)}{1 \over 2}x^{2}\right|_{a}^{b}}](../../4eccd1945ac02fa5fae45a09a0a479a64a24b61d.svg)
![{\displaystyle \operatorname {E} [X]={1 \over 2(b-a)}\left[b^{2}-a^{2}\right]}](../../3d76ab442e3c6278bed5b3043fae803c4c83d167.svg)
![{\displaystyle \operatorname {E} [X]={b+a \over 2}}](../../9a4fcd87bd5187b6aa583ec11360620ed1a62ad7.svg)
Variance
We use the following formula for the variance.
![{\displaystyle \operatorname {Var} (X)=\operatorname {E} [X^{2}]-(\operatorname {E} [X])^{2}}](../../cd5a922df13bdee788c0f06474fe002a42c25d8a.svg)
![{\displaystyle \operatorname {Var} (X)=\left[\int _{-\infty }^{\infty }f(x)\cdot x^{2}dx\right]-\left({b+a \over 2}\right)^{2}}](../../4dabaa604c953f4f6e48305f667f5f5e9ba54645.svg)
![{\displaystyle \operatorname {Var} (X)=\left[\int _{a}^{b}{1 \over {b-a}}x^{2}dx\right]-{(b+a)^{2} \over 4}}](../../cf2289d688b600ebb79b1dfe3f6ccdce24aa9760.svg)

![{\displaystyle \operatorname {Var} (X)={1 \over 3(b-a)}[b^{3}-a^{3}]-{(b+a)^{2} \over 4}}](../../e5070a935e4627f16e4f8e690599f76534a70170.svg)



External links