Session 4
Session 4
3
Probability Distributions for Continuous Random Variables
The outline of the histogram will change slightly, for the most
part becoming less and less irregular, as shown in figure.
• As the number of measurements becomes very large and the class widths become very narrow, the
relative frequency histogram appears more and more like the smooth curve shown in Figure 6.1(d).
This smooth curve describes the probability distribution of the continuous random variable.
4
Probability Distributions for Continuous Random Variables
The depth or density of the probability, which varies with x, may be described by a
mathematical formula f (x), called the probability distribution or probability density
function for the random variable x.
• The probability that x will fall into a particular interval—say, from a to b—is equal
to the area under the curve between the two points a and b.
5
The Continuous Uniform Probability Distribution
6
The Continuous Uniform Probability Distribution
7
The Continuous Uniform Probability Distribution
8
Example 6.1
The error introduced by rounding an observation to the
nearest inch has a uniform distribution over the interval from
−.5 to .5. What is the probability that the rounding error is
less than .2 in absolute value?
Figure 6.4
9
Example 6.1 – Solution
This probability corresponds to the area under the distribution
between x = −.2 and x = .2, as shown in Figure 6.4. Since the
height of the rectangle is 1, the area of the rectangle from −.2
< x < .2 is:
10
The Exponential Probability Distribution
so that μ = σ.
11
The Exponential Probability Distribution
To find areas under this curve, you can use the fact that
to calculate right-tailed probabilities.
The left-tailed probabilities can be calculated using the
complement rule as
12
Example 6.2
The waiting time at a supermarket checkout counter has an
exponential distribution with an average waiting time of 5
minutes. What is the probability that you will have to wait
more than 10 minutes at the checkout counter?
Figure 6.6
13
Example 6.2 – Solution
Since the average waiting time at the checkout counter is
μ = 5 minutes and because μ = 1/λ, we can find 5 = 1/λ or
λ = .2.
14
The Normal Probability Distribution
15
The Normal Probability Distribution
16
The Normal Probability Distribution
Figure 6.7
17
The Normal Probability Distribution
18
The Normal Probability Distribution
The shape of the distribution is determined by σ, the population
standard deviation. Figure shows three normal probability distributions
with different means and standard deviations.
19
The Standard Normal Random Variable (1 of 5)
or equivalently,
x = μ + zσ
20
The Standard Normal Random Variable (2 of 5)
21
The Standard Normal Random Variable (3 of 5)
22
Example 6.5
Find P(−.5 ≤ z ≤ 1.0). This probability is the area between
z = −.5 and z = 1.0, as shown in Figure.
23
Example 6.5 – Solution
To find the area marked A2, we subtract the two entries:
24
Example 6.6
Find the probability that a normally distributed random
variable will fall within these ranges:
25
Example 6.6
1. Since the standard normal random variable z measures
the distance from the mean in units of standard
deviations, you need to find
26
Example 6.7
Find the value of z—say c—such that .95 of the area is
within ±c standard deviations of the mean.
27
Example 6.7 – Solution
The shaded area in figure is the area within ± c standard
deviations of the mean, which needs to be equal to .95.
Figure 6.13
28
Example 6.7 – Solution
The “tail areas” under the curve are not shaded, and have
a combined area of 1 − .95 = .05.
29
Example 6.7 – Solution
This area can be calculated with the inverse of the
Cumulative Distribution Function, which for each A,
calculates the value of Z.
30
Example 6.8
Let x be a normally distributed random variable with a mean
of 10 and a standard deviation of 2. Find the probability that
x lies between 11 and 13.6.
Solution:
Consider the inequality 11 ≤ x ≤ 13.6. As long as we subtract
the same number across the inequality or multiply/divide by
the same positive number, the inequality will remain the
same.
31
Example 6.8 – Solution
For this interval
11 ≤ x ≤ 13.6
11 − 10 ≤ x − 10 ≤ 13.6 − 10
.5 ≤ z ≤ 1.8
32
Example 6.8 – Solution
The desired probability is therefore
P(11 ≤ x ≤ 13.6) = P(.5 ≤ z ≤ 1.8),
Figure 6.14
33
The Normal Approximation to the Binomial Probability Distribution
34
The Normal Approximation to the Binomial Probability Distribution
35
The Normal Approximation to the Binomial Probability Distribution
The binomial probability distribution for n = 25 The binomial probability distribution and the
and p = .5 and the approximating normal approximating normal distribution for n = 25
distribution with μ = 12.5 and σ = 2.5 and p = .1
Figure 6.17 Figure 6.18
36
Example 6.11 – Solution
To use the normal approximation, first find the appropriate
mean and standard deviation for the normal curve:
37
Example 6.11
Use the normal curve to approximate the probability that x
= 8, 9, or 10 for a binomial random variable with n = 25 and
p = .5. Compare this approximation to the exact binomial
probability.
Solution:
38
Example 6.11 – Solution
This area is shaded in figure.
39
The Normal Approximation to the Binomial Probability Distribution (5 of 7)
Rule of Thumb
The normal approximation to the binomial probabilities
will be adequate if both
np > 5 and nq > 5 np>5 and nq>5 means that curve is symmetrical
normal approximation is always symmetrical
40
References – Additional Readings
• Chapters 6, “Introduction to Probability and Statistics”, 2020, William Mendenhall, Robert J.
Beaver, Barbara M. Beaver, 15TH Edition, Cengage Learning, ISBN: 1337554421
•.