Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Graphing experimental Data

  1. Mar 1, 2008 #1
    Wasn't sure which section this should be in, so please move if inappropriate. If a plot between two variables theoretically should pass through the origin, should you force the linear regression through the origin. I seem to get a much better value for my gradient when forced through the origin, and was just wondering if this is acceptable.
  2. jcsd
  3. Mar 1, 2008 #2
    I would not force it through the origin, because in reality it might not go through it due to some error.
  4. Mar 3, 2008 #3

    Andy Resnick

    User Avatar
    Science Advisor
    Education Advisor

    Curve fitting experimental data is not a simple thing. FWIW, we teach all students and post-docs a 1-credit ethics course where this (in addition to other scenarios) is discussed.

    If the theory is sound, the curve should be generated by the theory and experimental data compared against it. Deviations from experimental data points and theoretical predictions are then first decided to be statistically significant or not, and then described and (possibly) explained.

    If there is no theory (as is sometimes the case in biology, for example), then there's no curve to fit- there is no known functional (quantitative) relationship between the two quantities, although good data may imply a particular relationship.
  5. Mar 3, 2008 #4


    User Avatar
    Staff Emeritus
    Science Advisor
    Education Advisor
    2018 Award

    You should never force your curve fit to pass through a point that is not part of your data. In many cases, if the theoretical description includes a (0,0), then you can simply point out the discrepancy in your data and your theoretical description, and maybe discuss possible reasons on why that occurred (there are many systematic errors that could have caused that). But at no point should you force your data to "obey" the theory.

Share this great discussion with others via Reddit, Google+, Twitter, or Facebook