qnormp
qnormp is the quantile function for a standard normal distribution. Given a probability value p, it returns the z‑score such that the probability of the cumulative distribution function (CDF) not exceeding that z‑score is equal to p. Mathematically, qnormp(p) = Φ⁻¹(p), where Φ denotes the standard normal CDF.
In computer implementations the function is typically named to emphasize its inverse‑CDF nature. For instance, in
- p: A numeric value or array of values. The function requires 0 < p < 1. Values outside
- For p = 0.5, qnormp returns 0, the median of the standard normal.
- For p close to 0, qnormp yields large negative values; for p close to 1, it yields
- The function is monotonic increasing.
- Computing confidence interval bounds for normal‑distributed estimates.
- Simulating random variates via inverse transform sampling when combined with a uniform random generator.
- Determining critical values in hypothesis testing where a normal approximation is justified.
- qnorm (inverse standard normal CDF)
- rnorm (random sampling from a normal distribution)
The concept of the inverse CDF dates back to early 20th‑century work on the normal distribution.
For further reading, consult textbook references on probability theory or the documentation of statistical libraries that