Statistics · Statistical distributions
1 / 11
Continuous random variables
Probability density functions — the two validity conditions, probabilities as areas, E(X) and Var(X) by integration, the median and percentiles from cumulative area, the mode as the maximum of f, and the continuous uniform distribution as the simplest special case.
Statistics · Statistical distributions
Continuous random variables
Probability density functions — the two validity conditions, probabilities as areas, E(X) and Var(X) by integration, the median and percentiles from cumulative area, the mode as the maximum of f, and the continuous uniform distribution as the simplest special case.
Why it works
A continuous quantity — a waiting time, a mass, a length — can take any value in an interval, so no single value can carry a lump of probability: for every exact . Instead, probability is spread across the interval with a probability density function , and probability lives in areas: Because single points carry no probability, and are the same — strict versus non-strict makes no difference for a continuous variable.A valid pdf must satisfy two conditions: The total-area condition is how "find " questions work: integrate, set the result equal to , solve.
Mean and variance replace the sums of the discrete case with integrals: The variance shortcut ("mean of the squares minus square of the mean") is the same one used for data. If the pdf is symmetric about some value, that value is the mean — quote the symmetry rather than integrating.
Median and percentiles come from cumulative area. The median splits the area in half: and the -th percentile cuts off area in the same way. This usually produces an equation in to solve.
The mode is simply where is largest — found by differentiating (or by inspection for a simple shape). Mode, median and mean are three different summaries and only coincide for symmetric distributions.
The continuous uniform distribution on is the simplest pdf: constant height (so the rectangle has area 1). By symmetry and direct integration: and any sub-interval's probability is just its length divided by .