I have five data values each with an associated error. I want to find the mean of these values but also take the errors into account. How do I do this? Lets say the data values and errors are:
values = [10.0,10.2,10.4,10.6,10.8] errors = [0.05,0.06,0.03,0.04,0.02]
Just to be clear, the first datum is (10.0 +/- 0.05).
My thoughts: Can I just get an average of the values (10.4) and an average of the errors (0.04) and therefore my overall average is (10.4 +- 0.04)?
Or do I need to add the errors in quadrature? Which gives (10.4 +- 0.095) .
How do I do this ?