180 likes | 291 Views
Simulating Experiments. We're going to lay the groundwork for theoretical probability by using experimental probability. . Simulation: imitation of chance behavior based on a model that accurately reflects the experiment under consideration. · Estimate the likelihood of a result of interest
E N D
Simulating Experiments We're going to lay the groundwork for theoretical probability by using experimental probability.
Simulation: imitation of chance behavior based on a model that accurately reflects the experiment under consideration ·Estimate the likelihood of a result of interest ·Not always possible to run an experiment ·Insight into events to help us understand the situation ·What are the chances that…? ·Calculate the relative frequency ·Probability model – theoretical answer ·Model based on opinion and past experience
Steps to completing a Simulation ·Step 1 State the problem or describe the experiment ·Identify component to be repeated ·Clearly state what the response variable is ·Explain how you will model the outcome ·Step 2 State the assumptions ·Ex. Head or tail is equally likely ·Tosses are independent ·Step 3 Assign digits to represent outcomes ·Explain how you assign digits ·Explain how you will simulate the trial ·Step 4 Simulate many repetitions ·Run several trials ·Show work ·Chart ·Table ·List ·Step 5 State your conclusions ·Analyze the response variable ·State your conclusion in the context of the problem
Simulation Suppose a cereal manufacturer put pictures of famous athletes on cards in boxes of cereal in the hope of boosting sales. The manufacturer announces that 20% of the boxes contain a picture of Shaun White, 30% a picture of Lance Armstrong, and the rest a picture of Venus Williams. You want all three pictures. How many boxes of cereal do you expect to have to buy in order to get the complete set?
Step 1:State the Problem/Describe the Experiment ·A single component = selection of a cereal box ·Response variable – How many boxes does it take to get all 3 cards? ·We will pretend to open cereal boxed until we have one of each picture. We do this by looking at each random number and indicating what outcome it represents. We continue until we have all 3 pictures. We will use a calculator to randomly select a cereal box.
Step 2: State the assumptions ·Manufacturers percentages are correct ·Cards are randomly distributed throughout the boxes
Step 3: Assign digits to represent outcomes Use the digits 0 – 9 to represent the cards ·20% Shaun – digits 0,1 ·30% Lance – digits 2,3,4 ·50%Venus – digits 5,6,7,8,9
Step 4: Simulate many repetitions Example chart…
Step 5: State your conclusions ·Based on this simulation, we estimate that customers that want the complete set of sports star pictures will buy an average of 7.8 boxes.
·5 simulations is inadequate ·20 is a reasonable minimum by hand ·Best to do a few hundred trials
The issue of Two digits vs. One Example: Consider how we'd set up the following two situations. a)Choose a person at random from a group in which 70% are employed. b)Choose a person at random from a group in which 73% are employed Solution: In part (a), we could use one digit from a table of random digits; let 0-6 = employed; let 7-9 be unemployed. In part (b), to be precise, we'd need two digits; let 00-72 be employed and 73-99 be unemployed.
Your turn: Choose one person at random from a group in which 60% are employed, 10% are unemployed, and 30% are not in the labor force. A possible solution: 0-5 employed; 6 - unemployed, 7-9 not in labor force.
Example (5.62): (Calculator) Avioza makes 70% of his free throws in a long season. In a tournament game, he shoots 5 free throws late in the game and misses three. The fans boo, the cheerleaders look away, the coach screams, and there may be some popcorn making its way on to the court very soon. But wait, Avioza cries, I didn't choke. Let's look at this from a statistical vantage point. OK. Let's. Simulate 50 repetitions of 5 shots. Then calculate the relative frequency that Avi will miss 3 or more of his 5 shots. What conclusions can we draw?
0-6 = A single made shot 7-9 = A single missed shot X= number of made shots out of 5 Look at 5 random digits – count the number of made shots Repeat more than 20 times Record the frequency of the number of made shots per 5 taken Example 9,6,7,4,6 1,2,1,4,9 ETC. (3 made) (4 made) Based on this simulation, the probability of Avi missing 3 or more shots is 11/50 = .22
Homework ·5.60, 5.61, 5.67