Formualizer Docs

EXPON.DIST

Returns the exponential-distribution probability at x for rate lambda.

Use EXPON.DIST for waiting-time models where events occur with a constant hazard rate.

The Formualizer engine in this repository at 0.15.0 plus unreleased changes computes the example results. Known differences from Excel are listed on this page.

Syntax

=EXPON.DIST(x, lambda, cumulative)

Arguments

ArgumentTypeRequiredDefault
xnumberRequired—
lambdanumberRequired—
cumulativenumberRequired—

How it works

With positive rate λ, the density at waiting time x is λ exp(−λx), and the cumulative probability is 1 − exp(−λx). The waiting time must be nonnegative.

Remarks

  • Requires x >= 0 and lambda > 0.
  • Set cumulative to non-zero for CDF mode, or 0 for PDF mode.
  • Invalid numeric coercions propagate as spreadsheet errors.
  • Alias EXPONDIST (the Excel 2007 compatibility name) is supported.

Error cases

  • Returns #NUM! when inputs violate domain requirements.

Examples

Evaluate the cumulative probability at a positive waiting time.

Formula =EXPON.DIST(2,0.5,TRUE)

Expected result 0.632120558828558

Try this formula

This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.

Evaluate density at the same point.

Formula =EXPON.DIST(2,0.5,FALSE)

Expected result 0.183939720585721

Try this formula

This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.

The cumulative probability at zero is zero.

Formula =EXPON.DIST(0,0.5,TRUE)

Expected result 0

Try this formula

This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.

A negative waiting time is outside the distribution.

Formula =EXPON.DIST(-1,0.5,TRUE)

Expected result #NUM!

Try this formula

This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.

Exponential CDF

Formula =EXPON.DIST(1,1,TRUE)

Expected result 0.632120558828558

Try this formula

This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.

Exponential PDF

Formula =EXPON.DIST(1,1,FALSE)

Expected result 0.367879441171442

Try this formula

This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.

Implementation

Engine source

On this page