Continuous Distributions
Continuous Distributions
Continuous Distributions
2
Lamar University
General Properties of Continuous Random Variables
3
Lamar University
Continuous Probability Distributions
• A
As continuous
the number of values increases variable
random the probabilityhas
of each
an
value decreases. This is so because the sum of all the
uncountably infinite number of values in
probabilities remains 1.
• the
The interval
probability (a,b).
that a continuous variable X
will assume any particular value is zero.
When the number of values approaches infinity (because X
Why?
is continuous) the probability of each value approaches 0.
5
Lamar University
Continuous Probability Distributions
Requirement 2:
The total area under f(x) over the range of possible values must equal 1:
f(x)dx = 1
thus the area under f(x) from a to b must equal 1
Other differences between discrete and continuous probability
distribution functions:
• f(x) gives a measure of the intensity or density of the probability mass
at x and in the "neighborhood" of x for continuous f(x).
6
Lamar University
Continuous Probability Distributions
7
Lamar University
Continuous Probability Distributions
8
Lamar University
Continuous Probability Distributions
9
Lamar University
• To calculate probabilities we define a
probability density function f(x).
Area = 1
P(a<x<b)
a b
10
Lamar University
Uniform Distribution
11
Lamar University
Uniform Distribution
1
f(x) P ( x1 X x2 ) x2 x1
ba
A=1
1/b - a
x
a b
12
Lamar University
Example 7.1
1/80
x
100 120 150 180
13
Lamar University
The Normal Distribution
A bell shaped distribution, symmetrical around m
The normal is certainly the most well known continuous distribution, but
why is it so important?
• The normal distribution occurs naturally - there are many things in
the physical world that are distributed normally, such as:
• The heights or weights of a group of people
• The total annual sales of a company
• The grades of a class of students
• The measurement errors that arise in the performance of an
experiment.
• Certain other random variables can be approximated by a normal
distribution.
• Some random variables that are not even approximately normally
distributed can easily be transformed into normally distributed
random variables.
15
Lamar University
The Normal Distribution
• Many results and analysis techniques that are useful in statistical work
are strictly correct only when the associated random variables are
normally distributed.
• Even if the distributed of the original population is far from normal, the
distribution associated with the sample averages from this population
tends to become normal, under a wide variety of conditions, as the
size of the sample increases.
• The normal distribution is the cornerstone of statistical distribution of
statistical inference, representing the distribution of possible estimates
of a population parameter that may arise from different samples.
• We can see from the formula for the probability density function that a
normal distribution is completely determined once the parameters m
and s 2 are specified.
• All normal distributions have the same bell-shaped curve, but the
location of the mean can change or the variance can change.
16
Lamar University
Normal Distribution
18
Lamar University
Two methods of solving "normal" problems:
1.Computer software
2.Standard normal distribution where m = 0 and s =1
To use the standard normal, we use the z transform:
Z = (X - m)/
Thus, z is distributed according to the standard normal distribution which
has m = 0 and =1.
Standard Normal Random variable = Z = has a mean of m = 0 and a
standard deviation = 1.
Restrictions:
Only when X is normally distributed can we conclude that Z is normally
distributed.
Why does this conversion work?
The shape of the normal curve is completely determined by the standard
deviation.
19
Lamar University
How does the standard deviation affect the shape of f(x)?
= 2
=3
=4
20
Lamar University
Finding Normal Probabilities
21
Lamar University
Solution
E(Z) = 0 V(Z) = 1
22
Lamar University
Example - continued
60 - 60 X m 70 - 60
P(60<X<70) = P( < < )
8 8
= P(0<Z<1.25)
23
Lamar University
Standard normal probabilities have been P(0<Z<z0)
calculated and are provided in a table .
The tabulated probabilities correspond
to the area between Z=0 and some Z = z0 >0
Z=0 Z = z0
z 0 0.1 ……. 0.05 0.06
0.0 0.0000 0.0040 0.0199 0.0239
0.1 0.0398 0.0438 0.0596 0.636
. . . . .
. . . . .
1.0 0.3413 0.3438 0.3531 0.3554
. . . . .
. . . . .
1.2 0.3849 0.3869 ……. 0.3944 0.3962
. . . . . .
. . . . . .
24
Lamar University
Example - continued
60 - 60 X m 70 - 60
P(60<X<70) = P( < < )
8 8 0.3944
0.3944
0.3944
0.3944
= P(0<Z<1.25) = 0.3944 0.3944
0.3944
In this example z0 = 1.25
z 0 0.1 ……. 0.05 0.06
0.0 0.0000 0.0040 0.0199 0.0239
0.1 0.0398 0.0438 0.0596 0.636
. . . . .
. . . . .
1.0 0.3413 0.3438 0.3531 0.3554
. . . . .
. . . . .
1.2 0.3849 0.3869 ……. 0.3944 0.3962
. . . . . .
. . . . . .
25
Lamar University
Example of Normal Distribution
27
Lamar University
• The symmetry of the normal distribution
makes it possible to calculate probabilities for
negative values of Z using the table as
follows:
-z0 0 +z0
P(-z0<Z<0) = P(0<Z<z0)
28
Lamar University
Example 7.2
Determine the following probabilities:
P(Z>1.47) = ?
0 1.47
29
Lamar University
P(-2.25<Z<1.85) = ?
30
Lamar University
P(.65<Z<1.36) = ?
P(0<Z<1.36) = .4131
P(0<Z<.65) = .2422
0
.65 1.36
31
Lamar University
Example 7.3
• The rate of return (X) on an investment is
normally distributed with mean of 30% and
standard deviation of 10%
• What is the probability that the return will
exceed 55%?
55 - 30
P(X>55) = P(Z> ) = P(Z>2.5)
10
=.5 - P(0<Z<2.5) = .5 - .4938 = .0062
m = 30% X = 55%
0 Z =2.5
32
Lamar University
• What is the probability that the return
will be less than 22%?
22% 30%
22 - 30
P(X<22) = P(Z< ) = P(Z< - .8) -.8 0 .8
10
=P(Z>.8) = 0.5 - P(0<Z<.8) = 0.5 - .2881 = .2119
33
Lamar University
Example 7.4
• If Z is a standard normal variable, determine
the value z for which P(Z<z) = .6331.
0.6331
0 z z = .34
.5 .1331
34
Lamar University
Example 7.5
– Determine z.025
• Solution
– zA is defined as the z value for which the
area to the right of zA under the standard
normal curve is A.
0.475
0.025 0.025
35
Lamar University
Approximating the binomial distribution with the normal
36
Lamar University
Approximating the binomial distribution with the normal
Example:
Consider a binomial with:
n = 20
p = .5
We approximate the binomial probabilities by using the normal
distribution with:
m = np = (20)(.5) = 10
s 2 = npq = (20)(.5)(.5) = 5
s = 2.24
Let X denote the binomial random variable and let Y denote the normal
random variable.
The binomial probability P(X = 10) represented by the height of the line
above x = 10 in the graph (figure 7.15), is equal to the area of the
rectangle erected above the interval from 9.5 to 10.5.
38
Lamar University
Approximating the binomial distribution with the normal
This area (or probability) is approximated by the area under the normal
curve between 9.5 and 10.5.
This relationship is expressed as:
P(X = 10) = P(9.5 < Y < 10.5)
The .5 that is added to and subtracted from 10 is called the continuity
correction factor; it corrects for the fact that we are using a continuous
distribution to approximate a discrete distribution.
To check the accuracy of this particular approximation, we can use the
binomial tables to obtain:
P(X = 10) = .176
The normal approximation is:
P(9.5 < Y < 10.5) = P(9.5 - 10 / 2.24 < Z < 10.5 - 10 / 2.24)
P(9.5 < Y < 10.5) = P(-.22 < Z < .22)
P(9.5 < Y < 10.5) = 2(.0871) = .1742
39
Lamar University
Approximating the binomial distribution with the normal
The approximation for any other value of X would proceed in the same
manner.
In general, the binomial probability P(X = xo) is approximated by the area
under the normal curve between (xo - .5) and (xo + .5).
Suppose, with the present example, that we want to approximate the
binomial probability P(5 < X < 12).
This probability would be approximated by the area under the normal curve
between 4.5 and 12.5.
P(5 < X < 12) = P(4.5 < Y < 12.5)
P(5 < X < 12) = P(4.5 - 10 / 2.24 < Z < 12.5 - 10 / 2.24)
P(5 < X < 12) = P(-2.46 < Z < 1.12)
P(5 < X < 12) = P(0 < Z < 2.46) + P(0 < Z < 1.12)
P(5 < X < 12) = .4931 + .3686 = .8617
As a check, the binomial table yields:
40
P(5 < X <Lamar University
12) = .862
Approximating the binomial distribution with the normal
41
Lamar University
Exponential Distribution
The exponential distribution can be used to measure the time that elapses
between occurrences of an event.
Example:The exponential distribution can be used to model the length of
time before the first telephone call is received or the length of time between
arrivals at a service station.
Probability density function:
f(x) = e-x,
where:
x>0
e = 2.71
= parameter of the distribution ( > 0)
The exponential distribution is a one dimensional distribution: the
distribution is completely specified once the value of the parameter is
known.
43
Lamar University
Exponential
2.5
f(x) = 2e-2x
2
Exponential f(x) = 1e-1x
distribution for 1.5
f(x) = .5e-.5x
= .5, 1, 2 1
0.5
0
0 1 2 3 4 5
44
Lamar University
Exponential Example 1
45
Lamar University
Exponential Example 2
1.5
0.5
P(a<x<b) = e-a - e-b
0
a b
46
Lamar University
Exponential Example 2
48
Lamar University
• The sample variance s2 is an unbiased,
consistent and efficient point estimator
for 2.
(n 1) s 2
• The statistic 2 has a
distribution called Chi-squared, if the
population is normally distributed.
d.f. = 1
d.f. = 5 d.f. = 10
49
Lamar University
Student t Distribution
50
Lamar University
ZZZt t t
Z x m ttt x m
Z
Z t t t t tt t
n s ss ss n
sssss
When the sampled population is normally distributed,
the statistic t is Student t distributed.
The “degrees of freedom”, The t distribution is mound-shaped,
a function of the sample size and symmetrical around zero.
determines how spread the
distribution is (compared to the d.f. = n2
normal distribution)
d.f. = n1
n1 < n2
0
51
Lamar University
Probability Calculations For The t Distribution
52
Lamar University
A = .05
tA
Degrees of Freedom t.100 t.05 t.025 t.01 t.005
1 3.078 6.314 12.706 31.821 63.657
2 1.886 2.92 4.303 6.965 9.925
. . . . . .
. . . . . .
20 1.325 1.725 2.086 2.528 2.845
. . . . . .
. . . . . .
200 1.286 1.653 1.972 2.345 2.601
1.282 1.645 1.96 2.326 2.576
53
Lamar University
Student t Distribution
54
Lamar University
The F Distribution
55
Lamar University
The F Distribution
56
Lamar University
Gamma Distribution
57
Lamar University
Weibull Distribution
58
Lamar University
Lognormal Distribution
59
Lamar University
Normal Example 1
4.9 The length of a drive shaft is made up of three parts, A, B, and C. The
lengths (in inches) of A, B, and C are statistically and normally distributed
with the following means and variances.
m 2
A 3 0.0025
B 4 0.0049
C 5 0.0036
What is the probability that the total length, Y=A+B+C, will exceed 12.2
inches?
Application of additive property of the normal distribution:
my = 3 + 5 + 4 = 12
2y = .0025 + .0049 + .0036 = .011
60
Lamar University
Normal Example 1
y = .10488
Z = (X - my)/ y = (12.2 - 12)/.10488 = 1.9069
P(Z < 1.9069) = .9717
P(Y > 12.2) = .0283
61
Lamar University
Normal Example 2
62
Lamar University
Normal Example 2
63
Lamar University
Normal Example 2
x0 45,000
P Z 0 .45 P 1.645 Z 0
4,000
x0 45,000
1.645
4,000
x0 45,000 4,0001.645 38,420
The warranty life should be set at 38,420 miles (or less).
64
Lamar University
Exponential Example 3
65
Lamar University
Exponential Example 3
P(X>1) P X 1 e 2 1
0.1353
P(X>2)
P X 2 e 2 2
0.0183
P(X<.5)
P X .5 1 P X .5
1 .3679
.6321
P(X<.4) P X .4 1 P X .4
1 .4493
.5507
66
Lamar University
Exponential Example 4
67
Lamar University
Exponential Example 4
1 1
m
2
Pm 1.2 X m 1.2 P .05 X .55
P0 X .55
P X 0 P X .55
1 .1108
.8892
68
Lamar University
Exponential Example 4
69
Lamar University
Exponential Example 4
1 1
P X 1 P X
1
1 e
1
1 e
.6321
70
Lamar University
Exponential Example 5
71
Lamar University
Exponential Example 5
a) Let T be the time in minutes before the next arrival. Then T is
exponentially distributed with:
1
.2
5
P T 5 1 e
.2 5
1 e 1
.63
b)
.2 30
P T 30 e
e 6
.0025
72
Lamar University
Exponential Example 5
c) If X is the number of arrivals during a 30-minute period, then X is a
Poisson random variable with
m 30.2 6
P X 1 .017
73
Lamar University