close
標題:

aa.jpg

 

此文章來自奇摩知識+如有不便請留言告知

Math Problem

發問:

Q2.Find the simple regression line of y on x, where all i below are from 1 to 100 sum(x(i))=180, sum(y(i))=30, sum((x^2)(i))=1000, sum((y^2)(i))=750, sum(x(i)y(i))=-150 Thanks indeed.

最佳解答:

最小平方直線為 y-y'=m(x-x') x'=mean of x= 1.8, y'=mean of y= 0.3, m=∑(xi-x')(yi-y') / ∑(xi-x')2 =[∑(xi yi) - nx' y' ]/[∑xi2 - nx'2 ] =( -150 -100x 1.8x 0.3)/( 1000- 100x1.82) = -204/676 = -51/169 故得 y- 0.3 =(-51/169) (x- 1.8) or y=0.3 - (51/169)(x-1.8)

其他解答:
arrow
arrow

    ohe09nz81r 發表在 痞客邦 留言(0) 人氣()