qnorm() — Value for a probability

Works backwards from pnorm — you give it a fraction, it gives you the number.

qnorm(p, mean = 0, sd = 1, lower.tail = TRUE)

Key idea

Definition

a probability between 0 and 1
the mean
the standard deviation
the inverse standard normal
the value with p of the area to its left

In plain words

You know what share of the crowd you want behind the mark, and qnorm tells you where to put the mark. Give it 0.975 — 97.5% behind the line — and it tells you the number that sits there.

Where you'd use it

Frequently asked questions

How is qnorm different from pnorm?
They’re inverses: pnorm turns a value into a probability; qnorm turns a probability into the value (a quantile).
Which p gives a 95% confidence interval?
qnorm(0.975) ≈ 1.96 — 0.025 is left in each tail.