Qu

norminv

Builtin index · Statistics & ML

result = norminv(p, [mu=0], [sigma=1])

Input: p, mu, sigma · Output: result

What it is

Inverse of normcdf: the x with normcdf(x) = p, for probabilities p in [0, 1] (anything outside is an error, not NaN); p = 0/1 give -inf/inf. norminv(0.975) is the familiar 1.96.

Overloads

One call shape — this function is not overloaded.

CodeInputOutputDescription
result = norminv(p, [mu=0], [sigma=1])
p —p = 0/1 give -inf/inf.
mu optional (default 0)not documented yet
sigma optional (default 1)not documented yet
result —
Returns the same shape as p. Added in v0.4.3.

Examples

No documentation example calls this form yet. The Statistics & ML chapter is where one belongs.