Exercise A: A hog raiser in a certain province uses two meth ods of pig-farming: intensive pig farming, where pigs are housedindoorsin group-housing or straw-lin essheds; andextensive pigfarming, where pigs are allowed to wander around the farm or fence. Test the hypothesis wheth er or not the mean weight of pigs in intensive farmingis better th an the extensive farming based from the mean weight of the pigs in the sample with data shown below. Use a one-tailed test at a = 1%. Inten sive farming: X, = 85 kg, si = 10 kg, and n = 55 Extensive farming: X, = 79 kg, s = 6 kg, and n, = 45
The following null and alternative hypotheses need to be tested:
"H_0:\\mu_1\\le\\mu_2"
"H_a:\\mu_1>\\mu_2"
This corresponds to a right-tailed test, and a z-test for two means, with known population standard deviations will be used.
Based on the information provided, the significance level is "\\alpha = 0.01," degrees of freedom, and the critical value for a right-tailed test is "z_c = 2.3263."
zc
=2.33.
The rejection region for this right-tailed test is "R = \\{z: z > 2.3263\\}."
The z-statistic is computed as follows:
"=\\dfrac{79-85}{\\sqrt{6^2\/45+10^2\/55}}=-3.7081"
Since it is observed that "z = -3.7081 \\le2.3263= z_c ," it is then concluded that the null hypothesis is not rejected.
Using the P-value approach:
The p-value is "p = P(Z>-3.7081)=0.999896," and since "p = 0.999896 \\ge 0.01=\\alpha," it is concluded that the null hypothesis is not rejected.
Therefore, there is not enough evidence to claim that the population mean "\\mu_1"
is greater than "\\mu_2," at the "\\alpha = 0.01" significance level.
Comments
Leave a comment