How to Calculate Error in Slope and Intercept for Least Squares Fit?

AI Thread Summary
To calculate the error in the slope (m) and intercept (a) for the least squares fit of the photoelectric effect data, one must consider the errors in both voltage (x = 0.05V) and frequency (y = 2*10^11). The formulas provided in the referenced book can be applied to derive the uncertainties in the slope and intercept. Specifically, the error in the slope can be calculated using the propagation of uncertainty method based on the given data pairs. The discussion highlights the importance of accurate error estimation in scientific measurements. Overall, utilizing the correct equations will yield reliable results for the least squares fitting parameters.
Ramapaa
Messages
2
Reaction score
0
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.
 
Physics news on Phys.org
Stephen Tashi said:
There's http://apps.nrbook.com/c/index.html , page 663 eqs 15.2.8

Thanks Stephen for the Link to the book. Looks good to me.
 
I was reading documentation about the soundness and completeness of logic formal systems. Consider the following $$\vdash_S \phi$$ where ##S## is the proof-system making part the formal system and ##\phi## is a wff (well formed formula) of the formal language. Note the blank on left of the turnstile symbol ##\vdash_S##, as far as I can tell it actually represents the empty set. So what does it mean ? I guess it actually means ##\phi## is a theorem of the formal system, i.e. there is a...
Back
Top