qqplot() — Q-Q plot

Checks whether data follows a normal bell curve.

qqnorm(x); qqline(x)

Key idea

Definition

the i-th smallest data value
its rank, 1 to n
how many points
the matching normal quantile

In plain words

Line up the dots, and if they follow the straight line, your data is bell-shaped (normal).

Where you'd use it

Frequently asked questions

What does a Q-Q plot check?
Whether data follows a distribution (often normal). Points on the line = good fit; S-shapes flag skew or heavy tails.