search for: ac7ea98c698b5bd4fe72bb06da1bba62a

Displaying 1 result from an estimated 1 matches for "ac7ea98c698b5bd4fe72bb06da1bba62a".

2012 Oct 13
2
Function hatTrace in package lme4
Dear all, For a project I need to calculate the conditional AIC of a mixed effects model. Luckily, I found a reference in the R help forum for a function to be used: CAIC <- function(model) { sigma <- attr(VarCorr(model), 'sc') observed <- attr(model, 'y') predicted <- fitted(model) cond.loglik <- sum(dnorm(observed,