R/ci.norm.R

ci.norm <-
function (muhat, sdhat, n, ci.type, alpha) 
{
    sd.muhat <- sdhat/sqrt(n)
    df <- n - 1
    ret.obj <- ci.normal.approx(muhat, sd.muhat, n, df, ci.type, 
        alpha)
    ret.obj$parameter <- "mean"
    ret.obj$method <- "Exact"
    ret.obj
}

Try the EnvStats package in your browser

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

EnvStats documentation built on Sept. 11, 2024, 6:03 p.m.