A scientist assumes that there is a linear relationship between the amount of vitamin supplement supplied to cattle and subsequent yield of milk obtained. Eight cows of same kinds were selected at random and treated, weekly with water in which X grams of vitamin supplements was dissolved. The yield Y litter of milk was recorded. Cattle A B C D E F G H X 1.0 1.4 2.1 2.3 3.0 3.2 4.0 4.3 Y 3.9 4.4 4.5 5.0 5.1 5.3 5.5 5.4
"\\bar{x}=\\dfrac{\\sum_ix_i}{n}=\\dfrac{21.3}{8}=2.6625"
"\\bar{y}=\\dfrac{\\sum_iy_i}{n}=\\dfrac{39.1}{8}=4.8875"
"SS_{xx}=\\sum_ix_i^2-\\dfrac{1}{n}(\\sum_ix_1)^2=66.39\u2212\\dfrac{1}{8}(21.3)^2"
"=9.67875"
"SS_{yy}=\\sum_iy_i^2-\\dfrac{1}{n}(\\sum_iy_1)^2=193.33-\\dfrac{1}{8}(39.1)^2"
"=2.22875"
"=108.49-\\dfrac{1}{8}(21.3)(39.1)=4.38625"
"slope=m=\\dfrac{SS_{xy}}{SS_{xx}}=\\dfrac{4.38625}{9.67875}=0.4532"
"b=\\bar{y}-m\\cdot\\bar{x}=4.8875-0.4532(2.6625)"
"=3.6809"
The equation of the trend line is
Comments
Leave a comment