# Connexions

You are here: Home » Content » Introduction to Statistics » CONTINUOUS DISTRIBUTION

### Lenses

What is a lens?

#### Definition of a lens

##### Lenses

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

##### What is in a lens?

Lens makers point to 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 member, a community, or a respected organization.

##### What are tags?

Tags are descriptors added by lens makers to help label content, attaching a vocabulary that is meaningful in the context of the lens.

#### In these lenses

• Statistics

This collection is included inLens: Mathieu Plourde's Lens
By: Mathieu Plourde

Click the "Statistics" link to see all content selected in this lens.

### Recently Viewed

This feature requires Javascript to be enabled.

Inside Collection (Course):

Course by: Ewa Paszek. E-mail the author

# CONTINUOUS DISTRIBUTION

Module by: Ewa Paszek. E-mail the author

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.

## CONTINUOUS DISTRIBUTION

### RANDOM VARIABLES OF THE CONTINUOUS TYPE

Random variables whose spaces are not composed of a countable number of points but are intervals or a union of intervals are said to be of the continuous type. Recall that the relative frequency histogram h( x ) h( x ) associated with n observations of a random variable of that type is a nonnegative function defined so that the total area between its graph and the x axis equals one. In addition, h( x ) h( x ) is constructed so that the integral

a b h(x)dx a b h(x)dx
(1)

is an estimate of the probability P( a<X<b ) P( a<X<b ) , where the interval ( a,b ) ( a,b ) is a subset of the space R of the random variable X.

Let now consider what happens to the function h( x ) h( x ) in the limit, as n increases without bound and as the lengths of the class intervals decrease to zero. It is to be hoped that h( x ) h( x ) will become closer and closer to some function, say f( x ) f( x ) , that gives the true probabilities , such as P( a<X<b ) P( a<X<b ) , through the integral

P( a<X<b )= a b f(x)dx. P( a<X<b )= a b f(x)dx.
(2)
Definition 1: PROBABILITY DENSITY FUNCTION
1. Function f(x) is a nonnegative function such that the total area between its graph and the x axis equals one.
2. The probability P( a<X<b ) P( a<X<b ) is the area bounded by the graph of f( x ) f( x ) , the x axis, and the lines x=a x=a and x=b x=b .
3. We say that the probability density function (p.d.f.) of the random variable X of the continuous type, with space R that is an interval or union of intervals, is an integrable function f( x ) f( x ) satisfying the following conditions:
• f( x )>0 f( x )>0 , x belongs to R,
• R f(x)dx =1, R f(x)dx =1,
• The probability of the event A belongs to R is P( X )A A f(x)dx. P( X )A A f(x)dx.

#### Example 1

Let the random variable X be the distance in feet between bad records on a used computer tape. Suppose that a reasonable probability model for X is given by the p.d.f.

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

##### Note That:
R=( x:0x< ) R=( x:0x< ) and f( x ) f( x ) for x belonging to R, R f( x ) dx= 0 1 40 e x/40 dx= lim b [ e x/40 ] 0 b =1 lim b e b/40 =1. R f( x ) dx= 0 1 40 e x/40 dx= lim b [ e x/40 ] 0 b =1 lim b e b/40 =1.

The probability that the distance between bad records is greater than 40 feet is

P( X>40 )= 40 1 40 e x/40 dx= e 1 =0.368. P( X>40 )= 40 1 40 e x/40 dx= e 1 =0.368.

The p.d.f. and the probability of interest are depicted in FIG.1.

We can avoid repeated references to the space R of the random variable X, one shall adopt the same convention when describing probability density function of the continuous type as was in the discrete case.

Let extend the definition of the p.d.f. f( x ) f( x ) to the entire set of real numbers by letting it equal zero when, x belongs to R. For example,

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

has the properties of a p.d.f. of a continuous-type random variable x having support ( x:0x< ) ( x:0x< ) . It will always be understood that f(x)=0 f(x)=0 , when x belongs to R, even when this is not explicitly written out.

Definition 2: PROBABILITY DENSITY FUNCTION
1. The distribution function of a random variable X of the continuous type, is defined in terms of the p.d.f. of X, and is given by F( x )=P( Xx )= x f( t )dt. F( x )=P( Xx )= x f( t )dt.
2. For the fundamental theorem of calculus we have, for x values for which the derivative F'( x ) F'( x ) exists, that F’(x)=f(x).

#### Example 2

continuing with Example 1

If the p.d.f. of X is

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

The distribution function of X is F( x )=0 F( x )=0 for x0 x0

F( x )= x f( t )dt= 0 x 1 40 e t/40 dt= e t/40 | 0 x =1 e x/40 . F( x )= x f( t )dt= 0 x 1 40 e t/40 dt= e t/40 | 0 x =1 e x/40 .

##### Note That:
F( x )={ 0,<x<0, 1 40 e x/40 ,0<x<. F( x )={ 0,<x<0, 1 40 e x/40 ,0<x<.

Also F'( 0 ) F'( 0 ) does not exist. Since there are no steps or jumps in a distribution function F( x ) F( x ) , of the continuous type, it must be true that P( X=b )=0 P( X=b )=0 for all real values of b. This agrees with the fact that the integral

a b f( x )dx a b f( x )dx is taken to be zero in calculus. Thus we see that P( aXb )=P( a<X<b )=P( aX<b )=P( a<Xb )=F( b )F( a ), P( aXb )=P( a<X<b )=P( aX<b )=P( a<Xb )=F( b )F( a ), provided that X is a random variable of the continuous type. Moreover, we can change the definition of a p.d.f. of a random variable of the continuous type at a finite (actually countable) number of points without alerting the distribution of probability.

For illustration, f( x )={ 0,<x<0, 1 40 e x/40 ,0x<, f( x )={ 0,<x<0, 1 40 e x/40 ,0x<, and f( x )={ 0,<x0, 1 40 e x/40 ,0<x<, f( x )={ 0,<x0, 1 40 e x/40 ,0<x<,

are equivalent in the computation of probabilities involving this random variable.

#### Example 3

Let Y be a continuous random variable with the p.d.f. g( y )=2y g( y )=2y , 0<y<1 0<y<1 . The distribution function of Y is defined by

G( y )=( 0,y<0, 1,y1, 0 y 2tdt= y 2 ,0y<1. G( y )=( 0,y<0, 1,y1, 0 y 2tdt= y 2 ,0y<1.

Figure 2 gives the graph of the p.d.f. g( y ) g( y ) and the graph of the distribution function G( y ) G( y ) .

For illustration of computations of probabilities, consider

P( 1 2 <Y 3 4 )=G( 3 4 )G( 1 2 )= ( 3 4 ) 2 ( 1 2 ) 2 = 5 16 P( 1 2 <Y 3 4 )=G( 3 4 )G( 1 2 )= ( 3 4 ) 2 ( 1 2 ) 2 = 5 16

and P( 1 4 Y<2 )=G( 2 )G( 1 4 )=1 ( 1 4 ) 2 = 15 16 . P( 1 4 Y<2 )=G( 2 )G( 1 4 )=1 ( 1 4 ) 2 = 15 16 .

##### Recall That:
The p.d.f. f( x ) f( x ) of a random variable of the discrete type is bounded by one because f( x ) f( x ) gives a probability, namely f( x )=P( X=x ) f( x )=P( X=x ) .

For random variables of the continuous type, the p.d.f. does not have to be bounded. The restriction is that the area between the p.d.f. and the x axis must equal one. Furthermore, it should be noted that the p.d.f. of a random variable X of the continuous type does not need to be a continuous function.

For example,

f( x )={ 1 2, 0<x<1or2<x<3, 0,elsewhere, f( x )={ 1 2, 0<x<1or2<x<3, 0,elsewhere,

enjoys the properties of a p.d.f. of a distribution of the continuous type, and yet f( x ) f( x ) had discontinuities at x=0,1,2, x=0,1,2, and 3. However, the distribution function associates with a distribution of the continuous type is always a continuous function. For continuous type random variables, the definitions associated with mathematical expectation are the same as those in the discrete case except that integrals replace summations.

FOR ILLUSTRATION, let X be a random variable with a p.d.f. f( x ) f( x ) . The expected value of X or mean of X is

μ=E( X )= xf( x )dx. μ=E( X )= xf( x )dx. The variance of X is σ 2 =Var( X )= ( xμ ) 2 f( x )dx. σ 2 =Var( X )= ( xμ ) 2 f( x )dx.

The standard deviation of X is σ= Var( X ) . σ= Var( X ) .

##### Example 4

For the random variable Y in the Example 3.

μ=E( Y )= 0 1 y( 2y )dy= [ ( 2 3 y 3 ) ] 0 1 = 2 3 μ=E( Y )= 0 1 y( 2y )dy= [ ( 2 3 y 3 ) ] 0 1 = 2 3 and

σ 2 =Var( Y )=E( Y 2 ) μ 2 = 0 1 y 2 ( 2y )dy ( 2 3 ) 2 = [ ( 1 2 y 4 ) ] 0 1 4 9 = 1 18 . σ 2 =Var( Y )=E( Y 2 ) μ 2 = 0 1 y 2 ( 2y )dy ( 2 3 ) 2 = [ ( 1 2 y 4 ) ] 0 1 4 9 = 1 18 .

## Content actions

PDF | EPUB (?)

### What is an EPUB file?

EPUB is an electronic book format that can be read on a variety of mobile devices.

PDF | EPUB (?)

### What is an EPUB file?

EPUB is an electronic book format that can be read on a variety of mobile devices.

#### Collection to:

My Favorites (?)

'My Favorites' is a special kind of lens which you can use to bookmark modules and collections. 'My Favorites' can only be seen by you, and collections saved in 'My Favorites' can remember the last module you were on. You need an account to use 'My Favorites'.

| A lens I own (?)

#### Definition of a lens

##### Lenses

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

##### What is in a lens?

Lens makers point to 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 member, a community, or a respected organization.

##### What are tags?

Tags are descriptors added by lens makers to help label content, attaching a vocabulary that is meaningful in the context of the lens.

| External bookmarks

#### Module to:

My Favorites (?)

'My Favorites' is a special kind of lens which you can use to bookmark modules and collections. 'My Favorites' can only be seen by you, and collections saved in 'My Favorites' can remember the last module you were on. You need an account to use 'My Favorites'.

| A lens I own (?)

#### Definition of a lens

##### Lenses

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

##### What is in a lens?

Lens makers point to 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 member, a community, or a respected organization.

##### What are tags?

Tags are descriptors added by lens makers to help label content, attaching a vocabulary that is meaningful in the context of the lens.

| External bookmarks