# Propagation of errors direct calculation

hoping this is not straight a duplicated from another post, I'm writing you because I have a big confusion about propagation of errors and the best way to calculate it in Mathematica.

First of all, lets assume I have a set of data:

x={1,2,3}, y={3,4,6}.


If I want to compute the error in y(x) = m*x+a, say da, dm, how should I proceed?

Is this correct?, and if so, where did it come from? Is there any way to calculate these errors directly in Mathematica?

Also, if my values of x and y have uncertainty values assosiacted, like:

data={{x,y,errx,erry},{1,3,0.1,0.3},{2,4,0.1,0.25},{3,6,0.15,0.2}}


How should I do it?

• Have a look at Around and friends. – b.gates.you.know.what Sep 30 at 7:33