# Exponential Distribution

An exponential distribution measures the amount of time until a next event occurs. It assumes that the events occur via a poisson process. Note that this is different from the Poisson Random Variable which measures number of events in a fixed amount of time.

Exponential Random Variable

Notation: $X \sim \Exp(\lambda)$ Time until next events if (a) the events occur with a constant mean rate and (b) they occur independently of time since last event. $\lambda \in \{0, 1, \dots\}$, the constant average rate. $x \in \mathbb{R}^+$ $$f(x) = \lambda e^{-\lambda x}$$ $$F(x) = 1 - e^{-\lambda x}$$ $\E[X] = 1/\lambda$ $\var(X) = 1/\lambda^2$
Parameter $\lambda$:

An exponential distribution is a great example of a continuous distribution where the cumulative distribution function (CDF) is much easier to work with as it allows you to answer probability questions without using integrals.

Example: Based on historical data from the USGS, earthquakes of magnitude 8.0+ happen in a certain location at a rate of 0.002 per year. Earthquakes are known to occur via a poisson process. What is the probability of a major earthquake in the next 4 years?

Let $Y$ be the years until the next major earthquake. Because $Y$ measures time until the next event it fits the description of an exponential random variable: $Y \sim \Exp(\lambda = 0.002)$. The question is asking, what is $\p(Y < 4)$? \begin{align*} \p(Y < 4) &= F_Y(4) && \text{The CDF measures $\p(Y < y)$} \\ &= 1 - e^{- \lambda \cdot y} && \text{The CDF of an Exp} \\ &= 1 - e^{- 0.002 \cdot 4} && \text{The CDF of an Exp} \\ &\approx 0.008 \end{align*} Note that it is possible to answer this question using the PDF, but it will require solving an integral.

## Exponential is Memoryless

One way to gain intuition for what is meant by the "poisson process" is through the proof that the exponential distribution is "memoryless". That means that the occurrence (or lack of occurrence) of events in the past does not change our belief as to how long until the next occurrence. This can be stated formally. If $X \sim \Exp(\lambda)$ then for an interval of time until the start $s$, and a proceeding, query, interval of time $t$: $$\p(X > s + t | X > s) = \p(X > t)$$ Which is something we can prove: \begin{align*} \p(X > s + t | X > s) &= \frac{\p(X > s + t \and X > s)}{\p(X > s)} && \text{Def of conditional prob.} \\ &= \frac{\p(X > s + t )}{\p(X > s)} && \text{Because $X>s+t$ implies $X>s$} \\ &= \frac{1 - F_X(s + t )}{1 - F_X(s)} && \text{Def of CDF} \\ &= \frac{e^{-\lambda (s + t)}}{e^{-\lambda s}} && \text{By CDF of Exp} \\ &= e^{-\lambda t} && \text{Simplify} \\ &= 1 - F_X(t) && \text{By CDF of Exp} \\ &= \p(X > t) && \text{Def of CDF} \\ \end{align*}