Error Calculations: Calculating the Gradient & Error Propagation

In summary, the conversation discusses the equation for calculating the gradient of a line of best fit for a set of data, as well as a function for estimating the standard deviation of a normal error distribution. The speaker is seeking clarification on the rule of error propagation used to arrive at this equation.
  • #1
BOAS
552
19
There isn't a problem question really, but I think this section is most appropriate since this is a question born out of my lab module.

To calculate the gradient of a line of best fit for a set of data you can use the equation


M = n [itex]\sum[/itex]xy - [itex]\sum[/itex]x[itex]\sum[/itex]y / n[itex]\sum[/itex]x2 - ([itex]\sum[/itex]x)2

Where [itex]\sum[/itex]xy = x1y1 + x2y2... and so on.

I'm told that you can calculate the eroor on this gradient to be

σM = [itex]\sqrt{\sum}[(y-Y)[/itex]-M(x-X)]2 / n[itex]\sum[/itex]x2 - ([itex]\sum[/itex]x)2



Capital letters are supposed represent mean values of x and y (don't know how to get xbar in latex) and the square root should encompass the entire equation.

My question is this, from what rule of error propagation do we arrive at this equation? I can't see how i'd arrive at this using what I already know, so I'm thinking there's some stuff here that I'm missing.

Again, this is not homework, but for peace of mind.

Thanks!
 
Physics news on Phys.org
  • #2
The function you've given for the error is an estimate of the standard deviation of a normal, or Gaussian error distribution. Errors that are caused by random effects follow this distribution. See the Wiki article for more info

http://en.wikipedia.org/wiki/Normal_distribution
 

1. What is the purpose of calculating the gradient in error calculations?

The gradient in error calculations is used to determine the rate of change of a function at a specific point. This can help in understanding how sensitive the function is to changes in its inputs and can be useful in minimizing errors in calculations.

2. How is the gradient calculated?

The gradient is calculated by taking the partial derivative of the function with respect to each input variable. This results in a vector of partial derivatives, which represents the slope of the function in each direction.

3. What is error propagation and why is it important?

Error propagation is the process of calculating the uncertainty in a function's output based on the uncertainties in its input variables. It is important because it allows for a more accurate representation of the true value of a measurement or calculation.

4. How is error propagation calculated?

Error propagation is calculated by using the gradient vector and the uncertainties in the input variables to determine the uncertainty in the function's output. This is done by multiplying the gradient vector by the uncertainties and taking the square root of the sum of the squared values.

5. What factors can contribute to error in calculations?

There are several factors that can contribute to error in calculations, including rounding errors, measurement errors, and uncertainties in input values. These errors can accumulate and result in a larger overall error in the final calculation.

Similar threads

  • Introductory Physics Homework Help
Replies
15
Views
998
  • Introductory Physics Homework Help
Replies
3
Views
2K
  • Introductory Physics Homework Help
Replies
5
Views
4K
  • Introductory Physics Homework Help
Replies
2
Views
811
  • General Math
Replies
5
Views
1K
  • Introductory Physics Homework Help
Replies
15
Views
2K
  • Programming and Computer Science
Replies
4
Views
8K
  • Introductory Physics Homework Help
Replies
5
Views
2K
  • Introductory Physics Homework Help
Replies
5
Views
1K
  • Introductory Physics Homework Help
Replies
2
Views
1K
Back
Top