CHAPTER LESSONS - FREE
CHAPTER LESSONS - PREMIUM
PAST EXAMS - PREMIUM
CHEAT SHEET - PREMIUM

Q1a) t-Test of Difference in Means

Luki Corporation manufactures bottles of an organic energy booster which are supposed to contain a mean fill of 500 ml. The filling process follows a normal distribution. The company uses a filling machine,FIU17, which was a top seller when it was purchased. As the manager of Luki, you oversee the volume of drink put into the bottles so that each bottle is not overfilled leading to a reduction in profits. However, over the last few months, you have received many calls from your customers claiming that they were cheated because some bottles contained less than 500 ml. You took a random sample of 25 bottles which showed a mean fill of 497.84 ml and a standard deviation of 2.5 ml. Keep four decimal places and use a = 0.05.

a) You contacted the company that sold you the FIU17. A new filling machine FIU20 has been introduced and you were offered a trade-in after a 5-day trial period. The filling process follows a normal distribution. You would opt for the FIU20 machine provided it would help to reduce customers’ claims of being cheated, i.e., the mean fill should improve. You took a random sample of 25 bottles produced by FIU20, showing a mean of 500.64 ml and a standard deviation of 1.80 ml. Is there enough evidence to infer that there will be fewer customers’ claims of being cheated if you opt for the FIU20 machine?

SOLUTION

In this question, they are asking us to test the difference in the two population means. There are two different formulas that could be used here, but only one is correct: the Equal Variances t Test, and the Unequal Variances t Test. In order to choose the correct formula, we must first conduct an F test to check if equal variances can be assumed…

STEP 1 | F-test to check for equal variances:

Given

FIU17: s_{1} = 2.5, n_{1} = 25

FIU20: s_{2} = 1.80, n_{2} = 25

Hypotheses

Null Hypothesis

H_0: \frac{\sigma_{1}^2}{\sigma_{2}^2} = 1 (Variances are equal)

Alternative Hypothesis

H_1: \frac{\sigma_{1}^2}{\sigma_{2}^2} \neq 1 (Variances are not equal)

Rejection Region

Degrees of Freedom

    \[ df_{1} = n_{1} - 1 = 25 - 1 = 24 \]


    \[ df_{2} = n_{2} - 1 = 25 - 1 = 24 \]

Critical Value

The significance level is 0.05 (5%) and it is a two-tailed test.

The upper critical value for df_{1} = 24 and df_{2} = 24 at this level is 2.27.

The lower critical value is 1/2.27 = 0.4405​.

Decision Rule

Therefore, the null hypothesis will be rejected if F < 0.4405 or if F > 2.27.

Test Statistic

The F-statistic is calculated as:

    \[ F = \frac{s_{1}^2}{s_{2}^2} \]


    \[ F = \frac{2.5^2}{1.80^2} \]


    \[ F = 1.929 \]

Conclusion

Since the calculated F-value of F = 1.929 is greater than the lower critical value (0.4405) and less than the upper critical value (2.27), we fail to reject the null hypothesis.

Therefore, we can assume that the variances of the two populations are equal.

STEP 2 | t-Test of \mu_{1}-\mu_{2} When \sigma_{1}^{2} = \sigma_{2}^{2}

Given:

Mean of FIU17: \bar{x}_{FIU17} = 497.84 ml

Mean of FIU20: \bar{x}_{FIU20} = 500.64 ml

Standard Deviation of FIU17: s_{FIU17} = 2.5 ml

Standard Deviation of FIU20: s_{FIU20} = 1.8 ml

Sample Size for both machines: n = 25

Significance Level: (\alpha) = 0.05

Hypotheses

Null Hypothesis

    \[(H_0): \mu_{FIU17} - \mu_{FIU20} = 0 \]

There is no difference in the mean fills of FIU17 and FIU20.

Alternative Hypothesis

    \[(H_1): \mu_{FIU17} - \mu_{FIU20} < 0 \]

FIU20 has a higher mean fill than FIU17.

Test Statistic

Pooled Variance

Since we have assumed equal variances, we first calculate the pooled variance:

    \[ s_{p}^2 = \frac{(n_{1}-1)s_{1}^2 + (n_{2}-1)s_{2}^2}{n_{1} + n_{2} - 2} \]


    \[ s_{p}^2 = \frac{(25-1)(2.5)^2 + (25-1)(1.80)^2}{25+25-2} \]


    \[ s_{p}^2 = \frac{24 \times 6.25 + 24 \times 3.24}{48} \]


    \[ s_{p}^2 = \frac{150 + 77.76}{48} \]


    \[ s_{p}^2 = 227.76 / 48 \]


    \[ s_{p}^2 = 4.745 \]

Calculation of t

The test statistic (t) using the pooled variance is calculated as:

    \[ t = \frac{\bar{x}_{FIU17} - \bar{x}_{FIU20}}{\sqrt{s_p^2 \left(\frac{1}{n} + \frac{1}{n}\right)}} \]

    \[ t = \frac{497.84 - 500.64}{\sqrt{4.745 \left(\frac{1}{25} + \frac{1}{25}\right)}} \]

    \[ t = \frac{-2.8}{\sqrt{4.745 \times \frac{2}{25}}} \]

    \[ t = \frac{-2.8}{\sqrt{0.3796}} \]

    \[ t = \frac{-2.8}{0.6161} \]

    \[ t = -4.5447 \]

Rejection Region

The critical value of t is given as -1.676. The rejection region for a left-tailed test at the 0.05 significance level is ( t < -1.676 ).

Conclusion

Since the calculated test statistic ( t = -4.5447 ) is less than the critical value of -1.676, we reject the null hypothesis.

There is sufficient evidence at the 0.05 significance level to conclude that the FIU20 machine leads to a mean fill improvement compared to the FIU17 machine.

Post a comment

Leave a Comment

Your email address will not be published. Required fields are marked *