WorksheetFunction.Norm_Dist Method
Returns the normal distribution for the specified mean and standard deviation. This function has a wide range of applications in statistics, including hypothesis testing.
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Syntax
'Declaration
Function Norm_Dist ( _
Arg1 As Double, _
Arg2 As Double, _
Arg3 As Double, _
Arg4 As Boolean _
) As Double
'Usage
Dim instance As WorksheetFunction
Dim Arg1 As Double
Dim Arg2 As Double
Dim Arg3 As Double
Dim Arg4 As Boolean
Dim returnValue As Double
returnValue = instance.Norm_Dist(Arg1, _
Arg2, Arg3, Arg4)
double Norm_Dist(
double Arg1,
double Arg2,
double Arg3,
bool Arg4
)
Parameters
Arg1
Type: System.DoubleX - The value for which you want the distribution.
Arg2
Type: System.DoubleMean - The arithmetic mean of the distribution.
Arg3
Type: System.DoubleStandard_dev - The standard deviation of the distribution.
Arg4
Type: System.BooleanCumulative - A logical value that determines the form of the function. If cumulative is true, Norm_Dist returns the cumulative distribution function; if false, it returns the probability mass function.
Return Value
Type: System.Double
Remarks
If mean or standard_dev is nonnumeric, Norm_Dist returns the #VALUE! error value.
If standard_dev ≤ 0, Norm_Dist returns the #NUM! error value.
If mean = 0, standard_dev = 1, and cumulative = true, Norm_Dist returns the standard normal distribution, Norm_S_Dist(Double, Boolean).
The equation for the normal density function (cumulative = false) is:
Figure 1: Equation for the normal density function
When cumulative = true, the formula is the integral from negative infinity to x of the given formula.