










Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!











1
By the end of this chapter, the student should be able to:
A student takes a 10 question true-false quiz. Because the student had such a busy schedule, he or she could not study and randomly guesses at each answer. What is the probability of the student passing the test with at least a 70%?
Small companies might be interested in the number of long distance phone calls their employees make during the peak time of the day. Suppose the average is 20 calls. What is the probability that the employees make more than 20 long distance phone calls during the peak time?
These two examples illustrate two different types of probability problems involving discrete random vari- ables. Recall that discrete data are data that you can count. A random variable describes the outcomes of a statistical experiment both in words. The values of a random variable can vary with each repetition of an experiment.
In this chapter, you will study probability problems involving discrete random distributions. You will also study long-term averages associated with them.
Upper case letters like X or Y denote a random variable. Lower case letters like x or y denote the value of a random variable. If X is a random variable, then X is defined in words.
(^1) This content is available online at .
For example, let X = the number of heads you get when you toss three fair coins. The sample space for the toss of three fair coins is TTT; THH; HTH; HHT; HTT; THT; TTH; HHH. Then, x = 0, 1, 2, 3. X is in words and x is a number. Notice that for this example, the x values are countable outcomes. Because you can count the possible values that X can take on and the outcomes are random (the x values 0, 1, 2, 3), X is a discrete random variable.
Toss a coin 10 times and record the number of heads. After all members of the class have completed the experiment (tossed a coin 10 times and counted the number of heads), fill in the chart using a heading like the one below. Let X = the number of heads in 10 tosses of the coin.
X Frequency of X Relative Frequency of X
Table 4.
4.2 Probability Distribution Function (PDF) for a Discrete Random
Variable 2
A discrete probability distribution function has two characteristics:
P(X) is the notation used to represent a discrete probability distribution function.
Example 4. A child psychologist is interested in the number of times a newborn baby’s crying wakes its mother after midnight. For a random sample of 50 mothers, the following information was obtained. Let X = the number of times a newborn wakes its mother after midnight. For this example, x = 0, 1, 2, 3, 4, 5.
P(X = x) = probability that X takes on a value x. (^2) This content is available online at .
A Step-by-Step Example A men’s soccer team plays soccer 0, 1, or 2 days a week. The probability that they play 0 days is 0.2, the probability that they play 1 day is 0.5, and the probability that they play 2 days is 0.3. Find the long-term average, μ , or expected value of the days per week the men’s soccer team plays soccer.
To do the problem, first let the random variable X = the number of days the men’s soccer team plays soccer per week. X takes on the values 0, 1, 2. Construct a PDF table, adding a column xP (X = x). In this column, you will multiply each x value by its probability.
Expected Value Table
x P(X=x) x P(X=x) 0 0.2 (0)(0.2) = 0 1 0.5 (1)(0.5) = 0. 2 0.3 (2)(0.3) = 0.
Table 4.4 : This table is called an expected value table. The table helps you calculate the expected value or long-term average.
Add the last column to find the long term average or expected value: (^0 ) (0.2) + (^1 ) (0.5) + (^2 ) (0.3) =^0 +^ 0.5. 0.6^ =^ 1.1.
The expected value is 1.1. The men’s soccer team would, on the average, expect to play soccer 1.1 days per week. The number 1.1 is the long term average or expected value if the men’s soccer team plays soccer week after week after week. We say μ = 1.
Example 4. Find the expected value for the example about the number of times a newborn baby’s crying wakes its mother after midnight. The expected value is the expected number of times a newborn wakes its mother after midnight.
x P(X=x) x P(X=x) 0 P(X=0) = 502 (0)
50
11 50
50
50
4 50
1 50
Table 4.5 : You expect a newborn to wake its mother after midnight 2.1 times, on the average.
Add the last column to find the expected value. μ = Expected Value = 10550 = 2. Problem Go back and calculate the expected value for the number of days Nancy attends classes a week. Construct the third column to do so. Solution 2.74 days a week.
Example 4. Suppose you play a game of chance in which you choose 5 numbers from 0, 1, 2, 3, 4, 5, 6, 7, 8, 9. You may choose a number more than once. You pay $2 to play and could profit $100,000 if you match all 5 numbers in order (you get your $2 back plus $100,000). Over the long term, what is your expected profit of playing the game?
To do this problem, set up an expected value table for the amount of money you can profit.
Let X = the amount of money you profit. The values of x are not 0, 1, 2, 3, 4, 5, 6, 7, 8, 9. Since you are interested in your profit (or loss), the values of x are 100,000 dollars and -2 dollars.
To win, you must get all 5 numbers correct, in order. The probability of choosing one correct number is 101 because there are 10 numbers. You may choose a number more than once. The probability of choosing all 5 numbers correctly and in order is:
1 10
Therefore, the probability of winning is 0.00001 and the probability of losing is
1 − 0.00001 = 0.99999 (4.3) The expected value table is as follows.
x P(X=x) xP(X=x) Loss -2 0.99999 (-2)(0.99999)=-1. Profit 100,000 0.00001 (100000)(0.00001)=
Table 4.6 : Add the last column. -1.99998 + 1 = -0.
Since −0.99998 is about −1, you would, on the average, expect to lose approximately one dollar for each game you play. However, each time you play, you either lose $2 or profit $100,000. The $ is the average or expected LOSS per game after playing this game over and over.
Example 4. Suppose you play a game with a biased coin. You play each game by tossing the coin once. P(heads) = 23 and P(tails) = 13. If you toss a head, you pay $6. If you toss a tail, you win $10. If you play this game many times, will you come out ahead?
Problem 1 (Solution on p. 205.) Define a random variable X.
Problem 2 (Solution on p. 205.) Complete the following expected value table.
x ____ ____ WIN 10 13 ____ LOSE ____ ____ − 312
Table 4.
guesses correctly on any statistics true - false question with probability p = 0.6. Then, q = 0.4 .This means that for every true - false statistics question Joe answers, his probability of success (p = 0.6) and his probability of failure (q = 0.4) remain the same.
The outcomes of a binomial experiment fit a binomial probability distribution. The random variable X = the number of successes obtained in the n independent trials.
The mean, μ , and variance, σ^2 , for the binomial probability distribution is μ = np and σ^2 = npq. The standard deviation, σ , is then σ =
npq.
Any experiment that has characteristics 2 and 3 is called a Bernoulli Trial (named after Jacob Bernoulli who, in the late 1600s, studied them extensively). A binomial experiment takes place when the number of successes is counted in one or more Bernoulli Trials.
Example 4. At ABC College, the withdrawal rate from an elementary physics course is 30% for any given term. This implies that, for any given term, 70% of the students stay in the class for the entire term. A "success" could be defined as an individual who withdrew. The random variable is X = the number of students who withdraw from the elementary physics course per term. Example 4. Suppose you play a game that you can only either win or lose. The probability that you win any game is 55% and the probability that you lose is 45%. If you play the game 20 times, what is the probability that you win 15 of the 20 games? Here, if you define X = the number of wins, then X takes on the values X = 0, 1, 2, 3, ..., 20. The probability of a success is p = 0.55. The probability of a failure is q = 0.45. The number of trials is n = 20. The probability question can be stated mathematically as P (X = 15 ). Example 4. A fair coin is flipped 15 times. What is the probability of getting more than 10 heads? Let X = the number of heads in 15 flips of the fair coin. X takes on the values x = 0, 1, 2, 3, ..., 15. Since the coin is fair, p = 0.5 and q = 0.5. The number of trials is n = 15. The probability question can be stated mathematically as P (X > 10 ). Example 4. Approximately 70% of statistics students do their homework in time for it to be collected and graded. In a statistics class of 50 students, what is the probability that at least 40 will do their homework on time? Problem 1 (Solution on p. 205.) This is a binomial problem because there is only a success or a __________, there are a definite number of trials, and the probability of a success is 0.70 for each trial. Problem 2 (Solution on p. 205.) If we are interested in the number of students who do their homework, then how do we define X? Problem 3 (Solution on p. 205.) What values does X take on? Problem 4 (Solution on p. 205.) What is a "failure", in words? The probability of a success is p = 0.70. The number of trial is n = 50. Problem 5 (Solution on p. 205.) If p + q = 1, then what is q?
Problem 6 (Solution on p. 205.) The words "at least" translate as what kind of inequality? The probability question is P (X ≥ 40 ).
X ∼ B (n, p)
Read this as "X is a random variable with a binomial distribution." The parameters are n and p. n = number of trials p = probability of a success on each trial Example 4. It has been stated that about 41% of adult workers have a high school diploma but do not pursue any further education. If 20 adult workers are randomly selected, find the probability that at most 12 of them have a high school diploma but do not pursue any further education. How many adult workers do you expect to have a high school diploma but do not pursue any further education?
Let X = the number of workers who have a high school diploma but do not pursue any further education.
X takes on the values 0, 1, 2, ..., 20 where n = 20 and p = 0.41. q = 1 - 0.41 = 0.59. X ∼ B (20, 0.41)
Find P (X ≤ 12 ). P (X ≤ 12 ) = 0.9738. (calculator or computer)
Using the TI-83+ or the TI-84 calculators, the calculations are as follows. Go into 2nd DISTR. The syntax for the instructions are
To calculate ( X = value): binompdf( n , p , number) If "number" is left out, the result is the binomial probability table.
To calculate P (X ≤ value ) : binomcdf( n , p , number) If "number" is left out, the result is the cu- mulative binomial probability table.
For this problem: After you are in 2nd DISTR, arrow down to A:binomcdf. Press ENTER. Enter 20,.41,12). The result is P (X ≤ 12 ) = 0..
NOTE: If you want to find P (X = 12 ), use the pdf (0:binompdf). If you want to find P (X> 12 ), use 1 - binomcdf(20,.41,12).
The probability at most 12 workers have a high school diploma but do not pursue any further education is 0.
The graph of X ∼ B (^) (20, 0.41) is:
true no matter how many times you roll the die. Suppose you want to know the probability of getting the first 3 on the fifth roll. On rolls 1, 2, 3, and 4, you do not get a face with a 3. The probability for each of rolls 1, 2, 3, and 4 is q = 56 , the probability of a failure. The probability of getting a 3 on the fifth roll is 56 · 56 · 56 · 56 · 16 · = 0.
The outcomes of a geometric experiment fit a geometric probability distribution. The random variable X = the number of independent trials until the first success. The mean and variance are in the summary in this chapter.
Example 4. You play a game of chance that you can either win or lose (there are no other possibilities) until you lose. Your probability of losing is p = 0.57. What is the probability that it takes 5 games until you lose? Let X = the number of games you play until you lose (includes the losing game). Then X takes on the values 1, 2, 3, ... (could go on indefinitely). The probability question is P (X = 5 ). Example 4. A safety engineer feels that 35% of all industrial accidents in her plant are caused by failure of employees to follow instructions. She decides to look at the accident reports until she finds one that shows an accident caused by failure of employees to follow instructions. On the average, how many reports would the safety engineer expect to look at until she finds a report showing an accident caused by employee failure to follow instructions? What is the probability that the safety engineer will have to examine at least 3 reports until she finds a report showing an accident caused by employee failure to follow instructions?
Let X = the number of accidents the safety engineer must examine until she finds a report showing an accident caused by employee failure to follow instructions. X takes on the values 1, 2, 3, .... The first question asks you to find the expected value or the mean. The second question asks you to find P (X ≥ 3 ). ("At least" translates as a "greater than or equal to" symbol). Example 4. Suppose that you are looking for a chemistry lab partner. The probability that someone agrees to be your lab partner is 0.55. Since you need a lab partner very soon, you ask every chemistry student you are acquainted with until one says that he/she will be your lab partner. What is the probability that the fourth person says yes?
This is a geometric problem because you may have a number of failures before you have the one success you desire. Also, the probability of a success stays the same each time you ask a chemistry student to be your lab partner. There is no definite number of trials (number of times you ask a chemistry student to be your partner). Problem 1 Let X = the number of ____________ you must ask ____________ one says yes. Solution Let X = the number of chemistry students you must ask until one says yes.
Problem 2 (Solution on p. 205.) What values does X take on? Problem 3 (Solution on p. 205.) What are p and q? Problem 4 (Solution on p. 206.) The probability question is P(_______).
X ∼ G (p)
Read this as "X is a random variable with a geometric distribution." The parameter is p. p = the probability of a success for each trial. Example 4. Assume that the probability of a defective computer component is 0.02. Find the probability that the first defect is caused by the 7th component tested. How many components do you expect to test until one is found to be defective?
Let X = the number of computer components tested until the first defect is found.
X takes on the values 1, 2, 3, ... where p = 0.02. X ∼ G(0.02)
Find P (^) (X = (^7) ). P (^) (X = (^7) ) = 0.0177. (calculator or computer)
TI-83+ and TI-84: For a general discussion, see this example (binomial). The syntax is similar. The geometric parameter list is (p, number) If "number" is left out, the result is the geometric probability table. For this problem: After you are in 2nd DISTR, arrow down to D:geometpdf. Press ENTER. Enter .02,7). The result is P (X = 7 ) = 0..
The probability that the 7th component is the first defect is 0.0177.
The graph of X ∼ G(0.02) is:
The y-axis contains the probability of X, where X = the number of computer components tested.
The number of components that you would expect to test until you find the first defective one is the mean, μ = 50.
The formula for the mean is μ = (^1) p = (^) 0.02^1 = 50
The formula for the variance is σ^2 = (^1) p ·
1 p −^1
1 0.02 −^1
The standard deviation is σ =
1 p ·
1 p −^1
1 0.02 ·
1 0.02 −^1
Problem 3 (Solution on p. 206.) How many are in the group of interest? Problem 4 (Solution on p. 206.) How many are in the other group? Problem 5 (Solution on p. 206.) Let X = _________ on the committee. What values does X take on? Problem 6 (Solution on p. 206.) The probability question is P(_______).
X∼H (^) (r, b, n)
Read this as "X is a random variable with a hypergeometric distribution." The parameters are r, b, and n. r = the size of the group of interest (first group), b = the size of the second group, n = the size of the chosen sample Example 4. A school site committee is to be chosen from 6 men and 5 women. If the committee consists of 4 members, what is the probability that 2 of them are men? How many men do you expect to be on the committee?
Let X = the number of men on the committee of 4. The men are the group of interest (first group).
X takes on the values 0, 1, 2, 3, 4, where r = 6, b = 5 , and n = 4. X ∼ H(6, 5, 4)
Find P (X = 2 ). P (X = 2 ) = 0.4545(calculator or computer)
NOTE: Currently, the TI-83+ and TI-84 do not have hypergeometric probability functions. There are a number of computer packages, including Microsoft Excel, that do.
The probability that there are 2 men on the committee is about 0.45.
The graph of X∼H(6, 5, 4) is:
The y-axis contains the probability of X, where X = the number of men on the committee.
You would expect m = 2.18(about 2) men on the committee.
The formula for the mean is μ = (^) rn+·rb = (^64) +·^65 = 2.
The formula for the variance is fairly complex. You will find it in the Summary of the Discrete Probability Functions Chapter (Section 4.9).
4.8 Poisson 8
Characteristics of a Poisson experiment are:
The outcomes of a Poisson experiment fit a Poisson probability distribution. The random variable X = the number of occurrences in the interval of interest. The mean and variance are given in the summary.
Example 4. The average number of loaves of bread put on a shelf in a bakery in a half-hour period is 12. What is the probability that the number of loaves put on the shelf in 5 minutes is 3? Of interest is the number of loaves of bread put on the shelf in 5 minutes. The time interval of interest is 5 minutes.
Let X = the number of loaves of bread put on the shelf in 5 minutes. If the average number of loaves put on the shelf in 30 minutes (half-hour) is 12, then the average number of loaves put on the shelf in 5 minutes is ( (^5) 30
· 12 = 2 loaves of bread (^8) This content is available online at .
TI-83+ and TI-84: For a general discussion, see this example (Binomial). The syntax is similar. The Poisson parameter list is ( μ for the interval of interest, number). For this problem:
Press 1- and then press 2nd DISTR. Arrow down to C:poissoncdf. Press ENTER. Enter .75,1). The result is P (X > 1 ) = 0.1734. NOTE: The TI calculators use λ (lambda) for the mean.
The probability that Leah receives more than 1 telephone call in the next fifteen minutes is about 0.1734.
The graph of X ∼ P(0.75) is:
The y-axis contains the probability of X where X = the number of calls in 15 minutes.
4.9 Summary of Functions 9
Formula 4.1: Binomial X∼B (^) (n, p)
X = the number of successes in n independent trials
n = the number of independent trials
X takes on the values x = 0,1, 2, 3, ...,n
p = the probability of a success for any trial
q = the probability of a failure for any trial
p + q = 1 q = 1 − p
The mean is μ = np. The standard deviation is σ =
npq. Formula 4.2: Geometric X∼G (p)
X = the number of independent trials until the first success (count the failures and the first success)
X takes on the values x= 1, 2, 3, ...
p = the probability of a success for any trial
q = the probability of a failure for any trial
p + q = 1
q = 1 − p
The mean is μ = (^1) p
The standard deviation is σ =
1 p
1 p
Formula 4.3: Hypergeometric X∼H (r, b, n)
X = the number of items from the group of interest that are in the chosen sample.
X may take on the values x= 0, 1, ..., up to the size of the group of interest. (The minimum value for X may be larger than 0 in some instances.)
r = the size of the group of interest (first group)
b= the size of the second group
n= the size of the chosen sample.
n ≤ r + b
The mean is: μ = (^) rnr+b (^9) This content is available online at .