Im having some trouble with this, and I was hoping someone could help me.(adsbygoogle = window.adsbygoogle || []).push({});

I have a data set from which I've determined the [tex]\widehat{a}[/tex] and [tex]\widehat{b}[/tex] values and determined where the line of best fit should go using linear regression. The next thing I have to do is work out the varience using this equation:

[tex]\underline{\sum(y-\widehat{y})^2}

\\n-2[/tex]

(edit) Sorry, first time using latex, and I can't access the tutorials for some reason.

I've typed :

"\underline{\sum(y-\widehat{y})^2}

\\n-2"

But I'm not getting a new line after ^2}. How do I do this? (/edit)

I'm a bit unsure what to do here. Does that mean that I have to sum up all of my y values, and take away the expected y values that are predicted on my line of best fit which correspond to the actual values I've entered?

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

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!

# Homework Help: Linear regression and varience.

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