Question #348788

Shown below are ages (𝑥) and the systolic blood pressures (𝑦) of 9 patients in a certain hospital. Find the regression equation.




Age (𝑥) 26 40 35 50 45 55 28 30 52




Blood pressure (𝑦) 110 140 120 145 130 150 150 125 142

1
Expert's answer
2022-06-08T06:16:02-0400

Linear regression: y=θ0+θ1xy=\theta_0+\theta_1x, where θ1=xyxyx2(x)2\theta_1 = \frac{\overline{xy}-\overline{x}\cdot\overline{y}}{\overline{x^2}-(\overline{x})^2}, θ0=yθ1x\theta_0=\overline{y}-\theta_1\overline{x}.


x=[26,40,35,50,45,55,28,30,52]x=[26, 40, 35, 50, 45, 55, 28, 30, 52]

y=[110,140,120,145,130,150,150,125,142]y=[110, 140, 120, 145, 130, 150, 150, 125, 142]

x2=[676,1600,1225,2500,2025,3025,784,900,2704]x^2 = [676, 1600, 1225, 2500, 2025, 3025, 784, 900, 2704]

xy=[2860,5600,4200,7250,5850,8250,4200,3750,7384]xy=[2860, 5600, 4200, 7250, 5850, 8250, 4200, 3750, 7384]


x=19(26+40+35+50+45+55+28+30+52)=3619\overline{x}= \frac{1}{9}(26+40+ 35+ 50+ 45+ 55+ 28+ 30+ 52)= \frac{361}{9}

y=19(110+140+120+145+130+150+150+125+142)=4033\overline{y}= \frac{1}{9}(110+ 140+ 120+ 145+ 130+ 150+ 150+ 125+ 142) = \frac{403}{3}

x2=19(676+1600+1225+2500+2025+3025+784+900+2704)=154399\overline{x^2}= \frac{1}{9}(676+ 1600+ 1225+ 2500+ 2025+ 3025+ 784+ 900+ 2704) = \frac{15439}{9}

xy=19(2860+5600+4200+7250+5850+8250+4200+3750+7384)=164483\overline{xy}= \frac{1}{9}(2860+ 5600+ 4200+ 7250+ 5850+ 8250+ 4200+ 3750+ 7384) = \frac{16448}{3}

(x)2=13032181(\overline{x})^2= \frac{130321}{81}


x2(x)2=15439913032181=863081\overline{x^2}-(\overline{x})^2 = \frac{15439}{9}-\frac{130321}{81}=\frac{8630}{81}

xyxy=16448336134033=961399\overline{xy}-\overline{x}\cdot\overline{y}=\frac{16448}{3}-\frac{361}{3}\cdot\frac{403}{3}=-\frac{96139}{9}


θ1=863081:(961399)=690407787259\theta_1=\frac{8630}{81}:(-\frac{96139}{9})=-\frac{69040}{7787259}

θ0=4033+6904077872593619=943971957170085331\theta_0=\frac{403}{3}+\frac{69040}{7787259}\frac{361}{9}=\frac{9439719571}{70085331}


y=943971957170085331690407787259xy=\frac{9439719571}{70085331} -\frac{69040}{7787259}x

y=40.1110.009xy=40.111-0.009x


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