St · Statistics & Probability

Conditional Mean and Variance of an Exponential Random Variable

Published By the 9to5Science editorial team

At a glance

  1. 1. Set the convention

    Write the exponential distribution using its rate λ; its mean is 1/λ.

  2. 2. Identify the condition

    For an exceedance condition, use X greater than a threshold c.

  3. 3. Apply memorylessness

    Given X exceeds c, the excess X minus c is still exponential with rate λ.

  4. 4. Compute the moments

    Add c to the conditional mean; the variance remains 1 divided by λ squared.

The phrase “conditional mean and variance of an exponential random variable” needs a conditioning event to give a unique answer. A common actuarial and reliability question is the expected value and variance of a waiting time or claim amount given that it exceeds a threshold. For that case, the exponential distribution’s memoryless property gives a simple result.

Let X∼Exp⁡(λ)X\sim\operatorname{Exp}(\lambda), where λ>0\lambda>0 is the rate. If the condition is X>cX>c for c≥0c\ge 0, then

E[X∣X>c]=c+1λ,Var⁡(X∣X>c)=1λ2.\mathbb{E}[X\mid X>c]=c+\frac{1}{\lambda}, \qquad \operatorname{Var}(X\mid X>c)=\frac{1}{\lambda^2}.

The mean includes the threshold already exceeded, but the variance of the remaining excess is unchanged.

Why the exceedance formulas hold

An exponential random variable with rate λ\lambda has density and survival probability

fX(x)=λe−λx,x≥0,Pr⁡(X>c)=e−λc.f_X(x)=\lambda e^{-\lambda x},\quad x\ge 0, \qquad \Pr(X>c)=e^{-\lambda c}.

For y≥0y\ge 0, the conditional survival probability of the excess is

Pr⁡(X−c>y∣X>c)=Pr⁡(X>c+y)Pr⁡(X>c)=e−λ(c+y)e−λc=e−λy.\begin{aligned} \Pr(X-c>y\mid X>c) &=\frac{\Pr(X>c+y)}{\Pr(X>c)}\\ &=\frac{e^{-\lambda(c+y)}}{e^{-\lambda c}}\\ &=e^{-\lambda y}. \end{aligned}

This is the survival function of an exponential random variable with rate λ\lambda. Thus, conditional on exceeding cc, XX has the same distribution as c+Zc+Z, where Z∼Exp⁡(λ)Z\sim\operatorname{Exp}(\lambda). Since E[Z]=1/λ\mathbb{E}[Z]=1/\lambda and Var⁡(Z)=1/λ2\operatorname{Var}(Z)=1/\lambda^2, adding the constant cc increases the mean by cc and does not change the variance.

This property is called memorylessness: after waiting until time cc, the additional waiting time has the original exponential distribution.

Worked example

Suppose a waiting time has rate λ=0.2\lambda=0.2 per hour, so its unconditional mean is 1/0.2=51/0.2=5 hours. Find its conditional mean and variance given that the wait lasts more than 10 hours.

Set c=10c=10 and substitute into the exceedance formulas:

E[X∣X>10]=10+10.2=15 hours,Var⁡(X∣X>10)=10.22=25 hours2.\mathbb{E}[X\mid X>10]=10+\frac{1}{0.2}=15\text{ hours}, \qquad \operatorname{Var}(X\mid X>10)=\frac{1}{0.2^2}=25\text{ hours}^2.

The conditional standard deviation is 25=5\sqrt{25}=5 hours. In this example, the expected total wait given that it has passed 10 hours is 15 hours; the expected additional wait is 5 hours. The probability of reaching the 10-hour threshold is Pr⁡(X>10)=e−0.2(10)=e−2\Pr(X>10)=e^{-0.2(10)}=e^{-2}, about 0.1353. That probability affects how often the condition occurs, but not the conditional excess distribution.

If the condition is a bounded interval

A different answer is needed if you mean conditioning on c<X<dc<X<d, where 0≤c<d0\le c<d. This is a truncated exponential distribution. Let L=d−cL=d-c; given the interval, the shifted value Y=X−cY=X-c lies between 0 and LL. Its conditional mean and variance are

E[X∣c<X<d]=c+1λ−LeλL−1,\mathbb{E}[X\mid c<X<d] =c+\frac{1}{\lambda}-\frac{L}{e^{\lambda L}-1}, Var⁡(X∣c<X<d)=1λ2−L2eλL(eλL−1)2.\operatorname{Var}(X\mid c<X<d) =\frac{1}{\lambda^2}-\frac{L^2e^{\lambda L}}{(e^{\lambda L}-1)^2}.

For example, with rate 0.20.2 and condition 10<X<1510<X<15, L=5L=5. The formulas give a conditional mean of approximately 12.0912.09 hours and variance of approximately 1.981.98 hours squared. These differ from the exceedance results because values above 15 hours are excluded.

Taking c=0c=0 in the interval formulas gives the case X<dX<d. For a very wide interval, as dd tends to infinity, the formulas approach the exceedance results with threshold cc.

Common mistakes

  • Confusing rate and scale: Here λ\lambda is the rate, so the unconditional mean is 1/λ1/\lambda. If a problem uses scale θ=1/λ\theta=1/\lambda, the exceedance formulas become c+θc+\theta for the mean and θ2\theta^2 for the variance.
  • Reporting the excess instead of the total: E[X−c∣X>c]=1/λ\mathbb{E}[X-c\mid X>c]=1/\lambda, while E[X∣X>c]=c+1/λ\mathbb{E}[X\mid X>c]=c+1/\lambda.
  • Assuming every condition preserves memorylessness: The result applies to conditioning on exceeding a threshold. Conditioning on an interval, on being below a threshold, or on another event generally changes the distribution and requires a separate calculation.
  • Changing the variance when shifting: Adding the fixed threshold changes the mean, not the variance.

References

  1. A First Course in Probability, Sheldon Ross
  2. Introduction to Probability Models, Sheldon Ross

Spotted an error? Send a correction. Read how we write and check articles in our editorial policy.