Continuous uniform distribution
ID: continuous-uniform-distribution
A continuous uniform distribution on a finite interval with endpoints has probability density functionChoosing open or closed endpoints does not change this probability distribution, because single points have zero probability. Its cumulative distribution function is zero below , between the endpoints, and one above . Consequently a subinterval has probability .
Integration gives expected value and variance . If is uniform on , then is uniform on , a basic input transformation for Monte Carlo method and inverse transform sampling. For example, on the expected value is , the variance is , and . A uniform distribution is relative to its coordinate or reference measure: taking its logarithm generally does not preserve uniformity, as the log-uniform distribution illustrates.
New to topics? Read the docs here!