Modifica

Condividi tramite


WorksheetFunction.Norm_Dist(Double, Double, Double, Boolean) Method

Definition

Returns the normal distribution for the specified mean and standard deviation. This function has a wide range of applications in statistics, including hypothesis testing.

public:
 double Norm_Dist(double Arg1, double Arg2, double Arg3, bool Arg4);
public double Norm_Dist (double Arg1, double Arg2, double Arg3, bool Arg4);
Public Function Norm_Dist (Arg1 As Double, Arg2 As Double, Arg3 As Double, Arg4 As Boolean) As Double

Parameters

Arg1
Double

X - The value for which you want the distribution.

Arg2
Double

Mean - The arithmetic mean of the distribution.

Arg3
Double

Standard_dev - The standard deviation of the distribution.

Arg4
Boolean

Cumulative - 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.

Returns

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.

Applies to