Edit

Share via


WorksheetFunction.ExponDist(Double, Double, Boolean) Method

Definition

Returns the exponential distribution. Use ExponDist to model the time between events, such as how long an automated bank teller takes to deliver cash. For example, you can use ExponDist to determine the probability that the process takes at most 1 minute.

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

Parameters

Arg1
Double

X - the value of the function.

Arg2
Double

Lambda - the parameter value.

Arg3
Boolean

Cumulative - a logical value that indicates which form of the exponential function to provide. If cumulative is true, ExponDist returns the cumulative distribution function; if false, it returns the probability density function.

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 Expon_Dist(Double, Double, Boolean) method.

If x or lambda is nonnumeric, ExponDist returns the #VALUE! error value.

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

If lambda ≤ 0, ExponDist returns the #NUM! error value.

The equation for the probability density function is:

Figure 1: Equation for the probability density function

The equation for the cumulative distribution function is:

Figure 2: Equation for the cumulative distribution function

Applies to