Uniform Distribution or Rectangular Distribution
Uniform distribution or rectangular distribution is a continuous probability distribution.
A random variable X is said to follow uniform or rectangular distribution it follows the following probability distribution function.
And is denoted by X~U(a,b)
Python Code to Plot Uniform Distribution
import matplotlib.pyplot as plt
And when size=5000 it becomes almost rectangular
Mean for Uniform Distribution
Variance for Uniform Distribution
Applications of Uniform Distribution-
Uniform distribution is widely used by simulators.
- Monte Carlo simulator uses it in risk analysis.
- Network simulators use to set traffic generation parameters.
Uniform probability distribution is a simple continuous probability distribution. Further, it helps to understand basics of probability distribution. If you want to learn probability distribution functions in statistics start from uniform distribution.