# Hypothesis Testing

Hypothesis Testing
QNT 561

Hypothesis Testing
The question we are trying to answer with this hypothesis test, is frozen yogurt a healthy alternative to ice cream for diabetics? The null hypothesis statement is there is no difference between how ice cream and frozen yogurt affects the blood sugar levels of diabetics. The alternative hypothesis is that there is a difference between ice cream and frozen yogurt affects blood sugar levels of diabetics.
The hypothesis testing uses the sugar values in ice cream and frozen yogurt. There are repeated measures for each of the kinds of frozen desert and the sample size is 19. This makes the t-test the most appropriate choice. The measurement scale is ratio and the samples or data are independent. The confidence level is 95% and the alternative hypothesis will be two tailed with a rejection level of z < -1.96 or z > 1.96.
The results from the t-test show the mean to be 17.21 for ice cream and 15.805 for frozen yogurt. The standard deviation is 6.28 for ice cream and 5.033 for frozen yogurt.   The difference between ice cream and frozen yogurt is 1.4053, pooled variance is 32.3646, and   pooled standard deviation is 5.68.90. The standard error of difference is 1.8458 and the lower 95% confidence interval is -2.3381 while the upper is 5.1486. The margin of error is 3.7434.
Based on this information we are going to reject our null hypothesis. Using the effects of consuming sugar on diabetes, the sugar values of ice cream compared to frozen yogurt show enough of a difference to conclude that the null hypothesis can be rejected. The null hypothesis that there is no difference between how ice cream and frozen yogurt affects the blood sugar levels of diabetics is rejected because the more sugar a diabetic consumes, the more of a risk the diabetic is taking while choosing a desert.