Edit

Share via


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

Definition

Returns the Weibull distribution. Use this distribution in reliability analysis, such as calculating the mean time to failure for a device.

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

Parameters

Arg1
Double

X - The value at which to evaluate the function.

Arg2
Double

Alpha - A parameter to the distribution.

Arg3
Double

Beta - A parameter to the distribution.

Arg4
Boolean

Cumulative - Determines the form of the function.

Returns

Remarks

If x, alpha, or beta is non-numeric, Weibull_Dist returns the #VALUE! error value.

If x < 0, Weibull_Dist returns the #NUM! error value.

If alpha ≤ 0 or if beta ≤ 0, Weibull_Dist returns the #NUM! error value.

The equation for the Weibull cumulative distribution function is:

Figure 1: Equation for the Weibull cumulative distribution

The equation for the Weibull probability density function is:

Figure 2: Equation for the Weibull probability density

When alpha = 1, Weibull_Dist returns the exponential distribution with:

Figure 3: Equation

Applies to