Continuous Distribution
Continuous Distribution
Distributions
Copyright © 2017, 2014, 2011 Pearson Education, Inc. All Rights Reserved Slide - 1
Continuous Probability Distributions
• A continuous variable is a variable that can
assume any value on a continuum (can assume
an uncountable number of values):
– thickness of an item.
– time required to complete a task.
– temperature of a solution.
– height, in inches.
• These can potentially take on any value
depending only on the ability to precisely and
accurately measure.
Copyright © 2017, 2014, 2011 Pearson Education, Inc. All Rights Reserved Slide - 2
Continuous Probability Distributions
Vary by Shape
Copyright © 2017, 2014, 2011 Pearson Education, Inc. All Rights Reserved Slide - 3
The Uniform Distribution
• The uniform distribution is a probability
distribution that has equal probabilities for
all possible outcomes of the random
variable.
• Also called a rectangular distribution.
Copyright © 2017, 2014, 2011 Pearson Education, Inc. All Rights Reserved Slide - 4
The Uniform Distribution
The Continuous Uniform Distribution:
1
b a if a X b
f ( X )
0 otherwise
where
Copyright © 2017, 2014, 2011 Pearson Education, Inc. All Rights Reserved Slide - 5
Properties of the Uniform Distribution
• The mean of a uniform distribution is:
a b
2
(b a ) 2
12
Copyright © 2017, 2014, 2011 Pearson Education, Inc. All Rights Reserved Slide - 6
Uniform Distribution Example 1
Example: Uniform probability distribution over the
range 2 X 6 :
1
f X 0.25 for 2 X 6
6 2
a b 2 6
4
2 2
(b a ) 2
12
(6 2) 2
1.1547
12
Copyright © 2017, 2014, 2011 Pearson Education, Inc. All Rights Reserved Slide - 7
Uniform Distribution Example 2
Example: Using the uniform probability distribution
to find P 3 X 5 :
Copyright © 2017, 2014, 2011 Pearson Education, Inc. All Rights Reserved Slide - 8
Problem
Copyright © 2017, 2014, 2011 Pearson Education, Inc. All Rights Reserved Slide - 9
Solution
Copyright © 2017, 2014, 2011 Pearson Education, Inc. All Rights Reserved Slide - 10
Montecarlo Approximation of Pi
Copyright © 2017, 2014, 2011 Pearson Education, Inc. All Rights Reserved Slide - 11
Montecarlo Approximation of Pi
Copyright © 2017, 2014, 2011 Pearson Education, Inc. All Rights Reserved Slide - 12
The Exponential Distribution
• Often used to model the length of time between
two occurrences of an event (the time between
arrivals).
– Examples:
▪ Time between trucks arriving at an unloading dock.
▪ Time between transactions at an ATM Machine.
▪ Time between phone calls to the main operator.
Copyright © 2017, 2014, 2011 Pearson Education, Inc. All Rights Reserved Slide - 13
The Exponential Distribution
• Defined by a single parameter, its mean
(lambda).
• Exponential Probability Density Function:
Copyright © 2017, 2014, 2011 Pearson Education, Inc. All Rights Reserved Slide - 15
Exponential Distribution Example
Customers arrive at the service counter at the rate of 20 per
hour. What is the probability that the arrival time between
consecutive customers is less than six minutes?
• The mean number of arrivals per hour is 20, so 20.
• Six minutes is 0.10 hours.
P arrival time 0.1 1 e X 1 e 0.8647.
20 0.10
•
• So there is a 86.47% chance that the arrival time between
successive customers is less than six minutes.
Copyright © 2017, 2014, 2011 Pearson Education, Inc. All Rights Reserved Slide - 16
The Exponential Distribution in Excel
Example: Customers arrive at the service counter at the rate
of 20 per hour. What is the probability that the arrival time
between consecutive customers is less than six minutes?
Copyright © 2017, 2014, 2011 Pearson Education, Inc. All Rights Reserved Slide - 17
Problem
Copyright © 2017, 2014, 2011 Pearson Education, Inc. All Rights Reserved Slide - 18
Solution
Copyright © 2017, 2014, 2011 Pearson Education, Inc. All Rights Reserved Slide - 19
The Normal Distribution
• Bell Shaped.
• Symmetrical. .
• Mean, Median and Mode are
Equal.
Location is determined by the
mean, μ.
Spread is determined by the
standard deviation, σ.
The random variable has an
infinite theoretical range: to .
Copyright © 2017, 2014, 2011 Pearson Education, Inc. All Rights Reserved Slide - 20
The Normal Distribution Density
Function
• The formula for the normal probability density function is:
2
1 ( X )
1
2
f (X ) e
2
Where
e = the mathematical constant approximated by 2.71828
π = the mathematical constant approximated by 3.14159
μ = the population mean
σ = the population standard deviation
x = any value of the continuous variable
Copyright © 2017, 2014, 2011 Pearson Education, Inc. All Rights Reserved Slide - 21
The Normal Distribution Shape
Copyright © 2017, 2014, 2011 Pearson Education, Inc. All Rights Reserved Slide - 22
The Standardized Normal
• Any normal distribution (with any mean and
standard deviation combination) can be
transformed into the standardized normal
distribution (Z).
• To compute normal probabilities need to transform
X units into Z units.
• The standardized normal distribution (Z) has a
mean of 0 and a standard deviation of 1.
Copyright © 2017, 2014, 2011 Pearson Education, Inc. All Rights Reserved Slide - 23
By Varying the Parameters μ and σ, We
Obtain Different Normal Distributions
Copyright © 2017, 2014, 2011 Pearson Education, Inc. All Rights Reserved Slide - 25
The Standardized Normal Probability
Density Function
• The formula for the standardized normal
probability density function is:
1
1 Z2
f (Z ) e 2
2
Copyright © 2017, 2014, 2011 Pearson Education, Inc. All Rights Reserved Slide - 26
The Standardized Normal Distribution
• Also known as the “Z” distribution.
• Mean is 0.
• Standard Deviation is 1.
X $200 $100
Z 2.0
$50
• This says that X = $200 is two standard deviations
(2 increments of $50 units) above the mean of
$100.
Copyright © 2017, 2014, 2011 Pearson Education, Inc. All Rights Reserved Slide - 28
Comparing X and Z units
Note that the shape of the distribution is the same, only the
scale has changed. We can express the problem in the
original units (X in dollars) or in standardized units (Z).
Copyright © 2017, 2014, 2011 Pearson Education, Inc. All Rights Reserved Slide - 29
Finding Normal Probabilities
Probability is measured by the area under the curve.
Copyright © 2017, 2014, 2011 Pearson Education, Inc. All Rights Reserved Slide - 30
Probability as Area Under the Curve
The total area under the curve is 1.0, and the curve is
symmetric, so half is above the mean, half is below.
Copyright © 2017, 2014, 2011 Pearson Education, Inc. All Rights Reserved Slide - 31
The Standardized Normal Table (1 of 2)
The Cumulative Standardized Normal table in the
textbook (Appendix table E.2) gives the probability
less than a desired value of Z (i.e., from negative
infinity to Z).
Example:
P Z 2.00 0.9772
Copyright © 2017, 2014, 2011 Pearson Education, Inc. All Rights Reserved Slide - 32
The Standardized Normal Table
P Z 2.00 0.9772
Copyright © 2017, 2014, 2011 Pearson Education, Inc. All Rights Reserved Slide - 33
General Procedure for Finding
Normal Probabilities
To find P a X b when X is distributed
normally:
• Draw the normal curve for the problem in terms of
X.
• Translate X-values to Z-values.
• Use the Standardized Normal Table.
Copyright © 2017, 2014, 2011 Pearson Education, Inc. All Rights Reserved Slide - 34
Finding Normal Probabilities
• Let X represent the time it takes (in seconds) to
download an image file from the internet.
• Suppose X is normal with a mean of 18.0 seconds
and a standard deviation of 5.0 seconds.
Find P X 18.6 .
Copyright © 2017, 2014, 2011 Pearson Education, Inc. All Rights Reserved Slide - 35
Finding Normal Probabilities
• Let X represent the time it takes, in seconds to download an image file from
the internet.
• Suppose X is normal with a mean of 18.0 seconds and a standard deviation of
5.0 seconds. Find P X 18.6 :
X 18.6 18.0
Z 0.12
5.0
Copyright © 2017, 2014, 2011 Pearson Education, Inc. All Rights Reserved Slide - 36
Solution: Finding P of Start Expression Z
Is Less Than 0.12 End Expression
Standardized Normal
Probability Table (Portion)
Copyright © 2017, 2014, 2011 Pearson Education, Inc. All Rights Reserved Slide - 37
Finding Normal Upper Tail
Probabilities
• Suppose X is normal with mean 18.0 and
standard deviation 5.0.
• Now Find P X 18.6 .
Copyright © 2017, 2014, 2011 Pearson Education, Inc. All Rights Reserved Slide - 38
Finding Normal Upper Tail
Probabilities
• Now Find P X 18.6 .
P X 18.6 P Z 0.12 1.0 P Z 0.12
1.0 0.5478 0.4522
Copyright © 2017, 2014, 2011 Pearson Education, Inc. All Rights Reserved Slide - 39
Finding a Normal Probability Between
Two Values
• Suppose X is normal with mean 18.0 and
standard deviation 5.0. Find P 18 X 18.6 .
Calculate Z-values:
X 18 18
Z 0
5
X 18.6 18
Z 0.12
5
Copyright © 2017, 2014, 2011 Pearson Education, Inc. All Rights Reserved Slide - 40
Solution
Standardized Normal P 18 X 18.6
Probability Table (Portion) P (0 Z 0.12)
P ( Z 0.12) – P Z 0
0.5478 0.5000 0.0478
Copyright © 2017, 2014, 2011 Pearson Education, Inc. All Rights Reserved Slide - 41
Probabilities in the Lower Tail
• Suppose X is normal with mean 18.0 and
standard deviation 5.0.
• Now Find P 17.4 X 18 .
Copyright © 2017, 2014, 2011 Pearson Education, Inc. All Rights Reserved Slide - 42
Probabilities in the Lower Tail
Now Find P 17.4 X 18 :
P 17.4 X 18
P 0.12 Z 0
P Z 0 – P Z 0.12
0.5000 0.4522 0.0478
Copyright © 2017, 2014, 2011 Pearson Education, Inc. All Rights Reserved Slide - 44
The Empirical Rule
• 2 covers about 95.44% of X’s.
• 3 covers about 99.73% of X’s.
Copyright © 2017, 2014, 2011 Pearson Education, Inc. All Rights Reserved Slide - 45
Three-Sigma Limits
Copyright © 2017, 2014, 2011 Pearson Education, Inc. All Rights Reserved Slide - 46
Control Chart
Copyright © 2017, 2014, 2011 Pearson Education, Inc. All Rights Reserved Slide - 47
Given a Normal Probability Find the x
Value
• Steps to find the X value for a known
probability:
1. Find the Z value for the known probability.
2. Convert to X units using the formula:
X Z
Copyright © 2017, 2014, 2011 Pearson Education, Inc. All Rights Reserved Slide - 48
Finding the x Value for a Known
Probability
Example:
• Let X represent the time it
takes (in seconds) to
download an image file from
the internet.
• Suppose X is normal with
mean 18.0 and standard
deviation 5.0.
• Find x such that 20% of
download times are less
than x.
Copyright © 2017, 2014, 2011 Pearson Education, Inc. All Rights Reserved Slide - 49
Find the Z Value for 20% in the Lower
Tail
1. Find the Z value for the known probability
Standardized Normal • 20% area in the lower
Probability Table (Portion) tail is consistent with a
Z value of −0.84.
Copyright © 2017, 2014, 2011 Pearson Education, Inc. All Rights Reserved Slide - 50
Finding the X value
2. Convert to X units using the formula:
X Z
18.0 ( 0.84)5.0
13.8
So 20% of the values from a distribution with mean 18.0 and
standard deviation 5.0 are less than 13.80.
Copyright © 2017, 2014, 2011 Pearson Education, Inc. All Rights Reserved Slide - 51
Using Excel to Find Normal
Probabilities
X is normal with a mean of 7 and a standard deviation of 2 find:
• P X 7 • P 5 X 9
• P X 9 • X L where P( X X L ) 10%
• P X 7 or X 9 • X L & X U where P ( X L X X U ) 95%
Copyright © 2017, 2014, 2011 Pearson Education, Inc. All Rights Reserved Slide - 52
Evaluating Normality
• Not all continuous distributions are normal.
• It is important to evaluate how well the data set is
approximated by a normal distribution.
• Normally distributed data should approximate the
theoretical normal distribution:
– The normal distribution is bell shaped (symmetrical)
where the mean is equal to the median.
– The empirical rule applies to the normal distribution.
– The interquartile range of a normal distribution is 1.33
standard deviations.
Copyright © 2017, 2014, 2011 Pearson Education, Inc. All Rights Reserved Slide - 53
Problem
Copyright © 2017, 2014, 2011 Pearson Education, Inc. All Rights Reserved Slide - 54
Solution
Copyright © 2017, 2014, 2011 Pearson Education, Inc. All Rights Reserved Slide - 55
Problem
Copyright © 2017, 2014, 2011 Pearson Education, Inc. All Rights Reserved Slide - 56
Normal Approximation to the
Binomial Distribution
• The binomial distribution is a discrete distribution,
but the normal is continuous.
• To use the normal to approximate the binomial,
accuracy is improved if you use a correction for
continuity adjustment.
• Example:
– X is discrete in a binomial distribution, so P X 4
can be approximated with a continuous normal distribution
by finding
P 3.5 X 4.5 .
Copyright © 2017, 2014, 2011 Pearson Education, Inc. All Rights Reserved Slide - 57
Normal Approximation to the
Binomial Distribution
• The closer is to 0.5, the better the normal
approximation to the binomial.
• The larger the sample size n, the better the
normal approximation to the binomial.
• General rule:
– The normal distribution can be used to approximate the
binomial distribution if
n 5
and
n 1 5.
Copyright © 2017, 2014, 2011 Pearson Education, Inc. All Rights Reserved Slide - 58
Normal Approximation to the
Binomial Distribution
• The mean and standard deviation of the binomial
distribution are:
n
n 1
• Transform binomial to normal using the formula:
X X n
Z
n 1
Copyright © 2017, 2014, 2011 Pearson Education, Inc. All Rights Reserved Slide - 59
Using the Normal Approximation to
the Binomial Distribution
• If n = 1000 and 0.2, what is P X 180 ?
• Approximate P X 180 using a continuity correction
adjustment:
P X 180.5 .
• Transform to standardized normal:
X n 180.5 1000 0.2
Z 1.54
n 1 1000 0.2 1 0.2
• So P Z 1.54 0.0618
Copyright © 2017, 2014, 2011 Pearson Education, Inc. All Rights Reserved Slide - 60
Central Limit Theorem
Copyright © 2017, 2014, 2011 Pearson Education, Inc. All Rights Reserved Slide - 61
Central Limit Theorem
Copyright © 2017, 2014, 2011 Pearson Education, Inc. All Rights Reserved Slide - 62
Central Limit Theorem Example
Copyright © 2017, 2014, 2011 Pearson Education, Inc. All Rights Reserved Slide - 63
Problem 35
Copyright © 2017, 2014, 2011 Pearson Education, Inc. All Rights Reserved Slide - 64
Solution
Copyright © 2017, 2014, 2011 Pearson Education, Inc. All Rights Reserved Slide - 65
Problem 34
Copyright © 2017, 2014, 2011 Pearson Education, Inc. All Rights Reserved Slide - 66
Solution
Copyright © 2017, 2014, 2011 Pearson Education, Inc. All Rights Reserved Slide - 67