A machine at Juice Fresh is set to fill fruit juice in 250ml cartons. It is known that when the machine is working properly, the mean amount of juice-filled is 250ml. A supervisor from the quality control department took a random sample of cartons and found that the mean amount of juice-filled was 258ml with a standard deviation of 16ml. Using the 1% significance level, the supervisor wants to test if the machine is working properly. Assume that the amounts of juice-filled in all such cartons follow the normal distribution.
1) Find the rejection region(s) and calculate the test statistics. [6 marks]
2) Hence, can you conclude that the mean amount of fruit juice filled is different from 250ml? Does the machine need adjustment? [4 marks]
1
Expert's answer
2019-08-28T13:44:04-0400
Hypothesis Test For Population Mean µ
H0:μ=μ0=250H1:μ=μ0(two−tailedtest)
Hypothesis Test When σ Is Not Known:
The random variable
s/nXˉ−μ0
has a Student's t-distribution with n-1 degrees of freedom. Reject H0 if t<−tα/2;n−1 or t>tα/2;n−1.
Given that α=0.01,μ0=250,Xˉ=258,s=16
Let n=25. Then df=n−1=24.
tα/2;n−1=t0.01/2;25−1=2.796940
The rejection region for this two-tailed test is
R={t:∣t∣>2.796940}
Let n=30. Then df=30−1=29.
The rejection region for this two-tailed test is
R={t:∣t∣>2.756386}
Let n=31. Then df=n−1=30.
R={t:∣t∣>2.749996}
The rejection region for this two-tailed test is
Let n=36. Then df=n−1=35.
tα/2;n−1=t0.01/2;36−1=2.723806
The rejection region for this two-tailed test is
R={t:∣t∣>2.723806}
Let n=49. Then df=49−1=48.
tα/2;n−1=t0.01/2;49−1=2.682204
The rejection region for this two-tailed test is
R={t:∣t∣>2.682204}
The t-statistic is computed as follows:
s/nXˉ−μ0
If n=25
R={t:∣t∣>2.796940}s/nXˉ−μ0=16/25258−250=2.5
Decision about the null hypothesis
Since it is observed that ∣t∣=2.5<2.796940, it is then concluded that the null hypothesis is not rejected.
Conclusion
It is concluded that the null hypothesis Ho is not rejected. Therefore, there is not enough evidence to claim that the population mean μ is different than 250, at the 0.01 significance level.
Since it is observed that ∣t∣=2.738613<2.756386, it is then concluded that the null hypothesis is not rejected.
Conclusion
It is concluded that the null hypothesis Ho is not rejected. Therefore, there is not enough evidence to claim that the population mean μ is different than 250, at the 0.01 significance level.
Since it is observed that ∣t∣=2.783882>2.749996, it is then concluded that the null hypothesis is rejected.
Conclusion
It is concluded that the null hypothesis Ho is rejected. Therefore, there is enough evidence to claim that the population mean μ is different than 250, at the 0.01 significance level.
If n=36
R={t:∣t∣>2.723806}s/nXˉ−μ0=16/36258−250=3
Decision about the null hypothesis
Since it is observed that ∣t∣=3>2.723806, it is then concluded that the null hypothesis is rejected.
Conclusion
It is concluded that the null hypothesis Ho is rejected. Therefore, there is enough evidence to claim that the population mean μ is different than 250, at the 0.01 significance level.
We see that if n≥31, ,there is enough evidence to claim that the population mean μ is different than 250, at the 0.01 significance level. Therefore, the machine needs adjustment.
c) One may assume a sample of cartons is not very large in practice,
for example, less than 50. In general, it is possible to apply the
sample size greater than 49.
Assignment Expert
29.08.19, 17:42
a) The value 2.796940 was taken from the table of critical values for
t-distribution (the row 24 and the column 0.005) at
https://www.thoughtco.com/student-t-distribution-table-3126265 or with
a help of the command qt(1-.01/2,24) in R Studio; b) The sample size
was not given in the question, hence different values of the sample
size were used in the solution.
Risdi
29.08.19, 16:57
How you perform a calculation of a) t α/2;n−1 =t
0.01/2;25−1=2.796940 b) How you can decide n=25 and based on what
assumption. c) Why stop until n=49?
Comments
c) One may assume a sample of cartons is not very large in practice, for example, less than 50. In general, it is possible to apply the sample size greater than 49.
a) The value 2.796940 was taken from the table of critical values for t-distribution (the row 24 and the column 0.005) at https://www.thoughtco.com/student-t-distribution-table-3126265 or with a help of the command qt(1-.01/2,24) in R Studio; b) The sample size was not given in the question, hence different values of the sample size were used in the solution.
How you perform a calculation of a) t α/2;n−1 =t 0.01/2;25−1=2.796940 b) How you can decide n=25 and based on what assumption. c) Why stop until n=49?