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

Curve fitting

  1. Oct 18, 2015 #1
    Hi guys, i have been tasked with matching the upper a theoretical curve (seen in the picture-blue) to the upper experimental part. So far in an attempt to do this i have tried changing a single parameter in the equation i used to generate the theoretical curve, so that the sum of the differences between each observed and theoretical value is minimized.

    as an example - my calculations are as follows:

    (O1-T1)^2 = x
    (O2-T2)^2 = y

    where O and T stand for observed and theoretical. I then have summed x & y and then in excel change my parameter in the equation until x+y is minimized.

    the results i get are shown in the picture.

    I'm just wondering if there is a better method at getting the upper part of my curve to match as closely as possible.
    Also keep in mind I'm allowed to change any of the parameters in the equation i have used.

    any advice would be greatly appreciated thanks.

    Attached Files:

    • Pic.jpg
      File size:
      28.8 KB
  2. jcsd
  3. Oct 18, 2015 #2
    Oh also the equation i have used is also shown in the picture.
  4. Oct 19, 2015 #3
    i was thinking maybe a method where i attach weights to each point so that the upper part of the curve is matched more closely? Does a formal procedure for that exist?
  5. Oct 20, 2015 #4
    Or perhaps i could ignore the bottom part of my curve and do a least squares regression on the upper part only?
    not really sure if i'm thinking about this the right way.
    any input would be appreciated.

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