R/bRyy.R

"bRyy" <-
function(x)
 {
 Ryy <- x$Ryy
 n <- length (x$Ryy[!(is.na(x$Ryy))])
 b <- mean(sqrt(Ryy),na.rm=TRUE)
 vb <- var(sqrt(Ryy),na.rm=TRUE)*(n-1)/n
 out <- list(b,vb)
 return(out)
 }

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.