Displaying 1 result from an estimated 1 matches for "td847899".
2012 Oct 13
2
Function hatTrace in package lme4
...el))
N <- nrow(attr(model, 'X'))
K.corr <- N*(N-p-1)*(rho+1)/((N-p)*(N-p-2)) +
N*(p+1)/((N-p)*(N-p-2))
CAIC <- -2*cond.loglik + 2*K.corr
return(CAIC)
}
Reference:
http://r.789695.n4.nabble.com/Using-Conditional-AIC-with-lmer-td847899.html
However, in this function the function hatTrace of the lme4 package was used
to calcuate rho
(line: rho <- hatTrace(model) )
Sadly, R tells me that this function could not be found. A search on the
internet revealed that this function was dropped out of the new package
release of lme4....