Linear Regression Use a linear model
y=ax+b
, we can find the coefficients
a,b
, and the coefficient of determination
R^(2)
.
a=0.8392857 and b=0.07142857
y=ax+b=>
R^(2)=1-(\sum_(i=1)^n (y_(i)-y(x_(i)))^(2))/(\sum_(i=1)^n (y_(i)-(1)/(n)\sum_(i=1)^n y_(i))^(2))=1-(2.991071)/(22.71429)
. important: how did I get 2.991071 and 22.71429???