## Definition The ==Mode== of a random variable is the value at which the probability mass function (discrete) or probability density function (continuous) attains its maximum. A distribution may have one mode (unimodal), two modes (bimodal), or more (multimodal). > [!example]- A discrete random variable has PMF: $P(X=1) = 0.1$, $P(X=2) = 0.4$, $P(X=3) = 0.3$, $P(X=4) = 0.2$. What is the mode? > The mode is $x = 2$ because $P(X = 2) = 0.4$ is the largest probability value among all outcomes.