norminv
Normal inverse cumulative distribution function
Syntax
Description
Examples
Input Arguments
Output Arguments
More About
Algorithms
The
norminv
function uses the inverse complementary error functionerfcinv
. The relationship betweennorminv
anderfcinv
isThe inverse complementary error function
erfcinv(x)
is defined aserfcinv(erfc(x))=x
, and the complementary error functionerfc(x)
is defined asThe
norminv
function computes confidence bounds forx
by using the delta method.norminv(p,mu,sigma)
is equivalent tomu + sigma*norminv(p,0,1)
. Therefore, thenorminv
function estimates the variance ofmu + sigma*norminv(p,0,1)
using the covariance matrix ofmu
andsigma
by the delta method, and finds the confidence bounds using the estimates of this variance. The computed bounds give approximately the desired confidence level when you estimatemu
,sigma
, andpCov
from large samples.
Alternative Functionality
norminv
is a function specific to normal distribution. Statistics and Machine Learning Toolbox™ also offers the generic functionicdf
, which supports various probability distributions. To useicdf
, create aNormalDistribution
probability distribution object and pass the object as an input argument or specify the probability distribution name and its parameters. Note that the distribution-specific functionnorminv
is faster than the generic functionicdf
.
References
[1] Abramowitz, M., and I. A. Stegun. Handbook of Mathematical Functions. New York: Dover, 1964.
[2] Evans, M., N. Hastings, and B. Peacock. Statistical Distributions. 2nd ed. Hoboken, NJ: John Wiley & Sons, Inc., 1993.
Extended Capabilities
Version History
Introduced before R2006a