R/CIrb.R

"CIrb" <-
function (x, LEVEL=.95, homogenous=TRUE)
 {
rb <- rbar(x)
 noma <- 1 - LEVEL
if (!homogenous)
{serb <- SERHOM(x)}
else {serb <- SERHET(x)}
 zs <- -qnorm(noma/2)
 merb <- zs*serb
 lcl <- rb - merb
 ucl <- rb + merb
 mat <- list(lcl, ucl)
 return(as.numeric(mat))
}

Try the psychometric package in your browser

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

psychometric documentation built on Nov. 6, 2023, 1:06 a.m.