7. Hypothesis Testing: Hypothesis Test for a Population Proportion
Small-sample Proportion Test: Test Statistic and p-value
Binomial Test for a Population Proportion: Test Statistic
When the sample size is small (), the Central Limit Theorem no longer applies.
In such cases, however, the number of successes can be used as the test statistic.
Under the assumption that the null hypothesis is true, has the binomial distribution with parameters and . That is, .
Calculating the p-value of a Binomial Test for a Population Proportion with Statistical Software
Suppose you observe .
The calculation of the -value of a binomial test for is dependent on the direction of the test and can be performed using either Excel or R.
To calculate the -value of a binomial test for in Excel, make use of one of the following commands:
To calculate the -value of a binomial test for in R, make use of one of the following commands:
If , reject and conclude . Otherwise, do not reject .
This small-sample approach can also be used for large samples, as the -values will be approximately the same for either approach.
A gambling commissioner is suspicious of this claim and thinks the true chances of winning are lower than . The commissioner plans on using a statistical test to test her suspicion.
In independent trials, the commissioner wins times.
Calculate the -value of the test and make a decision regarding . Round your answer to decimal places. Use the significance level .
On the basis of this -value, should not be rejected, because .
There are a number of different ways we can calculate the -value of the test. Click on one of the panels to toggle a specific solution.
Let denote the number of observed wins out of , then .
A sample size of is not considered large enough for the Central Limit Theorem to apply. This means that we will need to use as the test statistic.
Under the null hypothesis , is binomially distributed with parameters and . That is:
Assuming , the -value of a left-tailed binomial test for can be computed with the following Excel command:
This gives:
Since , should not be rejected.
Let denote the number of observed wins out of , then .
A sample size of is not considered large enough for the Central Limit Theorem to apply. This means that we will need to use as the test statistic.
Under the null hypothesis , is binomially distributed with parameters and . That is:
Assuming , the -value of a left-tailed binomial test for can be computed with the following R command:
This gives:
Since , should not be rejected.