Chi Squared Tests for Standard Distributions (Edexcel A Level Further Maths): Revision Note
Chi Squared for Discrete Uniform
How do I do a chi-squared test with a discrete uniform distribution?
A chi-squared (
) goodness of fit test can be used to test data from a sample which suggests that the population has a discrete uniform distribution
For a random variable
with the discrete uniform distribution
can take a finite number
of distinct values
each value is equally likely
There will never be any parameters to estimate for a discrete uniform goodness of fit test
What are the steps?
STEP 1: Write the hypotheses
: A discrete uniform distribution is a suitable model for Variable X
: A discrete uniform distribution is not a suitable model for Variable X
The hypotheses should always be stated in the context of the question
Make sure you clearly write what the variable is and don’t just call it 'Variable X'
STEP 2: Calculate the expected frequencies
each expected frequency is the same
divide the total frequency
by the number of possible outcomes
STEP 3: Calculate the degrees of freedom for the test
For k possible outcomes
degrees of freedom is
STEP 4: Calculate
using either version of the formula
Determine the appropriate
critical value
is the critical value with
degrees of freedom for significance level
use the 'Percentage Points of the
Distribution' table in the exam formula booklet
Or, alternatively, use a calculator to find the
p-value
This is the probability of obtaining a chi-squared value of
or more
STEP 5: Decide whether there is evidence to reject the null hypothesis
Compare the statistic with the critical value you have determined
If
> critical value (or
) then there is sufficient evidence to reject
If
< critical value (or
) then there is insufficient evidence to reject
STEP 6: Write your conclusion
If you reject H0
A discrete uniform distribution is not a suitable model
If you do not reject H0
A discrete uniform distribution is a suitable model
Be sure to state your conclusion in the context of the question
Worked Example
A car salesperson is interested in how her sales are distributed and records her sales results over a period of six weeks. The data is shown in the table.
Week | 1 | 2 | 3 | 4 | 5 | 6 |
Number of sales | 15 | 17 | 11 | 21 | 14 | 12 |
Test, at the 5% significance level, whether or not the observed frequencies could be modelled by a discrete uniform distribution.


Chi Squared for Binomial
How do I do a chi-squared test with a binomial distribution?
A chi-squared (
) goodness of fit test can be used to test data from a sample suggesting that the population has a binomial distribution
For a random variable
to have a binomial distribution:
the number of trials (
) must be fixed in each observation
the trials must be independent
each trial can have only two outcomes (success and failure)
the probability of success (
) must be constant
A question may give a precise binomial distribution
to test
with an assumed value for
Or you may be asked to test whether a binomial distribution is suitable without being given an assumed value for
In this case you will have to calculate an estimate for the value of
for the binomial distribution
For
observations of the variable
is the frequency for each value of
(these are given in a table in the question)
is from
and
is the sum of the observed values
Remember that estimating this parameter uses up one degree of freedom
What are the steps?
STEP 1: Write the hypotheses
: A binomial distribution is a suitable model for Variable X
: A binomial distribution is not a suitable model for Variable X
The hypotheses should always be stated in the context of the question
Make sure you clearly write what the variable is and don’t just call it 'Variable X'
If you are given the assumed value of
then state the precise distribution
STEP 2: Calculate the expected frequencies
If you were not given the assumed value of p then you will first have to estimate it using the observed data
Find the probability of the outcome using the binomial distribution
Multiply the probability by the total number of observations
You will have to combine rows/columns if any expected values are less than 5 until they are greater than 5
STEP 3: Calculate the degrees of freedom for the test
For
outcomes (after combining expected values if needed)
Degrees of freedom is
if you were given the assumed value of
in the question
if you had to estimate the value of
using data in the question
STEP 4: Calculate
using either version of the formula
Determine the appropriate
critical value
is the critical value with
degrees of freedom for significance level
use the 'Percentage Points of the
Distribution' table in the exam formula booklet
Or, alternatively, use a calculator to find the
p-value
This is the probability of obtaining a chi-squared value of
or more
STEP 5: Decide whether there is evidence to reject the null hypothesis
Compare the statistic with the critical value you have determined
If
> critical value (or
) then there is sufficient evidence to reject
If
< critical value (or
) then there is insufficient evidence to reject
STEP 6: Write your conclusion
If you reject H0
A binomial distribution is not a suitable model
If you do not reject H0
A binomial distribution is a suitable model
Be sure to state your conclusion in the context of the question
Worked Example
A stage in a video game has three boss battles. 1000 people try this stage of the video game and the number of bosses defeated by each player is recorded.
Number of bosses defeated | 0 | 1 | 2 | 3 |
Frequency | 490 | 384 | 111 | 15 |
It is suggested that the distribution can be modelled by a binomial distribution with .
Test, at the 5% significance level, whether or not a binomial distribution is a good model.


Chi Squared for Poisson
How do I do a chi-squared test with a Poisson distribution?
A chi-squared (χ²) goodness of fit test can be used to test data from a sample suggesting that the population has a Poisson distribution
For a random variable
to have a Poisson distribution:
events must occur independently of each other
events must occur singly and randomly
events must occur at a constant rate (in space or time)
the mean and the variance must be equal
You will either be given a precise Poisson distribution
to test
with an assumed value for
Or you will be asked to test whether a Poisson distribution is suitable without being given an assumed value for
In this case you will have to calculate an estimate for the value of
for the Poisson distribution
The estimate for
observations is just the mean of the observed sample:
is the frequency for each value of
(these are given in a table in the question)
is the sum of the observed values
Remember that estimating this parameter uses up one degree of freedom
What are the steps?
STEP 1: Write the hypotheses
: A Poisson distribution is a suitable model for Variable X
: A Poisson distribution is not a suitable model for Variable X
The hypotheses should always be stated in the context of the question
Make sure you clearly write what the variable is and don’t just call it 'Variable X'
If you are given the assumed value of
then state the precise distribution
STEP 2: Calculate the expected frequencies
If you were not given the assumed value of
then you will first have to estimate it using the observed data
Find the probability of the outcome using the Poisson distribution
Multiply the probability by the total number of observations
Poisson variables start on
and go up to infinity
If a is the smallest observed value in the table then calculate all of
for that column
If b is the largest observed value in the table then calculate all of
up to infinity
You will have to combine rows/columns if any expected values are less than 5 until they are greater than 5
STEP 3: Calculate the degrees of freedom for the test
For k outcomes (after combining expected values if needed)
Degrees of freedom is
if you were given the assumed value of
if you had to estimate the value of
STEP 4: Calculate
using either version of the formula
Determine the appropriate
critical value
is the critical value with
degrees of freedom for significance level
use the 'Percentage Points of the
Distribution' table in the exam formula booklet
Or, alternatively, use a calculator to find the
p-value
This is the probability of obtaining a chi-squared value of
or more
STEP 5: Decide whether there is evidence to reject the null hypothesis
Compare the statistic with the critical value you have determined
If
> critical value (or
) then there is sufficient evidence to reject
If
< critical value (or
) then there is insufficient evidence to reject
STEP 6: Write your conclusion
If you reject H0
A Poisson distribution is not a suitable model
If you do not reject H0
A Poisson distribution is a suitable model
Be sure to state your conclusion in the context of the question
Worked Example
A parent claims that the number of messages they receive from their teenage child within an hour can be modelled by a Poisson distribution. The parent collects data from 100 one hour periods and records the observed frequencies of the messages received from the child. The parent calculates the mean number of messages received from the sample and uses this to calculate the expected frequencies if a Poisson model is used.
Number of messages | Observed frequency | Expected frequency |
0 | 9 | 7.28 |
1 | 16 | |
2 | 23 | 24.99 |
3 | 22 | 21.82 |
4 | 16 | 14.29 |
5 | 14 | 7.49 |
6 or more | 0 |
A goodness of fit test at the 10% significance level is to be used to test the parent’s claim.
a) Write down null and alternative hypotheses to test the parent’s claim.

b) Show that the mean number of messages received per hour for the sample is 2.62.

c) Calculate the values of and
, giving your answers to 2 decimal places.

d) Perform the hypothesis test.

Chi Squared for Geometric
How do I do a chi-squared test with a geometric distribution?
A chi-squared (
) goodness of fit test can be used to test data from a sample suggesting that the population has a geometric distribution
For a random variable
to have a geometric distribution:
the trials must be independent
each trial can have only two outcomes (success and failure)
trials are repeated until the first success
the probability of success (
) must be constant
the value of the variable is the number of trials until the first success
A question may give a precise geometric distribution
to test
with an assumed value for
Or you may be asked to test whether a geometric distribution is suitable without being given an assumed value for
In this case you will have to calculate an estimate for the value of
for the geometric distribution
For
observations of the variable
is the frequency for each value of
(these are given in a table in the question)
is the sum of the observed values
Remember that estimating this parameter uses up one degree of freedom
What are the steps?
STEP 1: Write the hypotheses
: A geometric distribution is a suitable model for Variable X
: A geometric distribution is not a suitable model for Variable X
The hypotheses should always be stated in the context of the question
Make sure you clearly write what the variable is and don’t just call it 'Variable X'
If you are given the assumed value of
then state the precise distribution
STEP 2: Calculate the expected frequencies
If you were not given the assumed value of p then you will first have to estimate it using the observed data
Find the probability of the outcome using the geometric distribution
Multiply the probability by the total number of observations
Geometric variables start on 1 and go up to infinity
If a is the smallest observed value in the table then calculate all of
for that column
If b is the largest observed value in the table then calculate all of
up to infinity
The formulae
and
can help
You will have to combine rows/columns if any expected values are less than 5 until they are greater than 5
STEP 3: Calculate the degrees of freedom for the test
For
outcomes (after combining expected values if needed)
Degrees of freedom is
if you were given the assumed value of
if you had to estimate the value of
STEP 4: Calculate
using either version of the formula
Determine the appropriate
critical value
is the critical value with
degrees of freedom for significance level
use the 'Percentage Points of the
Distribution' table in the exam formula booklet
Or, alternatively, use a calculator to find the
p-value
This is the probability of obtaining a chi-squared value of
or more
STEP 5: Decide whether there is evidence to reject the null hypothesis
Compare the statistic with the critical value you have determined
If
> critical value (or
) then there is sufficient evidence to reject
If
< critical value (or
) then there is insufficient evidence to reject
STEP 6: Write your conclusion
If you reject H0
A geometric distribution is not a suitable model
If you do not reject H0
A geometric distribution is a suitable model
Be sure to state your conclusion in the context of the question
Worked Example
Mercurio is a door-to-door salesman. Over the course of a week he records the number of doors he needs to knock on each time before getting an answer.
Number of doors | 1 | 2 | 3 | 4 | 5 | Total |
Frequency | 205 | 61 | 22 | 8 | 4 | 300 |
Mercurio thinks he can model the number of doors he needs to knock on each time using a geometric random variable .
a) Using the observed frequencies, find an estimate for .

b) Conduct a goodness of fit test at the 10% significance level, and say whether a geometric random variable is a good model for the data.


You've read 0 of your 5 free revision notes this week
Sign up now. It’s free!
Did this page help you?