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

Least square fitting error

  1. Mar 26, 2012 #1
    I have some data to calculate the photoelectric effect, and with my measurements I have made a graph using the least square fitting for voltage vs. frequencies. If I have an error of x for all voltages (V) and y for all frequencies f.
    How do I calculate the error of the values m and a if my fitting is Vo= m f + a?

    If needed here I post the data I have
    The slope m is h/e = 4.59*10^(-15)V/Hz
    and the constant a is the working function in electronvolts W/e=2.11eV
    And the errors
    for voltages are x= 0.05V
    for frequencies y= 2*10^11
    and I am using 5 data pairs.
  2. jcsd
  3. Mar 27, 2012 #2

    Stephen Tashi

    User Avatar
    Science Advisor

  4. Apr 19, 2012 #3
    Thanks Stephen for the Link to the book. Looks good to me.
  5. Apr 19, 2012 #4
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook