Confidence interval (CI) and error bar

Descriptive stats

Standard deviation: one SD -> 68% of data in CI

Inferential stats

Standard error of sampling mean (SEM): one SD -> 68% CI

qnorm(.025,0,sd = 1) # 1 - 0.95 = 0.05; 0.05/2 = 0.025
# -1.959964
qt(0.025,10000)
# -1.960201

Bootstrap 95% CI

Last updated