Mean estimator's standard error from asymptotically normal confidence interval
estimator_se_from_ci.Rd
Auxiliary function to estimate the standard error (variance divided by sample size)
from an asymptotically normal confidence interval of level 1 - alpha
by implementing
the following function:
\[
\text{se} = \dfrac{U - L}{2\cdot Z_{1 - \alpha/2}}
\]
where U
and L
are the upper and lower bounds of the interval
Arguments
- upper_limit
Upper bound for the confidence interval
- lower_limit
Lower bound for the confidence interval
- confidence_level
Confidence level of the confidence interval