I wonder if I can back calculate standard deviation from mean, sample size, and confidence interval.
For example: mean age = 40.2; sample size = 427; and 95% confidence interval = (38.9-41.5)
And if so, can it be apply to percentage measure, for example: percent being male = 64.2%; sample size = 427; and 95% confidence interval = (59.4-68.7).
Best Answer
The standard deviation for percentage/proportion is:
\begin{align} \sigma &= \sqrt{p(1-p)} \\[5pt] &= \sqrt{0.642(1-0.642)} \\[5pt] &= 0.4792 \end{align} Thus when given a percentage, you can directly find the std deviation.
For back tracking, we know, $CI = p \pm z \frac{\sigma}{\sqrt{N}}$
For 95%, $z = 1.96$, N = 427, $p=0.642$
$\sigma = ?$
Thus use the above formula and back substitute.
Thus the formula is: $CI = p \pm t_{(N-1)} \frac{\sigma}{\sqrt{N}}$