P-P Plot — Definition, Formula & Example
A P-P plot is a graph that checks whether data follow a proposed probability distribution. It plots the proportion of the sample at or below each data value against the probability the model gives to values at or below it. If the model fits, the points lie close to the diagonal line .
Let be the ordered sample, and let be a fully specified hypothesized cumulative distribution function (CDF). The P-P plot is the set of points for . Here is an empirical plotting position, such as or . Both coordinates lie in , and the reference line is .
Key Formula
Where:
- = The i-th smallest data value
- = CDF of the hypothesized distribution, with all parameters specified
- = Sample size
- = Empirical plotting position, one common choice among several
Worked Example
Problem: A dart player claims her darts land evenly over the area of a circular target with radius 10 inches. If that is true, the distance from the center has CDF for . Four throws land 4, 6, 8, and 9 inches from the center. Build a P-P plot and judge the fit.
Step 1: The data are already sorted, and . Assign the plotting positions .
Step 2: Evaluate the model CDF at each ordered value.
Step 3: Plot the pairs and compare each point with the line . The vertical gaps are small.
Answer: The points are (0.16, 0.2), (0.36, 0.4), (0.64, 0.6), and (0.81, 0.8). Each one lies within 0.04 of the line y = x, so the data are consistent with the claimed model. With only four throws, this is weak evidence, and a larger sample would give a more reliable check.
Why It Matters
Regression and ANOVA courses use P-P plots to check whether residuals are approximately normal before trusting p-values (with parameters estimated from the data, the plot is approximate). Reliability engineers use them to test whether failure times follow a proposed lifetime model. The plot shows where the model fails, which a single test statistic cannot do.
Common Mistakes
Mistake: Treating a P-P plot and a Q-Q plot as interchangeable.
Correction: A P-P plot compares probabilities and is most sensitive to misfit near the center of the distribution. A Q-Q plot compares quantiles, measured in data units, and shows tail problems more clearly. If you are worried about outliers or heavy tails, use a Q-Q plot.
