Question #292401

From a random sample of 10 pigs, fed on diet A, the increases in weight in a certain



period were 10,6,16,17,13,12,8,14,15,9 lbs. For another random sample of 12 pigs fed on



diet B, the increases in the same period were 7,12,22,15,12,14,18,8,21,23,10,17 lbs. Test



whether diets A and B differ significantly as regards their effect on increases in weight?



(t % at d. f. 20 is 2.08

1
Expert's answer
2022-02-03T17:45:21-0500

Diet A

n1=10xˉ1=xn1=12010=12n_1=10\\\bar x_1={\sum x\over n_1}={120\over10}=12

s12=x2(x)2n1n11=156014409=13.33333s_1^2={\sum x^2-{(\sum x)^2\over n_1}\over n_1-1}={1560-1440\over9}=13.33333

Diet B

n2=12xˉ2=xn2=17912=14.92n_2=12\\\bar x_2={\sum x\over n_2}={179\over12}=14.92

s22=x2(x)2n2n21=29892670.08311=28.9924245s_2^2={\sum x^2-{(\sum x)^2\over n_2}\over n_2-1}={2989-2670.083\over11}=28.9924245

Before we test for the difference in means we have to test their variability using F-test.

We test,

H0:σ12=σ22vsH1:σ12σ22H_0:\sigma_1^2=\sigma_2^2\\vs\\H_1:\sigma_1^2\not=\sigma_2^2

The test statistic is,

Fc=s22s12=28.992424513.3333333=2.1744F_c={s_2^2\over s_1^2}={28.9924245\over13.3333333}=2.1744

The table value is,

Fα,n11,n21=F0.05,11,9=3.102485F_{\alpha,n_1-1,n_2-1}=F_{0.05,11,9}= 3.102485 and we reject the null hypothesis if Fc>Fα,n11,n21F_c\gt F_{\alpha,n_1-1,n_2-1}

Since Fc=2.1744<F0.05,11,9=3.102485F_c=2.1744\lt F_{0.05,11,9}= 3.102485, we fail to reject the null hypothesis and conclude that the means for both diets are equal.


Now,

The hypothesis tested are,

H0:μ1=μ2vsH1:μ1μ2H_0:\mu_1=\mu_2\\vs\\H_1:\mu_1\not=\mu_2 

The test statistic is,

tc=(xˉ1xˉ2)sp2(1n1+1n2)t_c={(\bar x_1-\bar x_2)\over \sqrt{sp^2({1\over n_1}+{1\over n_2})}}

where sp2sp^2 is the pooled sample variance given as,

sp2=(n11)s12+(n21)s22n1+n22=(9×13.3333333)+(11×28.9924245)20=438.9166720=21.9458335sp^2={(n_1-1)s_1^2+(n_2-1)s_2^2\over n_1+n_2-2}={(9\times13.3333333)+(11\times28.9924245)\over20}={438.91667\over20}=21.9458335

Therefore,

tc=(1214.91667)21.95(110+112)=2.916672.0058=1.4541(4dp)t_c={(12-14.91667)\over \sqrt{21.95({1\over 10}+{1\over 12})}}={2.91667\over2.0058}=1.4541(4dp)

tct_c is compared with the table value at α=0.05\alpha=0.05 with n1+n22=10+122=20n_1+n_2-2=10+12-2=20 degrees of freedom.

The table value is,

t0.052,20=t0.025,20=2.085963t_{{0.05\over2},20}=t_{0.025,20}= 2.085963

The null hypothesis is rejected if tc>t0.025,20.t_c\gt t_{0.025,20}.

Since, tc=1.4541<t0.025,20=2.085963t_c=1.4541\lt t_{0.025,20}=2.085963, we fail to reject the null hypothesis and conclude that there is no sufficient evidence to show that the two sample means for diet A and diet B differ significantly regarding their effect on weight increase at 5% level of significance.


Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!
LATEST TUTORIALS
APPROVED BY CLIENTS