Skip to content Skip to navigation

Connexions

You are here: Home » Content » THE UNIFORM AND EXPONENTIAL DISTRIBUTIONS

Navigation

Content Actions

  • Download module PDF
  • Add to ...
    Add the module to:
    • My Favorites
    • A lens
    • An external social bookmarking service
    • My Favorites (What is 'My Favorites'?)
      'My Favorites' is a special kind of lens which you can use to bookmark modules and collections directly in Connexions. 'My Favorites' can only be seen by you, and collections saved in 'My Favorites' can remember the last module you were on. You need a Connexions account to use 'My Favorites'.
    • A lens (What is a lens?)

      Definition of a lens

      Lenses

      A lens is a custom view of Connexions content. You can think of it as a fancy kind of list that will let you see Connexions through the eyes of organizations and people you trust.

      What is in a lens?

      Lens makers point to Connexions materials (modules and collections), creating a guide that includes their own comments and descriptive tags about the content.

      Who can create a lens?

      Any individual Connexions member, a community, or a respected organization.

    • External bookmarks
  • E-mail the author

Recently Viewed

THE UNIFORM AND EXPONENTIAL DISTRIBUTIONS

Module by: Ewa Paszek

Summary: This course is a short series of lectures on Introductory Statistics. Topics covered are listed in the Table of Contents. The notes were prepared by Ewa Paszek and Marek Kimmel. The development of this course has been supported by NSF 0203396 grant.

THE UNIFORM AND EXPONENTIAL DISTRIBUTIONS

The Uniform Distribution

Let the random variable X denote the outcome when a point is selected at random from the interval [ a,b ] [ a,b ] , <a<b< <a<b< . If the experiment is performed in a fair manner, it is reasonable to assume that the probability that the point is selected from the interval [ a,x ] [ a,x ] , ax<b ax<b is ( xa )( ba ) ( xa )( ba ) . That is, the probability is proportional to the length of the interval so that the distribution function of X is

F( x )=( 0,x<a, xa ba ,ax<b, 1,bx. F( x )=( 0,x<a, xa ba ,ax<b, 1,bx.

Because X is a continuous-type random variable, F'( x ) F'( x ) is equal to the p.d.f. of X whenever F'( x ) F'( x ) exists; thus when a<x<b a<x<b , we have f( x )=F'( x )=1/( ba ). f( x )=F'( x )=1/( ba ).

Definition 1: DEFINITION OF UNIFORM DISTRIBUTION
The random variable X has a uniform distribution if its p.d.f. is equal to a constant on its support. In particular, if the support is the interval [ a,b ] [ a,b ] , then
f( x )= 1 b=a ,axb. f( x )= 1 b=a ,axb. (1)

Moreover, one shall say that X is U( a,b ) U( a,b ) . This distribution is referred to as rectangular because the graph of f( x ) f( x ) suggest that name. See Figure1. for the graph of f( x ) f( x ) and the distribution function F(x).

Figure 1: The graph of the p.d.f. of the uniform distriution.
 (UniformDistPlot.png)
Note that:
We could have taken f( a )=0 f( a )=0 or f( b )=0 f( b )=0 without alerting the probabilities, since this is a continuous type distribution, and it can be done in some cases.

The mean and variance of X are as follows:

μ= a+b 2 μ= a+b 2 and σ 2 = ( ba ) 2 12 . σ 2 = ( ba ) 2 12 .

An important uniform distribution is that for which a=0 and b =1, namely U( 0,1 ) U( 0,1 ) . If X is U( 0,1 ) U( 0,1 ) , approximate values of X can be simulated on most computers using a random number generator. In fact, it should be called a pseudo-random number generator (see the pseudo-numbers generation) because the programs that produce the random numbers are usually such that if the starting number is known, all subsequent numbers in the sequence may be determined by simple arithmetical operations.

An Exponential Distribution

Let turn to the continuous distribution that is related to the Poisson distribution. When previously observing a process of the approximate Poisson type, we counted the number of changes occurring in a given interval. This number was a discrete-type random variable with a Poisson distribution. But not only is the number of changes a random variable; the waiting times between successive changes are also random variables. However, the latter are of the continuous type, since each of then can assume any positive value.

Let W denote the waiting time until the first change occurs when observing the Poisson process in which the mean number of changes in the unit interval is λ λ . Then W is a continuous-type random variable, and let proceed to find its distribution function.

Because this waiting time is nonnegative, the distribution function F( w )=0 F( w )=0 , w<0 w<0 . For w0 w0 ,

F( w )=P( Ww )=1P( W>w )=1P( no_changes_in_[ 0,w ] )=1 e λw , F( w )=P( Ww )=1P( W>w )=1P( no_changes_in_[ 0,w ] )=1 e λw ,

since that was previously discovered that e λw e λw equals the probability of no changes in an interval of length w is proportional to w, namely, λw λw . Thus when w >0, the p.d.f. of W is given by F'( w )=λ e λw =f( w ). F'( w )=λ e λw =f( w ).

Definition 2: DEFINITION OF EXPONENTIAL DISTRIBUTION
Let λ=1/θ λ=1/θ , then the random variable X has an exponential distribution and its p.d.f. id defined by
f( x )= 1 θ e x/θ ,0x<, f( x )= 1 θ e x/θ ,0x<, (2)
where the parameter θ>0 θ>0 .

Accordingly, the waiting time W until the first change in a Poisson process has an exponential distribution with θ=1/λ θ=1/λ . The mean and variance for the exponential distribution are as follows: μ=θ μ=θ and σ 2 = θ 2 σ 2 = θ 2 .

So if λ λ is the mean number of changes in the unit interval, then θ=1/λ θ=1/λ is the mean waiting for the first change. Suppose that λ λ =7 is the mean number of changes per minute; then that mean waiting time for the first change is 1/7 of a minute.

Figure 2: The graph of the p.d.f. of the exponential distriution.
 (ExpDistPlot.gif)

Example 1

Let X have an exponential distribution with a mean of 40. The p.d.f. of X is

f( x )= 1 40 e x/40 ,0x<. f( x )= 1 40 e x/40 ,0x<.

The probability that X is less than 36 is

P( X<36 )= 0 36 1 40 e x/40 dx=1 e 36/40 =0.593. P( X<36 )= 0 36 1 40 e x/40 dx=1 e 36/40 =0.593.

Example 2

Let X have an exponential distribution with mean μ=θ μ=θ . Then the distribution function of X is

F( x )={ 0,<x<0, 1 e x/θ ,0x<. F( x )={ 0,<x<0, 1 e x/θ ,0x<.

The p.d.f. and distribution function are graphed in the Figure 3 for θ θ =5.

Figure 3: The p.d.f. and c.d.f. graphs of the exponential distriution with θ=5 θ=5 .
 (exp_ex2.gif)

Note That:

For an exponential random variable X, we have that P( X>x )=1F( x )=1( 1 e x/θ )= e x/θ . P( X>x )=1F( x )=1( 1 e x/θ )= e x/θ .

Comments, questions, feedback, criticisms?

Send feedback