I have a set of $n$ measurements, $x_i$, representing distance to a point, and want to find the mean and the standard deviation of the distance, the problem is, I don't know how to take the precision of the measuring equipment into the equation.
The precision of the measuring equipment is given by the producer, say $\sigma_p$, so each measurement has a uncertainty: $x_i \pm \sigma_p$
When calculating the mean, I do this:
$\mu = \frac{1}{n} \sum_{i=1}^n (x_i \pm \sigma_p) = \frac{x_i}{n} \pm \sigma_p$
but I'm not sure if $\sigma_p$ should be in the equation at all or how to interpret it. Furthermore, I need to calculate the standard deviation, which usually is
$\sigma_x = \sqrt{\frac{1}{n-1} \sum_{i = 1}^n (x_i - \bar{x})^2}$,
but if I substitute my calculations I obtain
$\sigma_x = \sqrt{\frac{1}{n-1} \sum_{i = 1}^n (x_i \pm\sigma_p - (\bar{x}\pm \sigma_p))^2}$,
which I do not not how to manipulate further. Do the $+\pm\sigma_p$ and $-\pm\sigma_p$ cancel out or add up?
Should I rather just add the two together? That is
$\sigma_x^2 = \sigma_p^2 + \frac{1}{n-1}\sum_{i = 1}^n (x_i - \bar{x})^2$,
where the mean is calculated as normally,
$\bar{x} = \frac{1}{n} \sum x_i$
Any help is much appreciated!