
To find:
To perfom the test statistic for the following scenerio,
“A manufacturer of children’s vitamins claims that its vitamins are mixed so the each batch has exactly the following percentage of each color: 20% green, 40% yellow, 10% red, and 30% orange. To test the claim that these percentage are incorrect, 100 bottles of vitamins were pulled and the clors of the vitamins were tailled”.

Answer to Problem 26E
Solution:
(a)
(b) Use the chi-square test for this goodness of fit and the level of siginificance is
(c) The test statistic value is
(d) There is sufficient evidence to support that percentages stated by the vitamin manufacturer are incorrect.
Explanation of Solution
The following table represents the random sample of number of vitamins and the color
of vitamins is,
Children's Vitamins | ||||
Green | Yellow | Red | orange | |
Number | 1149 | 1948 | 552 | 1401 |
Step 1: To state the null and alternative hypotheses.
When starting the hypotheses to be used we take the null hypothesis to be that the proportion percentages stated by the vitamin manufacturer are not incorrect.
Null hypothesis:
Alternative hypothesis:
Let
Mathematically, we can write the null and alternative hypothesis for four different vitamins as follows,
Step 2: To determine whether the observed values proportion of color of vitamins is match with the
Step 3: To calculate the test statistic.
Let‘s calculate the expected value of color of vitamins. Since we are assuming that the proportion percentages stated by the vitamin manufacturer are not incorrect is calculated as follows,
And,
Formula for calculating test statistic for a Chi-Square test for goodness of fit:
The test statistic for a chi-square test for goodness of fit is given below,
Where Oi, is the observed frequency for the ith possible outcome and Ei is the expected frequency for the ith possible outcome and n is the sample size.
From the above table represent the value of n is 5050.
The following table represents the test statistic,
Children's Vitamins | Observed Values | Expected Values | |||
Green | 1149 | 1010 | 139 | 19321 | 19.1297 |
Yellow | 1948 | 2020 | -72 | 5184 | 2.56634 |
Red | 552 | 505 | 47 | 2209 | 4.37426 |
Orange | 1401 | 1515 | -114 | 12996 | 8.57822 |
Step 4: Degrees of freedom in a Chi-square test for goodness of fit:
In a chi-square test for goodness of fit the number of degrees of freedom for the chi-square distribution of the test statistic is given by,
Where k is the number of possible outcomes for each trial.
Rejection Region for Chi-Square Test for Association:
Reject the null hypothesis,
From the given information k = 4.
Substitute the above values in the formula of degrees of freedom to get the following,
Conclusion:
Use the level of significance of
Use the “Area to the right of the critical value
The test statistic value is
By using the above condition we reject the null hypothesis.
Since,
So, there is sufficient evidence to support that percentages stated by the vitamin manufacturer are incorrect.
Final statement:
(a)
(b) Use the chi-square test for this goodness of fit and the level of siginificance is
(c) The test statistic value is
(d) There is sufficient evidence to support that percentages stated by the vitamin manufacturer are incorrect.
Want to see more full solutions like this?
Chapter 10 Solutions
Beginning Statistics, 2nd Edition
- A company found that the daily sales revenue of its flagship product follows a normal distribution with a mean of $4500 and a standard deviation of $450. The company defines a "high-sales day" that is, any day with sales exceeding $4800. please provide a step by step on how to get the answers in excel Q: What percentage of days can the company expect to have "high-sales days" or sales greater than $4800? Q: What is the sales revenue threshold for the bottom 10% of days? (please note that 10% refers to the probability/area under bell curve towards the lower tail of bell curve) Provide answers in the yellow cellsarrow_forwardFind the critical value for a left-tailed test using the F distribution with a 0.025, degrees of freedom in the numerator=12, and degrees of freedom in the denominator = 50. A portion of the table of critical values of the F-distribution is provided. Click the icon to view the partial table of critical values of the F-distribution. What is the critical value? (Round to two decimal places as needed.)arrow_forwardA retail store manager claims that the average daily sales of the store are $1,500. You aim to test whether the actual average daily sales differ significantly from this claimed value. You can provide your answer by inserting a text box and the answer must include: Null hypothesis, Alternative hypothesis, Show answer (output table/summary table), and Conclusion based on the P value. Showing the calculation is a must. If calculation is missing,so please provide a step by step on the answers Numerical answers in the yellow cellsarrow_forward
- MATLAB: An Introduction with ApplicationsStatisticsISBN:9781119256830Author:Amos GilatPublisher:John Wiley & Sons IncProbability and Statistics for Engineering and th...StatisticsISBN:9781305251809Author:Jay L. DevorePublisher:Cengage LearningStatistics for The Behavioral Sciences (MindTap C...StatisticsISBN:9781305504912Author:Frederick J Gravetter, Larry B. WallnauPublisher:Cengage Learning
- Elementary Statistics: Picturing the World (7th E...StatisticsISBN:9780134683416Author:Ron Larson, Betsy FarberPublisher:PEARSONThe Basic Practice of StatisticsStatisticsISBN:9781319042578Author:David S. Moore, William I. Notz, Michael A. FlignerPublisher:W. H. FreemanIntroduction to the Practice of StatisticsStatisticsISBN:9781319013387Author:David S. Moore, George P. McCabe, Bruce A. CraigPublisher:W. H. Freeman





