I need to understand how to propagate the errors in the elements of a set through to the mean of the set and correctly determine the estimate for the error value of the mean.
I am designing an experiment to determine the time response of a sensor. My experiment will repeatably measure the time response of the same sensor and will generate a set of independent measurements of the time response using the ramped input method. Each element in the set will have the same random error which is RSS of the precision of the input to and output of the sensor expressed as a standard deviation which has been predetermined in another experiment $\bigl( \sigma_\epsilon \bigr) $. My thoughts are as follows:
Due to the error in the elements of the time data there will be an error in the calculation of the mean. Applying the standard error propagation formula to the equation for the mean: $$ \frac{\delta z}{z}\bigl( w,x,y,... \bigr)= \sqrt{\bigl( {\frac{\partial z}{\partial w}\delta w} \bigr)^2+\bigl( {\frac{\partial z}{\partial x}\delta x} \bigr)^2+\bigl( {\frac{\partial z}{\partial y}\delta y} \bigr)^2+...}$$
$$ \mu =\frac 1N \sum_{i=1}^N x_i $$ Yields the result: $$ \delta \mu =\frac 1N \sqrt {\sum_{i=1}^N \sigma _i^2} $$ As $ \sigma_i $ is constant for all i and normally distributed, the equation for the error in the mean simplifies to: $$ \sigma_{\mu} =\frac{\sigma_\epsilon}{\sqrt N}$$ The current estimate for the mean is therefore: $$ \mu =\frac 1N \sum_{i=1}^N x_i \pm \frac{n\sigma_\epsilon}{\sqrt N}$$ Where n is the number of standard deviations required.
In my case n = 3, so there is a 99.79% chance that the true mean is within $\pm $ three standard deviations of the estimated mean.
Next we need to consider the scatter of the elements around the estimated mean. This is the sample standard deviation of the elements ($\sigma_x$). So we now have two normally distributed independent contributions to the error; the error in the mean due to $ \sigma_\epsilon $, and the scatter around the mean $ \sigma_x $. The RSS of these values should be used and therefore the estimate for the time response would be: $$ \tau = \bar x \pm n\sqrt {\bigl( \sigma_\mu \bigr)^2 + \bigl( \sigma_x \bigr)^2} $$ I realise there is an error in $\sigma_x$ due to the error in the mean but this just adds an error to an error and I assume we can ignore this because it is symmetric?
This is probably all completely wrong and I would really appreciate someone correcting me.
Thanks.