Lecture 4-Probability Distributions-FOR UPLOAD (1)
Lecture 4-Probability Distributions-FOR UPLOAD (1)
Probability Distributions
Dr. E. Mujuni & Mr. W. Sanga
Introduction to Probability Distributions Binomial Distribution Normal Distribution
Introduction to Probability
Distributions
Introduction to Probability Distributions Binomial Distribution Normal Distribution
Discrete Continuous
Random Countable values Any value in a range
Variable
Example Number
∑ of heads Height
∫ of students
Sum/ In- P(X = xi ) = 1 f(x)dx = 1
tegral
Introduction to Probability Distributions Binomial Distribution Normal Distribution
Binomial Distribution:
Used in experiments with two possible outcomes
(success/failure).
Example: Estimating the probability of success in
germinating seeds. For instance, if the probability of a
single seed germinating is 0.7, what is the probability that
exactly 8 out of 10 seeds germinate?
Introduction to Probability Distributions Binomial Distribution Normal Distribution
Normal Distribution:
Models natural phenomena like heights, weights, and
measurement errors.
Example: Assume the average systolic blood pressure is
120 mmHg with a standard deviation of 10 mmHg. What
is the probability that a randomly selected individual has a
blood pressure between 110 mmHg and 130 mmHg?
Assume a normal distribution.
Introduction to Probability Distributions Binomial Distribution Normal Distribution
Other Examples:
Poisson (event occurrence): Counting the number of
mutations in a DNA strand within a fixed length.
Uniform (equal probabilities): Measuring the pH levels in a
uniformly mixed solution.
Introduction to Probability Distributions Binomial Distribution Normal Distribution
Binomial Distribution
Introduction to Probability Distributions Binomial Distribution Normal Distribution
Binomial experiment
Example
1 When a coin is tossed, it can land heads or tails.
2 When a baby is born, it will be either male or female.
3 In a basketball game, a team either wins or loses.
4 A true/false item can be answered in only two ways, true
or false
Other situations can be reduced to two outcomes.
For example, a medical treatment can be classified as
effective or ineffective, depending on the results.
A person can be classified as having normal or abnormal
blood pressure, depending on the measure of the blood
pressure gauge
Introduction to Probability Distributions Binomial Distribution Normal Distribution
Binomial Distribution
A binomial distribution is the discrete probability
distribution that gives only two possible results in an
experiment (binomial experiment) either Success or Failure.
Binomial Distribution
A binomial distribution is the discrete probability
distribution that gives only two possible results in an
experiment (binomial experiment) either Success or Failure.
We use:
n for the number of trials.
X for the number of successes in n trials.
Note that 0 ≤ X ≤ n. That is, X = 0, 1, 2, 3, ..., n.
Introduction to Probability Distributions Binomial Distribution Normal Distribution
We use:
n for the number of trials.
X for the number of successes in n trials.
Note that 0 ≤ X ≤ n. That is, X = 0, 1, 2, 3, ..., n.
Introduction to Probability Distributions Binomial Distribution Normal Distribution
We use:
n for the number of trials.
X for the number of successes in n trials.
Note that 0 ≤ X ≤ n. That is, X = 0, 1, 2, 3, ..., n.
Introduction to Probability Distributions Binomial Distribution Normal Distribution
P(X) = b(X; n, p)
is a discrete probability distribution:
X 0 ( )1 (n) 2n−2 2 . . . n
n n n−1
P(X) q 1
q p 2 q p ... pn
Introduction to Probability Distributions Binomial Distribution Normal Distribution
Example
A study found that one out of ten households in Mwenge uses
solar energy as their primary source of electricity. If 12
households are selected at random, find the probability that
exactly 4 of them use solar energy.
Introduction to Probability Distributions Binomial Distribution Normal Distribution
Example
A study found that one out of ten households in Mwenge uses
solar energy as their primary source of electricity. If 12
households are selected at random, find the probability that
exactly 4 of them use solar energy.
Introduction to Probability Distributions Binomial Distribution Normal Distribution
Solution
1 9
= p; P(F) = 1 − P(S) =
P(S) =
10 10
1 9
In this case, n = 12, X = 4, p = 10 , and q = 10 . Hence,
( ) 4 ( )8
12! 1 9
P(4) = · ·
(12 − 4)! 4! 10 10
Performing the calculations, we find:
P(4) = 0.068
Example
A survey conducted in Ifakara shows that 40% of farmers grow
maize as their primary crop. If 8 farmers are selected at
random, find the probability that at least 5 of them grow
maize.
Solution
P(S) = 0.4 = p; P(F) = 1 − P(S) = 0.6
In this case, n = 8, and we need the probability that at
least 5 farmers grow maize. This is equivalent to:
P(at least 5) = P(5) + P(6) + P(7) + P(8)
Introduction to Probability Distributions Binomial Distribution Normal Distribution
Example
A survey conducted in Ifakara shows that 40% of farmers grow
maize as their primary crop. If 8 farmers are selected at
random, find the probability that at least 5 of them grow
maize.
Solution
P(S) = 0.4 = p; P(F) = 1 − P(S) = 0.6
In this case, n = 8, and we need the probability that at
least 5 farmers grow maize. This is equivalent to:
P(at least 5) = P(5) + P(6) + P(7) + P(8)
Introduction to Probability Distributions Binomial Distribution Normal Distribution
Solution, cont...
We calculate each term:
( ) ( )
8 8
P(5) = 5 3
· (0.4) · (0.6) , P(6) = · (0.4)6 · (0.6)2 ,
5 6
( ) ( )
8 8
P(7) = 7 1
· (0.4) · (0.6) , P(8) = · (0.4)8
7 8
Substitute the values:
P(5) = 56 · (0.4)5 · (0.6)3 , P(6) = 28 · (0.4)6 · (0.6)2 ,
Solution, cont...
We calculate each term:
( ) ( )
8 8
P(5) = 5 3
· (0.4) · (0.6) , P(6) = · (0.4)6 · (0.6)2 ,
5 6
( ) ( )
8 8
P(7) = 7 1
· (0.4) · (0.6) , P(8) = · (0.4)8
7 8
Substitute the values:
P(5) = 56 · (0.4)5 · (0.6)3 , P(6) = 28 · (0.4)6 · (0.6)2 ,
Example
A coin is tossed 4 times. Find the mean, variance, and
standard deviation of the number of heads that will be
obtained.
Solution, cont...
Using the formulas for the binomial distribution with
n = 4, p = 12 , and q = 12 , we get:
Mean: µ = n · p = 4 · 1
2
=2
Variance: σ = n · p · q = 4 · 12 · 12 = 1
2
√
Standard Deviation: σ = 1 = 1
From the above example, when four coins are tossed many
times, the average number of heads obtained is 2, and the
standard deviation of the number of heads is 1. These are
theoretical values.
Introduction to Probability Distributions Binomial Distribution Normal Distribution
Example
A coin is tossed 4 times. Find the mean, variance, and
standard deviation of the number of heads that will be
obtained.
Solution, cont...
Using the formulas for the binomial distribution with
n = 4, p = 12 , and q = 12 , we get:
Mean: µ = n · p = 4 · 1
2
=2
Variance: σ = n · p · q = 4 · 12 · 12 = 1
2
√
Standard Deviation: σ = 1 = 1
From the above example, when four coins are tossed many
times, the average number of heads obtained is 2, and the
standard deviation of the number of heads is 1. These are
theoretical values.
Introduction to Probability Distributions Binomial Distribution Normal Distribution
Example
A coin is tossed 4 times. Find the mean, variance, and
standard deviation of the number of heads that will be
obtained.
Solution, cont...
Using the formulas for the binomial distribution with
n = 4, p = 12 , and q = 12 , we get:
Mean: µ = n · p = 4 · 1
2
=2
Variance: σ = n · p · q = 4 · 12 · 12 = 1
2
√
Standard Deviation: σ = 1 = 1
From the above example, when four coins are tossed many
times, the average number of heads obtained is 2, and the
standard deviation of the number of heads is 1. These are
theoretical values.
Introduction to Probability Distributions Binomial Distribution Normal Distribution
Example
A coin is tossed 4 times. Find the mean, variance, and
standard deviation of the number of heads that will be
obtained using the formulas for expected value.
Introduction to Probability Distributions Binomial Distribution Normal Distribution
Example
A coin is tossed 4 times. Find the mean, variance, and
standard deviation of the number of heads that will be
obtained using the formulas for expected value.
Introduction to Probability Distributions Binomial Distribution Normal Distribution
Solution
The distribution is as follows:
No. of heads X 0 1 2 3 4
1 4 6 4 1
Probability P(X) 16 16 16 16 16
Mean: ∑ 1 4 6 4 1
µ = E(X) = X · P(X) = 0 · 16 +1· 16 +2· 16 +3· 16 +4· 16 =2
Variance:
∑ 2 1 4 6 4 1
σ2 = X · P(X) − µ2 = 02 · 16 + 12 · 16 + 22 · 16 + 32 · 16 + 42 · 16 =1
√
Standard Deviation: σ = 1=1
Introduction to Probability Distributions Binomial Distribution Normal Distribution
Normal Distribution
Introduction to Probability Distributions Binomial Distribution Normal Distribution
Example
Find the probability density function of the normal distribution
of the following data: x = 2, µ = 3, and σ = 4.
Solution
Given:
Variable (x) = 2
Mean (µ) = 3
Standard Deviation (σ) = 4
Using the formula for the probability density of a normal
distribution:
(x−µ)2
e− 2σ2
N(µ, σ) = √
σ 2π
Substituting the values N(3, 4) = 0.09666703.
Introduction to Probability Distributions Binomial Distribution Normal Distribution
Example
If the value of the random variable is x = 4, the mean is
µ = 4, and the standard deviation is σ = 3, then find the
probability density function of the Gaussian distribution.
Solution
Given:
Variable (x) = 4
Mean (µ) = 4
Standard Deviation (σ) = 3
Therefore, N(4, 3) = 0.13301
Introduction to Probability Distributions Binomial Distribution Normal Distribution
Remarks
A normal distribution or curve, also known as a bell curve, is
a graphical representation of a probability distribution. The
shape and position of a normal distribution curve depend on
two parameters: the mean and the standard deviation. On
the curve, the three measures of central tendency are all
located at the peak of the curve: Mean, Median, and Mode.
Notes:
The normal distribution has a positive standard deviation.
The mean helps to determine the line of symmetry of a
graph, whereas
The standard deviation helps to know how far the data are
spread out.
Introduction to Probability Distributions Binomial Distribution Normal Distribution
Remarks
If the standard deviation is smaller, the data are somewhat
close to each other, and the graph becomes narrower. If the
standard deviation is larger, the data are dispersed more, and
the graph becomes wider.
https://byjus.com/maths/z-score-table/ 3/11
11/22/24, 9:18 AM Z-Score Table | Formula, Distribution Table, Chart & Example
https://byjus.com/maths/z-score-table/ 4/11
Introduction to Probability Distributions Binomial Distribution Normal Distribution
Example
Find the area to the left of z = 1.99.
Solution
Step 1: Draw the figure. The desired area is shown.
Step 2: We are looking for the area under the standard normal
distribution curve to the left of z = 1.99. Since this is
an example of the first case, look up the area in the
table. It is 0.9767. Hence, 97.67% of the area is less
than z = 1.99.
Introduction to Probability Distributions Binomial Distribution Normal Distribution
Example
Find the area to the right of z = −1.16.
Introduction to Probability Distributions Binomial Distribution Normal Distribution
Solution
Step 1: Draw the figure. The desired area is shown in
Figure
Solution, cont...
Step 2: We are looking for the area to the right of
z = −1.16. This is an example of the second
case. Look up the area for z = −1.16. It is
0.3770. Subtract it from 1.000. 1.000 - 0.3770
= 0.6230. Hence, 62.30% of the area under the
standard normal distribution curve is to the
right of z = −1.16.
Introduction to Probability Distributions Binomial Distribution Normal Distribution
Example
Find the area between z = +1.68 and z = −1.37.
Solution
Step 1: Draw the figure as shown. The desired area is shown in
Figure
Example
Find the probability for each.
a. P(0 < z < 2.32)
b. P(z < 1.65)
c. P(z > 1.91)
Introduction to Probability Distributions Binomial Distribution Normal Distribution
Solution of (a)
P(0 < z < 2.32) means to find the area under the standard
normal distribution curve between 0 and 2.32. First, look
up the area corresponding to z = 2.32. It is 0.9898. Then,
look up the area corresponding to z = 0. It is 0.5000.
Subtract the two areas:
0.9898 − 0.5000 = 0.4898.
Solution, cont...
Introduction to Probability Distributions Binomial Distribution Normal Distribution
Solution of (b)
P(z < 1.65) is represented in Figure below. Look up the
area corresponding to z = 1.65 in the Table. It is 0.9505.
Hence,
Solution of (c)
P(z > 1.91) is shown in the Figure. Look up the area
corresponding to z = 1.91. It is 0.9719. Then subtract this
area from 1.0000:
Example
Find the z value such that the area under the standard normal
distribution curve between 0 and the z value is 0.2123.
Solution
Draw the figure. The area is shown in Figure below.
Solution, cont...
Next, find the area in the table, as shown in Figure below.
Then, read the correct z-value in the left column as 0.5 and
in the top row as 0.06, and add these two values to get
z = 0.56.
Introduction to Probability Distributions Binomial Distribution Normal Distribution
Introduction to Probability Distributions Binomial Distribution Normal Distribution
Example
A survey by the National Retail Federation found that women
spend on average $146.21 for the Christmas holidays. Assume
the standard deviation is $29.44. Find the percentage of
women who spend less than $160.00. Assume the variable is
normally distributed.
Solution
Step 1: Draw the figure and represent the area as
shown in Figure below.
Solution, cont...
Hence, $160.00 is 0.47 of a standard deviation
above the mean of $146.21, as shown in the
z-distribution in Figure below.
Example
Each month, an American household generates an average of
28 pounds of newspaper for garbage or recycling. Assume the
standard deviation is 2 pounds. If a household is selected at
random, find the probability of its generating
(a) Between 27 and 31 pounds per month.
(b) More than 30.2 pounds per month.
Assume the variable is approximately normally distributed.
Introduction to Probability Distributions Binomial Distribution Normal Distribution
Solution of (a)
Step 1: Draw the figure and represent the area. See
Figure below.
Introduction to Probability Distributions Binomial Distribution Normal Distribution
Solution, cont...
Step 2: Find the two z-values.
X−µ 27 − 28 −1
z1 = = = = −0.5
σ 2 2
X−µ 31 − 28 3
z2 =
= = = 1.5
σ 2 2
Step 3: Find the appropriate area, using the Table of z.
The area to the left of z2 is 0.9332, and the
area to the left of z1 is 0.3085. Hence, the area
between z1 and z2 is 0.9332 − 0.3085 = 0.6247
See Figure below.
Introduction to Probability Distributions Binomial Distribution Normal Distribution
Solution, cont...
Hence, the probability that a randomly selected household
generates between 27 and 31 pounds of newspapers per
month is 62.47%.
Introduction to Probability Distributions Binomial Distribution Normal Distribution
Solution of (b)
Step 1: Draw the figure and represent the area, as shown below.
Example
For a medical study, a researcher wishes to select people in the
middle 60% of the population based on blood pressure. If the
mean systolic blood pressure is 120 and the standard deviation
is 8, find the upper and lower readings that would qualify
people to participate in the study.
Introduction to Probability Distributions Binomial Distribution Normal Distribution
Solution
Assume that blood pressure readings are normally
distributed. The cutoff points are as shown below:
The figure shows that two values are needed: one above the
mean and one below the mean.
To get the area to the left of the positive z-value, add:
Solution, cont...
For the area to the left of the negative z-value, subtract
30% from 50%, yielding:
0.5000 − 0.3000 = 0.2000.