WorksheetFunction.NormInv(Double, Double, Double) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the inverse of the normal cumulative distribution for the specified mean and standard deviation.
public:
double NormInv(double Arg1, double Arg2, double Arg3);
public double NormInv (double Arg1, double Arg2, double Arg3);
Public Function NormInv (Arg1 As Double, Arg2 As Double, Arg3 As Double) As Double
Parameters
- Arg1
- Double
Probability - a probability corresponding to the normal distribution.
- Arg2
- Double
Mean - the arithmetic mean of the distribution.
- Arg3
- Double
Standard_dev - the standard deviation of the distribution.
Returns
Remarks
Important: This function has been replaced with one or more new functions that may provide improved accuracy and whose names better reflect their usage. This function is still available for compatibility with earlier versions of Excel. However, if backward compatibility is not required, you should consider using the new functions from now on, because they more accurately describe their functionality. For more information about the new function, see the Norm_Inv(Double, Double, Double) method.
If any argument is nonnumeric, NormInv returns the #VALUE! error value.
If probability < 0 or if probability > 1, NormInv returns the #NUM! error value.
If standard_dev ≤ 0, NormInv returns the #NUM! error value.
If mean = 0 and standard_dev = 1, NormInv uses the standard normal distribution (see NormSInv(Double)).
Given a value for probability, NormInv seeks that value x such that NORMDIST(x, mean, standard_dev, TRUE) = probability. Thus, precision of NormInv depends on precision of NormDist(Double, Double, Double, Boolean). NormInv uses an iterative search technique. If the search has not converged after 100 iterations, the function returns the #N/A error value.