Respuesta :
Answer:
a
The decision rule is
Fail to reject the null hypothesis
The conclusion is
There is no sufficient evidence to state that the mean number of calories after the posting is significantly different than before calorie content was posted
b
The effect size for the mean difference is [tex]r^2 = 0.0063[/tex]
Step-by-step explanation:
From the question we are told that
The mean of calories per mean before mandatory labeling [tex]M_1 = 786 \ calories[/tex]
The standard deviation is [tex]s_1 = 85[/tex]
The sample size is [tex]n_1 = 100[/tex]
The mean of calories per mean after mandatory labeling [tex]M_2 = 772[/tex]
The standard deviation is [tex]s_2 = 91[/tex]
The sample size is [tex]n_2 = 100[/tex]
The level of significance is [tex]\alpha = 0.05[/tex]
The null hypothesis is [tex]H_o : M_1 = M_2[/tex]
The alternative hypothesis is [tex]H_a : M_1 \ne M_2[/tex]
Generally the degree of freedom is mathematically represented as
[tex]df = n + n - 2[/tex]
=> [tex]df = 100 + 100 - 2[/tex]
=> [tex]df = 198[/tex]
Generally the pooled variance is mathematically represented as
[tex]s_p^2 = \frac{n_1 * s_1^2 + n_2 * s_2^2 }{n_1 + n_2 }[/tex]
=> [tex]s_p^2 = \frac{100 * 85^2 + 100 * 91^2 }{100 + 100 }[/tex]
=> [tex]s_p^2 = 7753[/tex]
Generally the standard error is mathematically represented as
[tex]SE = \sqrt{\frac{s_p^2 }{n_1} + \frac{s_p^2 }{n_2} }[/tex]
=> [tex]SE = \sqrt{\frac{7753 }{100} + \frac{ 7753 }{100} }[/tex]
=> [tex]SE = 12.45[/tex]
Generally the test statistics is mathematically represented as
[tex]t = \frac{ ((M_1 - M_2)-0 }{SE}[/tex]
=> [tex]t = \frac{ ((786 - 772 )-0 }{12.452}[/tex]
=> [tex]t = 1.124[/tex]
From the z t distribution table that the probability of [tex]( t > 1.124 )[/tex] at a degree of freedom of [tex]df = 198[/tex]
[tex]P(t > 1.124 ) = t_{1.124 , df = 198} = 0.13118695[/tex]
Generally the p-value is mathematically represented as
[tex]p-value = 2 * P(t > 1.124 )[/tex]
=> [tex]p-value = 2 * 0.13118695[/tex]
=> [tex]p-value = 0.2624[/tex]
From the value obtained that we see that p-value > [tex]\alpha[/tex] so the
The decision rule is
Fail to reject the null hypothesis
The conclusion is
There is no sufficient evidence to state that the mean number of calories after the posting is significantly different than before calorie content was posted
Generally the value of [tex]r^2[/tex] is mathematically represented as
[tex]r^2 = \frac{t^2 }{t^2 + df }[/tex]
=> [tex]r^2 = \frac{ 1.124^2 }{1.12 ^2 + 198 }[/tex]
=> [tex]r^2 = 0.0063[/tex]