I'm getting a bit confused with the stats of a chi squared test, everyone in physics labs seems to use this as a test but I don't know why it's appropriate?(adsbygoogle = window.adsbygoogle || []).push({});

My main question is how would I take a linear equation in say excel which has been fitted to a series of (x,y) data points (I do have the errors for each point but excel doesn't use this) and fit use a chi squared test on this? (excel gives me an R^{2}value)

I have tried to find programs to do this automatically but none seem to be free.

Thanks for any help!

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

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

# How to do a chi squared test on a linear fit

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