Can the margin of error be used in this kind of problem? I've recently been learning about margin of error, i.e. $E=\frac{1}{\sqrt{n}}$.
I met this problem which doesn't ask to find any margin of error but I wonder can it be used in this situation.
Nails have a mean of 20mm and a standard deviation of 3mm. If 10000 nails were measured, how many would have a length between 17mm and 26mm?
The answer to the question is 8185.
But can an error or an uncertainty of some sort be included?
The margin of error is 1% which is 100 nails. So is it correct to give an answer of $8185\pm 100$ to 95% confidence? Or is the margin of error not appropriate here?
 A: $MOE = t_{\frac{\alpha}{2}}.\frac{s}{\sqrt{n}}$ if population variance is not known and sample size is small
or $MOE = z\frac{\sigma}{\sqrt{n}}$ if population variance is known and/ or sample size is large.
Where $\sigma$ is the standard deviation of what is being measured and n is the sample size.  In this problem, you are asked to find the number of nails that fall into a given range of size having given their distribution information.  From my understanding of statistics, MOE is well suited for point estimates, for example, a statistic like "mean" or "proportion", etc., giving a range of values the estimate could fall above and below the statistic under a certain confidence level.  In your example 100 is not the MOE but $= \frac{1.96\times3}{100}$ and what it means is you measured 10,000 nails and the average you found to be some $\bar X$ and the MOE allows you to report that the average of the 10000 nails that you measured was =$\bar X \pm MOE$ .
In your problem, you are supposed to find $P(\frac{17-20}{3}\le Z \le \frac{26-20}{3})$ $ = P(-1\le Z\le 2) = .8185$
The interpretation of which is if 10000 nails were to be sampled from this population,it is likely that $(0.8185\times 10000) = 8185$ of them would have their length fall between 17mm ad 26mm.  There is already an uncertainty built into it.  That is the difference between sampling distribution for which MOE is relevant and the statistics of samples from original distribution.
