Statistics/Distributions/Exponential

From testwiki
Jump to navigation Jump to search

Exponential Distribution

Template:Probability distribution Exponential distribution refers to a statistical distribution used to model the time between independent events that happen at a constant average rate λ. Some examples of this distribution are:

  • The distance between one car passing by after the previous one.
  • The rate at which radioactive particles decay.

For the stochastic variable X, probability distribution function of it is:

fx(x)={λeλx,if x00,if x<0

and the cumulative distribution function is:

Fx(x)={0,if x<01eλx,if x0

Exponential distribution is denoted as XExp(m), where m is the average number of events within a given time period. So if m=3 per minute, i.e. there are three events per minute, then λ=1/3, i.e. one event is expected on average to take place every 20 seconds.

Mean

We derive the mean as follows.

E[X]=xf(x)dx
E[X]=0xλeλxdx
E[X]=0(x)(λeλx)dx

We will use integration by parts with u=−x and v=e−λx. We see that du=-1 and dv=−λe−λx.

E[X]=[xeλx]00(eλx)(1)dx
E[X]=[00]+[1λ(eλx)]0
E[X]=[01λ]
E[X]=1λ

Variance

We use the following formula for the variance.

Var(X)=E[X2](E[X])2
Var(X)=x2f(x)dx(2)2
Var(X)=0x2e2xdx2

We'll use integration by parts with u=x2 and v=e2x. From this we have du=2x and v=2e2x.

Var(X)={[x2eλx]00(eλx)(2x)dx}1λ2
Var(X)=[00]+2λ0xλeλxdx1λ2

We see that the integral is just E[X] which we solved for above.

Var(X)=2λ1λ1λ2
Var(X)=1λ2

Template:BookCat