Errors and Numerical Integration

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
2 replies · 3K views
bobjones21
Messages
1
Reaction score
0
Wasn't sure where to ask this but here goes:

Suppose one needs to work out the area under an experimental peak using numerical integration and every data point has an error in y. How do you go about providing a sensbile error on the integrated area?

My current thinking is that the error in numerical integration is much less than the error on the data points, and the error can be estimated by either:

Adding the errors to the data points and numerically integrating a max area, and then take 2*(maxarea - area) as the error but since it is unlikely all data points are at the maxium error multiply this by 0.687 (1 standard deviation).

Alternatively can you just numerically integrate the error bars?

Anyone know what the proper way of doing this is?
 
Physics news on Phys.org
bobjones21 said:
Wasn't sure where to ask this but here goes:

Suppose one needs to work out the area under an experimental peak using numerical integration and every data point has an error in y. How do you go about providing a sensbile error on the integrated area?

My current thinking is that the error in numerical integration is much less than the error on the data points, and the error can be estimated by either:

Adding the errors to the data points and numerically integrating a max area, and then take 2*(maxarea - area) as the error but since it is unlikely all data points are at the maxium error multiply this by 0.687 (1 standard deviation).

Alternatively can you just numerically integrate the error bars?

Anyone know what the proper way of doing this is?

If the individual sample errors are random then the standard deviation of the sum of n samples goes as sqrt(n) times the standard deviation of a single sample.

If the individual sample errors are systematic then the standard deviation of the sum of n samples goes as n times the standard deviation of a single sample.

I fail to see a motivation for multiplying by 0.687.
 
It's often easier to work with variances than standard deviations. If the errors are independent, you add up all the variances to get the variance in the integrated area. If the errors are not independent, it's tricky.