You are on page 1of 1

Hypothesis Testing

During the course of collecting our data, it became apparent that chocolate and
Oreo were the two most popular flavors. We constructed a hypothesis to test whether or
not these flavors are equal. Our null hypothesis, Ho, is that the mean number of chocolate
and Oreo milkshakes sold are the same (1 - 2 = 0). The alternative hypothesis, Ha, is
that the mean number of milkshakes sold is not the same (1 - 2 0). This is a test on
two sample means with unknown variances. We will assume that variances are equal and
test this assumption. Our significance level is = 0.05 and our degrees of freedom is v =
18. To test our hypothesis we used a two-sided test. Our region of rejection is t -2.101
and t 2.101.

We calculated Sp to be 13.14 and used this to calculate a t value of 1.49. Our


calculated t value does not fall within our region of rejection, so we fail to reject the null
hypothesis. Even though the mean number of Oreo milkshakes sold is higher than the
mean number of chocolate milkshakes sold, the data we collected failed to show any
statistically significant difference between the sales of chocolate and Oreo milkshake.
There was a higher variation in the sales of Oreo milkshakes compared to chocolate
milkshakes. On any given day, the milkshake vendors can expect to sell the about the
same amount of chocolate and Oreo milkshakes. We also tested our assumption that the
population variances for these two flavors are equal. Our null hypothesis, Ho, is that the
variations are equal (12 = 22). Our alternative hypothesis, Ha, is that the variances are
not equal (12 22). We used a two-sided test with a rejection region of f 0.314 and f
3.18.

Using the standard deviations of the two samples, we calculated f = 1.145. This
does not fall within the region of rejection. We fail to reject our null hypothesis so our
assumption is correct.

You might also like