I have a 1D data set {xi, yi} with no uncertainties in xi and with uncertainties dyi in yi. The resulting discrete function is monotonic and relatively smooth and I would like to integrate the function.
If there were no uncertainties, I would interpolate the data (either interpolation order 1 or 2) and then numerically integrate the interpolated function. But what do I do when there are uncertainties? My guess is that this is a well-studied problem but I can locate any references. Do you know of any references?
Here are my two thoughts on how I could proceed.
Quick technique. Look at two other data sets {xi, yi + dyi} and {xi, yi - dyi} which bound the original set. Interpolate and integrate as before. This would give an upper and lower bound to the integral.
More involved technique. For each value of xi, draw a value of yi' from a normal distribution with mean yi and standard deviation dyi. Then interpolate and integrate. Do this a large number of times and find the average value and its standard deviation.
Hope this makes sense. Comments?