I read about "Linear regression" and I want to make sure that what I read is right(adsbygoogle = window.adsbygoogle || []).push({});

Just tell if these equations are right-

Slope of line of regression for y on x is given by

[itex] m=\frac{E(XY)-E(X)E(Y)}{E(X^{2})-[E(X)]^{2}}

\\ m=\frac{Cov(XY)}{Var(X)}

\\ m=\frac{ρσ_{x}σ_{y}}{σ_{x}^{2}}

\\ m=\frac{ρσ_{y}}{σ_{x}}

\\and\ the\ equation\ is

\\y-\bar{y}= m (x-\bar{x})

[/itex]

Similarly the slope of line of regression of x on y is given by

[itex]

\\

\\ m=\frac{ρσ_{x}}{σ_{y}}

\\and\ the\ equation\ is

\\x-\bar{x}= m (y-\bar{y})

[/itex]

Just tell me if the above equations are right.

Thanks a lot

**Physics Forums | Science Articles, Homework Help, Discussion**

Dismiss Notice

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Linear regression

**Physics Forums | Science Articles, Homework Help, Discussion**