5-1 introduction 5-2 probability distributions 5-3 mean, variance, and expectation 5-4 the...
TRANSCRIPT
5-1 Introduction 5-2 Probability
Distributions 5-3 Mean, Variance, and
Expectation 5-4 The Binomial
Distribution
Construct a probability distribution for a random variable.
Find the mean, variance, and expected value for a discrete random variable.
Find the exact probability for X successes in n trials of a binomial experiment.
Find the mean, variance, and standard deviation for the variable of a binomial distribution.
A variable is defined as a characteristic or attribute that can assume different values.
A variable whose values are determined by chance is called a random variable.
5-2 Probability Distributions
Variable
DiscreteDiscrete
Assume only a specific number of values.
Values can be counted.
ContinuousContinuous Assume all values in the interval between two given values.
Values can be measured.
Number of calls
Examples of Discrete Variables
Outcomes for die rolling
Temperature Time
Examples of Continuous Variables
A discrete probability distribution consists of the values a random variable can assume and the corresponding probabilities of the values.
The probabilities are determined theoretically or by observation.
H
T
H
T
H
T
First Toss
Second Toss
Tossing
Two Coins
From the three diagram, the sample space will be represented by HH, HT, TH, and TT.
If X is the random variable for the number of heads, then X assumes the value 0, 1, or 2.
Sample Space Number of Heads
TTTHHTHH
0
1
2
OUTCOME X
PROBABILITY P(X)
0 1/41 2/42 1/4
210
1
0.5
0.25
NUMBER OF HEADS
PR
OB
ABIL
ITY
Experiment: Toss Two Coins
The mean of the random variable of a probability distribution is
where X1 , X2 , …, Xn are outcomes and P(X1), P(X2), …, P(Xn) are the corresponding probabilities.
µ = X1 • P(X1) + X2 • P(X2) + … + Xn • P(Xn)
= X • P(X)
5-3 Mean, Variance, and Expectation for Discrete Variable
Example 1 Find the mean of the number of
spots that appear when a die is tossed. The probability distribution is given below.
X 1 2 3 4 5 6
P(X) 1/6 1/6 1/6 1/6 1/6 1/6
µ = X • P(X)
= 1•(1/6) + 2•(1/6) + 3•(1/6) + 4•(1/6) + 5•(1/6) + 6•(1/6)
= 21/6 = 3.5
The theoretical mean is 3.5.
Example 2 In a family with two children, find the
mean number of children who will be girls. The probability distribution is given below.
X 0 1 2
P(X) 1/4 1/2 1/4
5-3 Mean for Discrete Variable
µ = X • P(X)
= 0•(1/4) + 1•(1/2) + 2•(1/4) = 1
The average number of girls in a two-child family is 1.
5-3 Mean for Discrete Variable
The variance of a probability distribution is found by multiplying the square of each outcome by its corresponding probability, summing these products, and subtracting the square of the mean.
5-3 Variance for Discrete Variable
The variance of a probability distribution
The standard deviation of a probability distribution
𝝈𝟐 = ሾ𝑿𝟐 ∙𝑷ሺ𝑿ሻሿ− µ𝟐
𝝈𝟐 = ξ𝝈𝟐
5-3 Variance for Discrete Variable
Example Five balls numbered 0, 2, 4, 6, and 8
are placed in a bag. After the balls are mixed, one is selected, its number is noted, and then it is replaced. If the experiment is repeated many times, find the variance and standard deviation of the numbers on the balls.
5-3 Variance for Discrete Variable
Number on ball X
0 2 4 6 8
Probability P(X)
1/5 1/5 1/5 1/5 1/5
5-3 Variance for Discrete Variable
= (0)(1/5) + (2)(1/5) + (4)(1/5) + (6)(1/5) + (8)(1/5) = 4.0
X 2 P(X) = (02)(1/5) + (22)(1/5) + (42)(1/5) + (62)(1/5) + (82)(1/5) = 0 + 4/5 + 16/5 + 36/15 + 64/5 = 120/5 = 24
5-3 Variance for Discrete Variable
X P(X) X•P(X) X2•P(X)
0 0.2 0 0
2 0.2 0.4 0.8
4 0.2 0.8 3.2
6 0.2 1.2 7.2
8 0.2 1.6 12.8
4.0 24.0 )(XPX )(2 XPX
5-3 Variance for Discrete Variable
2.8
8
8
16 - 24
4 - 24
)(
2
2
222
XPX
5-3 Variance for Discrete Variable
The probability distribution for the number of customers one day at the Sunrise Coffee Shop is shown as below. Find the mean, variance, and standard deviation of the distribution.
Number of customers X
40 41 42 43 44
Probability P(X)
0.10 0.20 0.37 0.21 0.12
The expected values of a discrete random variable of a probability distribution is the theoretical average of the variable.
The symbol of E(X) is represented expected value.
5-3 Expectation
µ = E(X) = X • P(X)
Example 1
One thousand tickets are sold at RM 1 each for four prizes of RM100, RM50, RM25, and RM10. What is the expected value of the gain if a person purchases one ticket?
5-3 Expectation
5-3 Expectation
Gain X RM 99 RM 49 RM 24 RM 9 - RM 1
Probability P(X)
1/1000 1/1000 1/1000 1/1000 996/1000
E(X) = X • P(X) = RM99 • 1/1000 + RM49 • 1/1000 + RM24 • 1/1000 + RM9 • 1/1000 + (-RM1) • 996/1000 = -RM0.815
Example 2
A lottery offers one RM1000 prize, one RM500 prize, and five RM100 prizes. One thousand tickets are sold at RM3 each. Find the expectation of the gain if a person purchases one ticket?
5-3 Expectation
5-3 Expectation
Gain X RM 997 RM 497 RM 97 - RM 3
Probability P(X)
1/1000 1/1000 5/1000 993/1000
E(X) = X • P(X) = RM997 • 1/1000 + RM497 • 1/1000 + RM97 • 5/1000 + (-RM3) • 993/1000 = -RM1
Binomial experiment is a probability experiment that satisfies the following four requirements:
1. Each trial can have only two outcomes or outcomes that can be reduced to two outcomes. These outcomes can be considered as either success or failure.
2. There must be fixed number of trials.
5-4 The Binomial Distribution
3. The outcomes of each trial must be independent of each other.
4. The probability of a success must remain the same for each trial.
5-4 The Binomial Distribution
The outcomes of a binomial experiment and the corresponding probabilities of these outcomes are called as binomial distribution.
5-4 The Binomial Distribution
5-4 The Binomial Distribution
Notation for the Binomial Distribution
P(S) = p, probability of success P(F) = 1 - p = q, probability of failure n = number of trials X = number of successes
In a binomial experiment, the probability of exactly X successes in n trials is
5-4 Binomial Probability Formula
P Xn
n X Xp qX n X( )
!( )! !
Example 1
If a student randomly guesses at five multiple-choice questions, find the probability that the student gets exactly three correct. Each question has five possible choices.
5-4 Binomial Probability
Solutionn = 5, X = 3, and p = 1/5.Then,P(3) = [5!/(5-3)!3!] (1/5)3 (4/5)2
= 0.0512 ≈ 0.05
5-4 Binomial Probability
Example 2 A survey from Teenage Research
Unlimited found that 30% of teenage consumers received their spending money from part-time jobs. If five teenagers are selected at random, find the probability that at least three of them will have part-time jobs.
5-4 Binomial Probability
Solutionn = 5, X = 3, 4, 5 and p = 0.3.
Then,P(X≥3) = P(3) + P(4) + P(5) = 0.132 + 0.028 + 0.002 = 0.162
5-4 Binomial Probability
P(4) = [5!/(5-4)!4!] (0.3)4 (0.7)1
= 0.028
P(5) = [5!/(5-5)!5!] (0.3)5 (0.7)0
= 0.002
5-4 Binomial Probability
P(3) = [5!/(5-3)!3!] (0.3)3 (0.7)2
= 0.132
Example 3 Public Opinion reported that 5% of
Malaysians are afraid of being alone in a house at night. If a random sample of 20 Malaysians is selected, find the probability that exactly 5 people in the sample who are afraid of being alone at night.
5-4 Binomial Probability
Solutionn = 20, p = 0.05, X = 5
By using formula,P(5) = [20!/(20-5)!5!] (0.05)5 (0.95)15
= 0.002
5-4 Binomial Probability
5-4 Binomial Probability
From the table, P(5) = 0.002
n x p
0.05 0.1 0.2 0.3 0.4 0.5
20 0
1
2
3
4
5 0.002
If 90% of all people between the ages of 30 and 50 drive a car, find these probabilities for a sample of 20 people in that age group.
a) Exactly 20 drive a car.b) At least 17 drive a car.c) At most 18 drive a car.
Mean µ = n • p Variance = n • p • q Standard deviation = n • p • q
5-4 Mean, Variance, Standard Deviation for the Binomial Distribution
2
Example
A coin is tossed four times. Find the mean, variance, and standard deviationof the number of heads that will be obtained.
5-4 Mean, Variance, Standard Deviation for the Binomial Distribution
Solution:
n = 4, p = 1/2, q = 1/2
µ = n • p = (4)(1/2) = 2Variance = n • p • q = (4)(1/2)(1/2) = 1Standard deviation = n • p • q = 1 = 1
5-4 Mean, Variance, Standard Deviation for the Binomial Distribution
If 80% of the applicants are able to pass a driver’s proficiency road test, find the mean, variance, and standard deviation of the number of people who pass the test in a sample of 300 applicants.