statistics

sampling error : half the width of the confidence interval. So if you have , then 1.5 would be the sampling error.

Determing sample size for confidence interval of

or in terms of n:

Given is usually unknown, you can either use (stddev from the sample) or conservatively estimate it via the range , then round up.

Determining sample size for confidence interval of

or in terms of n:

Because is unknown, we can estimate it using .

Determining margin of error

Margin of error is