CHAPTER 6 Random Variables

Similar documents
CHAPTER 6 Random Variables

CHAPTER 6 Random Variables

Random Variables CHAPTER 6.3 BINOMIAL AND GEOMETRIC RANDOM VARIABLES

Probability & Statistics Chapter 5: Binomial Distribution

Chapter 8: Binomial and Geometric Distributions

Chapter 6: Random Variables

Binomial Random Variable - The count X of successes in a binomial setting

Section 6.3 Binomial and Geometric Random Variables

Chapter 8.1.notebook. December 12, Jan 17 7:08 PM. Jan 17 7:10 PM. Jan 17 7:17 PM. Pop Quiz Results. Chapter 8 Section 8.1 Binomial Distribution

Chapter 6 Section 3: Binomial and Geometric Random Variables

Probability & Sampling The Practice of Statistics 4e Mostly Chpts 5 7

Chapter 6: Random Variables. Ch. 6-3: Binomial and Geometric Random Variables

chapter 13: Binomial Distribution Exercises (binomial)13.6, 13.12, 13.22, 13.43

Binomial Distributions

Random Variables. Chapter 6: Random Variables 2/2/2014. Discrete and Continuous Random Variables. Transforming and Combining Random Variables

Chapter 8: The Binomial and Geometric Distributions

Binomial formulas: The binomial coefficient is the number of ways of arranging k successes among n observations.

MA 1125 Lecture 14 - Expected Values. Wednesday, October 4, Objectives: Introduce expected values.

3. The n observations are independent. Knowing the result of one observation tells you nothing about the other observations.

***SECTION 8.1*** The Binomial Distributions

3. The n observations are independent. Knowing the result of one observation tells you nothing about the other observations.

BINOMIAL EXPERIMENT SUPPLEMENT

AP Statistics Ch 8 The Binomial and Geometric Distributions

If X = the different scores you could get on the quiz, what values could X be?

Section Random Variables

Chapter 8. Binomial and Geometric Distributions

Math 361. Day 8 Binomial Random Variables pages 27 and 28 Inv Do you have ESP? Inv. 1.3 Tim or Bob?

Binomial Random Variables. Binomial Distribution. Examples of Binomial Random Variables. Binomial Random Variables

1 / * / * / * / * / * The mean winnings are $1.80

Chapter 3 - Lecture 5 The Binomial Probability Distribution

Binomial Distributions

DO NOT POST THESE ANSWERS ONLINE BFW Publishers 2014

Probability Review. The Practice of Statistics, 4 th edition For AP* STARNES, YATES, MOORE

30 Wyner Statistics Fall 2013

Statistical Methods in Practice STAT/MATH 3379

5.2 Random Variables, Probability Histograms and Probability Distributions

OCR Statistics 1. Discrete random variables. Section 2: The binomial and geometric distributions. When to use the binomial distribution

CHAPTER 4 DISCRETE PROBABILITY DISTRIBUTIONS

The Binomial distribution

4.1 Probability Distributions

What do you think "Binomial" involves?

MA 1125 Lecture 12 - Mean and Standard Deviation for the Binomial Distribution. Objectives: Mean and standard deviation for the binomial distribution.

Chapter 17 Probability Models


The Binomial Distribution

II - Probability. Counting Techniques. three rules of counting. 1multiplication rules. 2permutations. 3combinations

Chapter 6: Probability: What are the Chances?

What is the probability of success? Failure? How could we do this simulation using a random number table?

Chapter 4 Discrete Random variables

The Binomial and Geometric Distributions. Chapter 8

CHAPTER 8 Estimating with Confidence

The Binomial Distribution

Chapter 5 Student Lecture Notes 5-1. Department of Quantitative Methods & Information Systems. Business Statistics

Chapter 4 Discrete Random variables

The Binomial Distribution

Stat 20: Intro to Probability and Statistics

Midterm Exam III Review

The Binomial Distribution

AP Statistics Section 6.1 Day 1 Multiple Choice Practice. a) a random variable. b) a parameter. c) biased. d) a random sample. e) a statistic.

Binomial and multinomial distribution

Part V - Chance Variability

Lecture 9. Probability Distributions. Outline. Outline

Unit 4 Bernoulli and Binomial Distributions Week #6 - Practice Problems. SOLUTIONS Revised (enhanced for q4)

Chapter 4 and 5 Note Guide: Probability Distributions

Probability Models. Grab a copy of the notes on the table by the door

Binomial distribution

MATH 446/546 Homework 1:

Lecture 9. Probability Distributions

Chapter 5: Discrete Probability Distributions

2) There is a fixed number of observations n. 3) The n observations are all independent

Binomial and Geometric Distributions

8.1 Binomial Situations

the number of correct answers on question i. (Note that the only possible values of X i

Chpt The Binomial Distribution

STT315 Chapter 4 Random Variables & Probability Distributions AM KM

Business Statistics. Chapter 5 Discrete Probability Distributions QMIS 120. Dr. Mohammad Zainal

guessing Bluman, Chapter 5 2

Part 10: The Binomial Distribution

CHAPTER 6 Random Variables

Section Distributions of Random Variables

1. Steve says I have two children, one of which is a boy. Given this information, what is the probability that Steve has two boys?

Discrete Probability Distributions

Discrete Probability Distributions

Simple Random Sample

Chapter 6: Random Variables

Chapter 11. Data Descriptions and Probability Distributions. Section 4 Bernoulli Trials and Binomial Distribution

STAT 201 Chapter 6. Distribution

12 Math Chapter Review April 16 th, Multiple Choice Identify the choice that best completes the statement or answers the question.

MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question.

Chapter Five. The Binomial Distribution and Related Topics

Binomial Distribution

AP Statistics Quiz A Chapter 17

Geometric & Negative Binomial Distributions

Chapter 5 Probability Distributions. Section 5-2 Random Variables. Random Variable Probability Distribution. Discrete and Continuous Random Variables

Binomal and Geometric Distributions

Chapter 8 Binomial and Geometric Distribu7ons

Honors Statistics. Aug 23-8:26 PM. 1. Collect folders and materials. 2. Continue Binomial Probability. 3. Review OTL C6#11 homework

VIDEO 1. A random variable is a quantity whose value depends on chance, for example, the outcome when a die is rolled.

MAKING SENSE OF DATA Essentials series

Stat511 Additional Materials

Transcription:

CHAPTER 6 Random Variables 6.3 Binomial and Geometric Random Variables The Practice of Statistics, 5th Edition Starnes, Tabor, Yates, Moore Bedford Freeman Worth Publishers

6.3 Reading Quiz (T or F) 1. A geometric setting will always have a fixed number of trials of the same chance process. 2. In a binomial setting, all trials must be independent. 3. Geometric distributions will always be symmetric. 4. The probability of success must be the same for each trial in a binomial setting. 5. In a binomial setting, we can define a random variable as the number of successes in n independent trials. The Practice of Statistics, 5 th Edition 2

Binomial and Geometric Random Variables Learning Objectives After this section, you should be able to: DETERMINE whether the conditions for using a binomial random variable are met. COMPUTE and INTERPRET probabilities involving binomial distributions. CALCULATE the mean and standard deviation of a binomial random variable. INTERPRET these values in context. FIND probabilities involving geometric random variables. When appropriate, USE the Normal approximation to the binomial distribution to CALCULATE probabilities. (*Not required for the AP Statistics Exam) The Practice of Statistics, 5 th Edition 3

Binomial Settings When the same chance process is repeated several times, we are often interested in whether a particular outcome does or doesn t happen on each repetition. Some random variables count the number of times the outcome of interest occurs in a fixed number of repetitions. They are called binomial random variables. A binomial setting arises when we perform several independent trials of the same chance process and record the number of times that a particular outcome occurs. The four conditions for a binomial setting are: B Binary? The possible outcomes of each trial can be classified as success or failure. Independent? Trials must be independent; that is, knowing the result of one trial must not tell us anything about the result of any other trial. Number? The number of trials n of the chance process must be fixed in advance. Success? There is the same probability p of success on each trial. I N S The Practice of Statistics, 5 th Edition 4

Binomial Random Variables Consider tossing a coin n times. Each toss gives either heads or tails. Knowing the outcome of one toss does not change the probability of an outcome on any other toss. If we define heads as a success, then p is the probability of a head and is 0.5 on any toss. The number of heads in n tosses is a binomial random variable X. The probability distribution of X is called a binomial distribution. The count X of successes in a binomial setting is a binomial random variable. The probability distribution of X is a binomial distribution with parameters n and p, where n is the number of trials of the chance process and p is the probability of a success on any one trial. The possible values of X are the whole numbers from 0 to n. The Practice of Statistics, 5 th Edition 5

Dice, cars, and hoops Problem: Determine whether the random variables below have a binomial distribution. Justify your answer. a) Roll a fair die 10 times and let X = the number of sixes. Binary? Yes; success = six, failure = not a six. Independent? Yes; knowing the outcomes of past rolls tells you nothing about the outcomes of future rolls. Number? Yes; there are n = 10 trials. Success? Yes; the probability of success is always p = 1/6. This is a binomial setting. The number of sixes X is a binomial random variable with n = 10 and p = 1/6. Just as we describe a Normal distribution by writing N(μ,σ), a binomial distribution can be described by writing B(n, p). This binomial distribution would be described as B(10, 1 6 ) The Practice of Statistics, 5 th Edition 6

Dice, cars, and hoops Problem: Determine whether the random variables below have a binomial distribution. Justify your answer. b) Shoot a basketball 20 times from various distances on the court. Let Y = number of shots made. Binary? Yes; success = make the shot, failure = miss the shot. Independent? Yes; evidence suggests that it is reasonable to assume that knowing the outcome of a shot tells us nothing about the outcome of other shots. Number? Yes; there are n = 20 trials. Success? No; the probability of success changes because the shots are taken from various distances. Because the probability of success is not constant, Y is not a binomial random variable. The Practice of Statistics, 5 th Edition 7

Dice, cars, and hoops Problem: Determine whether the random variables below have a binomial distribution. Justify your answer. c) Observe the next 100 cars that go by and let C = color. Binary? No. There are more than two possible colors. Independent? Yes, knowing the color of one car tells you nothing about the color of other cars. Number? Yes; there are n = 100 trials. Success? A success hasn t been defined, so we cannot determine if the probability of success is always the same. Because there are more than two possible outcomes, C is not a binomial random variable. The Practice of Statistics, 5 th Edition 8

Binomial Probabilities In a binomial setting, we can define a random variable (say, X) as the number of successes in n independent trials. We are interested in finding the probability distribution of X. Each child of a particular pair of parents has probability 0.25 of having type O blood. Genetics says that children receive genes from each of their parents independently. If these parents have 5 children, the count X of children with type O blood is a binomial random variable with n = 5 trials and probability p = 0.25 of a success on each trial. In this setting, a child with type O blood is a success (S) and a child with another blood type is a failure (F). What s P(X = 2)? P(SSFFF) = (0.25)(0.25)(0.75)(0.75)(0.75) = (0.25) 2 (0.75) 3 = 0.02637 However, there are a number of different arrangements in which 2 out of the 5 children have type O blood: SSFFF SFSFF SFFSF SFFFS FSSFF FSFSF FSFFS FFSSF FFSFS FFFSS Verify that in each arrangement, P(X = 2) = (0.25) 2 (0.75) 3 = 0.02637 Therefore, P(X = 2) = 10(0.25) 2 (0.75) 3 = 0.2637 The Practice of Statistics, 5 th Edition 9

Rolling doubles In many games involving dice, rolling doubles is desirable. Rolling doubles means that the outcomes of two dice are the same, such as 1 and 1 or 5 and 5. The probability of rolling doubles when rolling two dice is 6/36 = 1/6. If X = the number of doubles in 4 rolls of two dice, then X is binomial with n = 4 and p = 1/6. Problem: Build a binomial probability distribution. What is P(X = 0)? That is, what is the probability that all 4 rolls are not doubles? Because the probability of not getting doubles on a particular roll is 1 1/6 = 5/6, P(X = 0) = P(FFFF) = (5/6)(5/6)(5/6)(5/6) = (5/6) 4 = 0.482. (Note: F represents a failure and S represents a success.) What is P(X = 1)? There are four different ways to roll doubles 1 time in 4 tries. The doubles could occur on the first try (SFFF), the second try (FSFF), the third try (FFSF), or the fourth try (FFFS). Thus, the probability of rolling doubles 1 time in 4 attempts is P(X = 1) = 4(1/6)(5/6) 3 = 0.386. Value: 0 1 2 3 4 Probability: 0.482 0.386 0.116 0.015 0.001 The Practice of Statistics, 5 th Edition 10

Binomial Coefficient Note, in the previous example, any one arrangement of 2 S s and 3 F s had the same probability. This is true because no matter what arrangement, we d multiply together 0.25 twice and 0.75 three times. We can generalize this for any setting in which we are interested in k successes in n trials. That is, P(X = k) = P(exactly k successes in n trials) = number of arrangements p k (1- p) n-k The number of ways of arranging k successes among n observations is given by the binomial coefficient for k = 0, 1, 2,, n where and 0! = 1. n k n! k!( n k)! n! = n(n 1)(n 2) (3)(2)(1) The Practice of Statistics, 5 th Edition 11

The Binomial Coefficient The ways that exactly 2 of 4 die rolls are doubles: 4 2 = 4! 2! 4 2! = 4! 2! 2! = 4 x 3 x 2 x 1 2 x 1 x 2 x 1 = 4 x 3 2 x 1 = 6 Factorials can be found under MATH PRB 4!/(2!2!) Don t forget the parentheses! This is also the same thing as a COMBINATION (which differs from a PERMUTATION because order does not matter in a combination) so you can also use ncr also under MATH PRB 4 MATH PRB ncr 2 The Practice of Statistics, 5 th Edition 12

Binomial Probability Formula The binomial coefficient counts the number of different ways in which k successes can be arranged among n trials. The binomial probability P(X = k) is this count multiplied by the probability of any one specific arrangement of the k successes. Binomial Probability If X has the binomial distribution with n trials and probability p of success on each trial, the possible values of X are 0, 1, 2,, n. If k is any one of these values, P( X n k k n k k) p (1 p) Number of arrangements of k successes Probability of k successes Probability of n-k failures The Practice of Statistics, 5 th Edition 13

How to Find Binomial Probabilities How to Find Binomial Probabilities Step 1: State the distribution and the values of interest. Specify a binomial distribution with the number of trials n, success probability p, and the values of the variable clearly identified. Step 2: Perform calculations show your work! Do one of the following: (i) Use the binomial probability formula to find the desired probability; or (ii) Use binompdf or binomcdf command and label each of the inputs. Step 3: Answer the question. The Practice of Statistics, 5 th Edition 14

Example: How to Find Binomial Probabilities Each child of a particular pair of parents has probability 0.25 of having blood type O. Suppose the parents have 5 children (a) Find the probability that exactly 3 of the children have type O blood. Let X = the number of children with type O blood. We know X has a binomial distribution with n = 5 and p = 0.25. 5 3 2 3 2 P( X 3) (0.25) (0.75) 10(0.25) (0.75) 0.08789 3 (b) Should the parents be surprised if more than 3 of their children have type O blood? To answer this, we need to find P(X > 3). P( X 3) 5 (0.25) 4 P( X 5(0.25) 4 4) 4 (0.75) (0.75) 1 P( X 1 5) 5 (0.25) 5 1(0.25) 0.01465 0.00098 5 (0.75) 0.01563 5 (0.75) 0 0 Since there is only a 1.5% chance that more than 3 children out of 5 would have Type O blood, the parents should be surprised! The Practice of Statistics, 5 th Edition 15

The Last Kiss Do people have a preference for the last thing they taste? Researchers at the University of Michigan designed a study to find out. The researchers gave 22 students five different Hershey s Kisses (milk chocolate, dark chocolate, crème, caramel, and almond) in random order and asked the student to rate each one. Participants were not told how many Kisses they would be tasting. However, when the 5 th and final Kiss was presented, participants were told that it would be their last one. Of the 22 students, 14 of them gave the final Kiss the highest rating. Problem: Assume that the participants in the study don t have a special preference for the last thing they taste. That is, assume that the probability a person would prefer the last Kiss tasted is p = 0.20. (a) What is the probability that exactly 5 of the 22 participants would prefer the last Kiss they tried? (a) Step 1: State the distribution and the values of interest. Let X = the number of participants who prefer the last Kiss they taste. X has a binomial distribution with n = 22 and p = 0.20. We want to find P(X = 5). Step 2: Perform calculations show your work! P X = 5 = 22 5 (0. 20)5 (0. 80) 17 = 0.1898. Using technology: The command binompdf(trials:22, p:0.20, x value:5) gives 0.1898. Step 3: Answer the question. There is about a 19% chance that exactly 5 participants would choose the last Kiss, assuming that they have no special preference for the last thing they taste. The Practice of Statistics, 5 th Edition 16

The Last Kiss Do people have a preference for the last thing they taste? Researchers at the University of Michigan designed a study to find out. The researchers gave 22 students five different Hershey s Kisses (milk chocolate, dark chocolate, crème, caramel, and almond) in random order and asked the student to rate each one. Participants were not told how many Kisses they would be tasting. However, when the 5 th and final Kiss was presented, participants were told that it would be their last one. Of the 22 students, 14 of them gave the final Kiss the highest rating. Problem: Assume that the participants in the study don t have a special preference for the last thing they taste. That is, assume that the probability a person would prefer the last Kiss tasted is p = 0.20. (b) What is the probability that 14 or more of the 22 participants would prefer the last Kiss they tried? Step 1: State the distribution and the values of interest. Let X = the number of participants who prefer the last Kiss they taste. X has a binomial distribution with n = 22 and p = 0.20. We want to find P(X 14). Step 2: Perform calculations show your work! P(X 14) = 1 P(X 13) =1 [P(X = 1)+ +P(X = 13)]. Using technology: The command 1 binomcdf(trials:22, p:0.20, x value:13) gives 0.00001. Step 3: Answer the question. There is about a 0.001% chance that 14 or more participants would choose the last Kiss, assuming that they have no special preference for the last thing they taste. Because this probability is so small, there is convincing evidence that the participants have a preference for the last thing they taste. It is almost impossible to get 14 or more just by chance. The Practice of Statistics, 5 th Edition 17

Binomial and Geometric Random Variables Section Summary In this section, we learned how to DETERMINE whether the conditions for using a binomial random variable are met. COMPUTE and INTERPRET probabilities involving binomial distributions. The Practice of Statistics, 5 th Edition 18

PAGE 410 70, 74, 76, 78 HOMEWORK The Practice of Statistics, 5 th Edition 19