2021-07-27T08:41:33-04:00
If you want to fit a linear regression line y=a+bx from the above data, then what is the value of 'a'?
1
2021-07-28T06:50:00-0400
x ˉ = ∑ i x i n \bar{x}=\dfrac{\sum_ix_i}{n} x ˉ = n ∑ i x i
y ˉ = ∑ i y i n \bar{y}=\dfrac{\sum_iy_i}{n} y ˉ = n ∑ i y i
S S x x = ∑ i ( x i − x ˉ ) 2 = ∑ i x i 2 − n ( x ˉ ) 2 SS_{xx}=\sum_i(x_i-\bar{x})^2=\sum_ix_i^2-n(\bar{x})^2 S S xx = i ∑ ( x i − x ˉ ) 2 = i ∑ x i 2 − n ( x ˉ ) 2
S S y y = ∑ i ( y i − y ˉ ) 2 = ∑ i y i 2 − n ( y ˉ ) 2 SS_{yy}=\sum_i(y_i-\bar{y})^2=\sum_iy_i^2-n(\bar{y})^2 S S yy = i ∑ ( y i − y ˉ ) 2 = i ∑ y i 2 − n ( y ˉ ) 2
S S x y = ∑ i ( x i − x ˉ ) ( y i − y ˉ ) = ∑ i x i y i − n x ˉ y ˉ SS_{xy}=\sum_i(x_i-\bar{x})(y_i-\bar{y})=\sum_ix_iy_i-n\bar{x}\bar{y} S S x y = i ∑ ( x i − x ˉ ) ( y i − y ˉ ) = i ∑ x i y i − n x ˉ y ˉ
b = S S x y S S x x b=\dfrac{SS_{xy}}{SS_{xx}} b = S S xx S S x y
a = y ˉ − b x ˉ a=\bar{y}-b\bar{x} a = y ˉ − b x ˉ
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