In: Math
Suppose that in a random selection of 100 colored candies, 30% of them are blue. The candy company claims that the percentage of blue candies is equal to 28%. Use a 0.10 significance level to test that claim.
Identify the test statistic for this hypothesis test.
Identify the P-value for this hypothesis test.
Statistical hypotheses testing: Hypotheses testing is used to make inferences about the population based on the sample data. The hypotheses test consists of null hypothesis and alternative hypothesis.
Null hypothesis: The null hypothesis states that there is no difference in the test, which is denoted by . Moreover, the sign of null hypothesis is equal , greater than or equal and less than or equal .
Alternative hypothesis: The hypothesis that differs from the is called alternative hypothesis. This signifies that there is a significant difference in the test. The sign of alternative hypothesis is less than , greater than , or not equal .
Proportion: The ratio of the number of favorable outcomes and total number of possible outcomes is in the sample called as the proportion.
Z-statistic for proportion: The standardized z- statistic is defined as the ratio of the ‘distance of the observed statistic from the proportion of the null distribution’ and the ‘standard deviation of the null distribution’.
P-value: The probability of getting the value of the statistic that is as extreme as the observed statistic when the null hypothesis is true is called as P-value. Therefore, it assumes “null hypothesis is true”.
The formula for test statistic is,
Here,
The formula for the sample proportion is, , here x is the number of success and n is the sample size.
Procedure for finding the probability value (confidence level) from standard normal table:
Let the z value be 0.ab
1.In the standard normal table first locate the value 0.a in the first z column.
2.Locate the value of 0.0b in the first z row.
3.Move right until the column of 0.0b is reached.
4.From the located 0.0b column move down until the row 0.a is reached.
5.Locate the probability value, by the intersection of the row and column values gives the area to the left of z.
The hypotheses are stated below:
From the give information, suppose that a random selection of 100 colored candies out of them 30% are blue. The candy company claims that the percentage of blue candies is equal to 28% and the level of level of significance is 0.10.
That is, and
The hypotheses are,
Null hypothesis:
Alternative hypothesis:
The test statistic is obtained as shown below:
From the given information, , and .
The test statistic is,
The p-value is obtained as shown below:
The p-value is,
Procedure for finding the probability value from standard normal table:
The z value be 0.45.
1.In the standard normal table, first locate the value 0.45 in the first z column.
2.Locate the value of 0.4 in the first z row.
3.Move right until the column of 0.05 is reached.
4.From the located 0.05 column move down until the row 0.4 is reached.
5.Locate the probability value, by the intersection of the row and column values gives the area to the left of z.
The area to the left of is,
Now the p- value is,
[Part b]
Ans:The test statistic for this hypothesis test is 0.45.
Part bThe P-value for this hypothesis test is 0.6528.