Interactive visualization of six fundamental discrete distributions
Equal probability for finite outcomes
A discrete uniform distribution assigns equal probability to each value in a finite range. The probability mass function is for . The expected value is , and the variance is , where . Common examples include rolling a fair die, selecting a random card from a deck, or generating a random number from a finite range.
Interactive visualization of fundamental continuous distributions
Constant probability over an interval
The continuous uniform distribution has constant probability density over the interval . The probability density function is for , and otherwise. The expected value is and the variance is . This distribution models situations where all values in an interval are equally likely, such as the position of a randomly thrown dart on a board, random arrival times within a time window, or measurement errors uniformly distributed within tolerances.