A coffee vending machine is designed to dispense 180 ml of coffee but its owner
suspects that it is dispensing more than what is designed for. He took a random
sample of 40 and found out that the mean is 192 ml with a standard deviation of
4 ml. do you think the owner is right about his suspicion? Test at 0.05 level of
significance.
The following null and alternative hypotheses need to be tested:
This corresponds to a right-tailed test, for which a t-test for one mean, with unknown population standard deviation, using the sample standard deviation, will be used.
Based on the information provided, the significance level is and the critical value for a right-tailed test is
The rejection region for this right-tailed test is
The t-statistic is computed as follows:
Since it is observed that it is then concluded that the null hypothesis is rejected.
Using the P-value approach:
The p-value for right-tailed, degrees of freedom, is and since it is concluded that the null hypothesis is rejected.
Therefore, there is enough evidence to claim that the population mean
is greater than 180, at the significance level.
Comments