Troubleshooting Gradient Errors in Linear Graphs: Tips and Techniques

Click For Summary

Homework Help Overview

The discussion revolves around troubleshooting gradient errors in linear graphs, specifically in the context of analyzing experimental data related to energy levels in a cadmium discharge lamp and their relationship with magnetic field strength. Participants are exploring how to calculate percentage errors in gradients derived from RMS errors of y-values and the implications of forcing a linear fit through the origin.

Discussion Character

  • Exploratory, Conceptual clarification, Mathematical reasoning, Problem interpretation

Approaches and Questions Raised

  • Participants are discussing the calculation of gradient errors and the relationship between experimental values and theoretical expectations. Questions about the appropriateness of using specific data points for linear regression and whether to force the intercept through the origin are raised. There is also mention of using chi-squared minimization for fitting a line to the data.

Discussion Status

The discussion is active, with participants providing insights into error analysis and regression techniques. Some guidance on using least squares methods and the implications of measurement uncertainties has been shared, though there is no explicit consensus on the best approach to take regarding the gradient calculations and data fitting.

Contextual Notes

Participants are working under the constraints of experimental data and are considering the implications of measurement uncertainties. There is an emphasis on accurately representing experimental data without forcing it into a specific model unless justified by statistical criteria.

garyman
Messages
19
Reaction score
0
I am trying to work out the error in the gradient for a linear graph. I have worked out the the RMS error for the y-values, but since I am using excel to determine the graident of the graph I am a little unsure about how to work out the percentage error in my gradient from the RMS error. Am i right in thinking that I should work out the gradient by hand using points within my data range and the relative error will be the RMS error (for Y-values)/Change in Y? IS there a simpler way?

I know the graph in theory should pass through (0,0) since the x values are the magnetic field strength, should I force the intercept through (0,0) or just include that point when drawing the line of best fit?
 
Last edited:
Physics news on Phys.org
Sorry, you will have to be more descriptive. What are your experimental values, and how do they relate to the theory of your experiment? John Taylor has the best error analysis book, and you should try and find it.
 
Its a plot of energy level spittings for transisitions for a cadmium dischrage lamp(J) against varying margnetic field(mT). The Graident of which is the Bohr Magnetron.
 
Alright, but what equation are you using? Are you supposed to interpolate data points for best fit? What is it that you found experimentally (energy?) and what are you calculating with E*B^2/pq (made up)?
 
[tex]\Delta[/tex]E=2[tex]\mu[/tex]*B ,where E is doublet energy spacing, mu is the Bohr Magnetron and B is the magnetic field strength. I used excel to plot a linear-least squares regression line.
 
This is all taken from Taylor, imagine you have a line of y=A+Bx, and if you want to fit to a line then a chi squared minimization would tell you that the constants will be

[tex]A=\frac{\sum x^2 \sum y - \sum x \sum xy}{\Delta}[/tex]

[tex]B = \frac{B \sum xy - \sum x \sum y}{\Delta}[/tex]

[tex]\Delta = N \sum x^2 - (\sum x)^2[/tex]

The measurements of each yi, in your case the energy, have their own uncertainty that does not necessarily follow the standard deviation, so we do a sort of least squares standard deviation

[tex]\sigma_y = \sqrt{\frac{1}{N-2}\sum_{i=1}^N (y_i - A -Bx_i)^2}[/tex]

and now the uncertainties on each of the constants would follow as

[tex]\sigma_A = \sigma_y \sqrt{\frac{\sum x^2}{\Delta}}[/tex]

and

[tex]\sigma_B = \sigma_y \sqrt{\frac{N}{\Delta}}[/tex]

You should have seen the constant A pass through zero, but if you didn't then you cannot force it. Experimental data must be represented in its entirety unless Chauvenet's Criterion tells you that you can reject a certain point, if you have a measurement way outside the spread of the distribution, say a couple sigma for a normalized distribution.

Is this helpful? Sorry I couldn't get back to you before now.
 

Similar threads

Replies
6
Views
5K
  • · Replies 15 ·
Replies
15
Views
4K
  • · Replies 17 ·
Replies
17
Views
4K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 20 ·
Replies
20
Views
4K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
4
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 19 ·
Replies
19
Views
3K
  • · Replies 4 ·
Replies
4
Views
3K