size.ci.sd: Sample size for a standard deviation confidence interval

View source: R/statpsych1.R

size.ci.sdR Documentation

Sample size for a standard deviation confidence interval

Description

Computes the sample size required to estimate a population standard deviation with desired confidence interval precision. This function assumes that the traditional confidence interval for a population standard deviation will be used. The traditional confidence interval assumes that the response variable has an approximate normal distribution and can be highly innacurate when this assumption is not satisfied.

Usage

size.ci.sd(alpha, r)

Arguments

alpha

alpha level for 1-alpha confidence

r

desired upper to lower confidence interval endpoint ratio

Value

Returns the required sample size

Examples

size.ci.sd(.05, 1.5)

# Should return:
# Sample size
#          49
 


statpsych documentation built on Jan. 13, 2026, 1:07 a.m.