Is the game fair? Developing the big ideas of inference using simulations
Craig Lazarski
Craig_Lazarski@caryacademy.org
Workshop Goals:
Data investigation Process
https://www.fi.ncsu.edu/projects/instep/
Frame the problem
We need to evaluate if the dice being produce by a company, are fair dice. A fair dice would be one in which each outcome is equally likely and occurs at the same rate in the long run.
Consider and Gather Data
We need rolls of the dice that are representative. Since each roll is independent, we can roll the dice many times and record the results.
Process Data
We will observe how many times each outcome occurs and create a table that displays the frequency of each outcome.
Explore and Visualize the data
We can create a histogram of the results. We will be interested in observing if the heights of the bars are similar or if they are different. The more they vary, the more evidence we have that the dice might be unfair.
Consider models
Count data such as this can be used to make a test statistic that is modeled by a chi square distribution. We can use this distribution to compute a p-value
Communicate and Propose Action
If the p-value is small, we will conclude that the dice produced by the company are not fair. We should consider that the less unfair a company’s dice are, the higher the sample size we will need to detect the unfair dice.
Inference Challenges
Students believe that Hypothesis tests results are definitive.
Students pay little attention to sample size, if they do, it is often for checking it off as a necessary condition.
Students do not understand that the null hypothesis is an assumption!
Students rely on p-values to make decisions and ignore what a test statistics can tell them.
Students do not understand that Type 1 and Type 2 errors are conditional!
Students find it difficult to meaningfully interpret what the Power of a test means.
Schoolopoly: Is the dice fair or biased?�
Background
Suppose your school is planning to create a board game modelled on the classic game of Monopoly. The game is to be called Schoolopoly and like Monopoly, will be played with dice. Because many copies of the game expect to be sold, companies are competing for the contract to supply dice for Schoolopoly. Some companies have been accused of making poor quality dice, and these are to be avoided, since players must believe the dice they are using are actually “fair.” Each company has provided dice for analysis, and you will be assigned one company to investigate.
Investigation tool
Task 1: Investigate the companies
Using the Analysis tab (the home page) explore each company and decide which company is fair.
Task 2: Measure the variation
Using the Test Statistic tab explore how to construct a test statistic and how to interpret that test statistic.
Task 3: Model the variation
Using the distribution tab explore the pattern and frequency with which we observe this test statistic (distribution).
Homework
Using the Chi square analysis tab use the decision rule we established to assess the dice dice baby company for the following sample sizes:
Task 4: How good is the test?
Using the Power tab explore how often we make the correct decisions for each of the companies.
Classroom Implementation
Total time: ~130 minutes
Resources