statistical. expon

new expon()

Methods

(static) dist(x, lambda, cumulative) → {number}

Returns the exponential distribution.

Parameters:
NameTypeDescription
xnumber

The value of the function.

lambdanumber

The parameter value.

cumulativeboolean

A logical value that indicates which form of the exponential function to provide. If cumulative is TRUE, EXPON.DIST returns the cumulative distribution function; if FALSE, it returns the probability density function.

Returns:

the exponential distribution or an error if the arguments are incorrect.

Type: 
number