inst/snippet/99CI.R

zstar <- - qnorm(0.005); zstar
se <- 2 / sqrt(25); se
zstar * se;
10 + c(-1,1) * zstar * se                      # confidence interval

Try the fastR package in your browser

Any scripts or data that you put into this service are public.

fastR documentation built on May 1, 2019, 11:18 p.m.