R/in_CI.R

Defines functions in_CI

Documented in in_CI

## File Name: in_CI.R
## File Version: 0.05

in_CI <- function( est, se, true, level=.95, df=Inf)
{
    quant <- - stats::qt( (1-level)/2, df=df)
    in_ci <- ( est - quant * se < true ) & ( est + quant * se > true )
    return(in_ci)
}

Try the miceadds package in your browser

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

miceadds documentation built on May 29, 2024, 11:05 a.m.