Are the Dice Fair?
Comparing Counts with the 𝛘2 Goodness of Fit Test
a.k.a. The Badness-of-Grammar Test
Unit 5, 6, 7 Test
Handed back
Haven’t taken it? You have until 4/15 (tax day) to make it up
Find a VS
What common traits justify using a ꭓ² Goodness of Fit Test?
What type of variable(s) are you using?
𝛘2 Goodness of Fit Test Examples
To evaluate whether the distribution of stock price changes over time follows a particular expected distribution, such as the normal distribution.
To assess whether the observed genotype frequencies in a population match the expected frequencies under the Hardy-Weinberg equilibrium.
To check if the proportions of defective items produced by different machines in a factory are consistent with each other.
To evaluate whether the distribution of grades among students in different classes follows a particular expected distribution.
To analyze whether the proportions of people supporting different political parties in different regions are consistent with a theoretical distribution.
To determine if the ratings given by customers for different aspects of a service follow a particular expected distribution.
To examine whether the distribution of wins, losses, and ties for a sports team across multiple seasons matches a certain expected distribution.
To assess whether the distribution of different species in an ecosystem matches the expected distribution based on ecological models.
To investigate whether the distribution of blood types in a population matches the expected distribution based on genetic inheritance.
To determine if the distribution of preferences for different product features matches the expected distribution.
What common traits justify using a ꭓ² Goodness of Fit Test?
What type of variable(s) are you using?
𝛘2 Goodness of Fit Test Examples
To determine if the distribution of preferences for different product features matches the expected distribution.
To assess whether the observed genotype frequencies in a population match the expected frequencies under the Hardy-Weinberg equilibrium.
To check if the proportions of defective items produced by different machines in a factory are consistent with each other.
To evaluate whether the distribution of grades among students in different classes follows a particular expected distribution.
To analyze whether the proportions of people supporting different political parties in different regions are consistent with a theoretical distribution.
To determine if the ratings given by customers for different aspects of a service follow a particular expected distribution.
To examine whether the distribution of wins, losses, and ties for a sports team across multiple seasons matches a certain expected distribution.
To assess whether the distribution of different species in an ecosystem matches the expected distribution based on ecological models.
To investigate whether the distribution of blood types in a population matches the expected distribution based on genetic inheritance.
To evaluate whether the distribution of stock price changes over time follows a particular expected distribution, such as the normal distribution.
Important Ideas: 𝛘2 Goodness of Fit Test
7
Fair Dice?
We use dice a lot in our math classes to learn various concepts… but are they fair?
Can we use the 𝛘2 GOF test?
8
Hypotheses
If you were going to test this claim, what would your hypotheses be?
Write them in plain old English.
Ho:
Ha:
Test Your 🎲
What’s the probability of that test statistic?
First we need to know the shape of the distribution.
Is it normal? Is it something else?
Play around with the 𝛘2 distribution link on stapplet to find out.
df = number of categories - 1 (we have 6 categories)
12
Calculating the Test Statistic and p-Value
With your calculators
Enter your data into Lists first
Then,
Where
(we have 6 categories)
14
Big Ideas: 𝛘2 Goodness of Fit Test