Total standard deviation of a measured function.

Click For Summary

Discussion Overview

The discussion revolves around estimating the overall error in measurements of a function sampled at sixteen independent points, focusing on how to combine individual error bars into a single average error. Participants explore methods for calculating total standard deviation, considering the nature of the errors and their dependence on the variable.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • ElementalArea expresses uncertainty about the method used to combine errors, specifically using the formula √(1/∑(1/weights[i])) where weights are defined as 1/σ[i]^2, and questions its validity.
  • Chiro suggests that if the errors are independent, the total variance can be calculated by summing the variances at each point, but notes that if they are not independent, a covariance matrix must be considered.
  • ElementalArea provides plots to illustrate the function and the variation of errors, highlighting that the errors increase significantly at certain values, which complicates the summation of variances.
  • Chiro inquires whether ElementalArea is seeking to determine the signal-to-noise ratio for a continuous signal, suggesting a focus on the distribution of noise affecting the signal.
  • ElementalArea confirms the assumption of a continuous signal with errors arising from random noise and sampling limitations, emphasizing the use of log bins to ensure independence of measurements.

Areas of Agreement / Disagreement

Participants have not reached a consensus on the correct method for combining errors, and multiple competing views regarding the treatment of variances and independence of errors remain. The discussion is ongoing and unresolved.

Contextual Notes

Limitations include the dependence on the independence of errors, the potential for variances to change with the variable, and the implications of using a covariance matrix if errors are correlated. The discussion also highlights the challenge of handling infinite variances when sampling over a broad range.

ElementalArea
Messages
4
Reaction score
0
Hello folks,

I've got a bit of a problem with estimating the overall error in measurement of a function which I have sampled at sixteen independent points and have calculated the associated error bar with each point. The problem is I'm not sure how to combine all the sixteen errors into a single average error for all my measurements in one go.

At the moment I am simply using this method: √(1/\sum(1/weights)) where the weights are 1/\sigma^2. The problem is this is not giving me a value for the total standard deviation that I expect therefore I do not trust it but is this the correct method? Are there any others?

It might be important to point out that the errors on f(x) vary as approximately as x^2 + C, e.g. they are large when approaching 0 and large when x is large. Therefore I needed to use weighted methods to estimate the total standard deviation as an unweighted average will change depending on the range of x I sample over, e.g. the error goes to infinity if I average over infinity.

Thanks for any help physics forum!
 
Physics news on Phys.org
Hey ElementalArea and welcome to the forums.

If the errors really are independent, then the variance corresponding will be related to the sum of the variances at each point.

If the errors are not independent, then you will need to take into account what is known as a covariance matrix, which means that instead of the covariance matrix just having terms in the diagonal entries of the matrix, it will have non-zero terms in the other areas meaning that each point will have interactions which will affect the total variance of the sum of all the random variables.

If they really are independent then as I said above you just sum all the variances up. If your variances change depending on x, then again if they are independent you still add up the variances but the variances will of course be some kind of function of the x-value.

Just for clarification it might help us if you post some kind of simple graph or plot of the function so we get a better idea of the function and how the errors change.

So basically the formula to use is Var[T] = Var[A+B+C+D..+whatever] = VAR[A] + VAR + VAR[C] + ... VAR[Whatever] but you can only use this if all of the random variables are independent (very important!)
 
Hi chiro! Thanks for the reply, as requested I've included to plots showing what the function is (the bold line of the first graph) and how the errors vary as a function of (in this case) l which is the second graph.

The error bars in the first graph are on equally sized log bins (chosen specifically to ensure the errors are independent!) however hopefully now you can see why simply adding the variances seems to give me problems. I can for example have the first graph running to any value, from the 4000 displayed there all the way to 10000 if I wanted but the errors will shoot off to infinity as l goes large, therefore my total variance will become infinity too!

For example: If I sum the variances of the first graph there you will get 0.16... perhaps not too unreasonable but still larger than any of the variances on that graph. However if I shift how far I plot to say, l=6000 suddenly the sum of variances shoots to ~100000!

If it makes it any clearer I'm hoping to calculate a signal-to-noise ratio from graph one where the bold line is what represents the signal and the error bars are the noise.

6838315192_3f943c6b1f.jpg

knoxplot by ElementalArea, on Flickr

6838315188_2d87e81c78.jpg

Knoxerrors by ElementalArea, on Flickr
 
Do you want to get your signal/noise information for a continuous signal?

In other words are you assuming that the signal is continuous (or close enough to it) and that you want to find the signal/noise ratio given some distribution for your noise that is added to the uncorrupted signal?
 
I am assuming the original signal is continuous yes and it has errors arising from a sum of random noise, limited sampling (low l) and resolution (high l). However the signal and errors in those two graphs are binned into log bins before calculating things like the signal/noise (to ensure they are independent measurements which is related to the experimental set up).
 
It's nearly midnight here but if someone doesn't chime in before I do, I'll take a look at tomorrow.
 
Any help will be very welcome Chiro, thanks!
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 42 ·
2
Replies
42
Views
6K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 24 ·
Replies
24
Views
7K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 18 ·
Replies
18
Views
3K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K