R/extendedBIC.R

Defines functions extendedBIC

Documented in extendedBIC

extendedBIC <-
function(gamma,omegahat,S,n) {
    p = nrow(omegahat)
    es = sum(omegahat[upper.tri(omegahat)]!=0)
    return(-log(det(omegahat)) + sum(diag(omegahat %*% S)) + es * (log(n)/n) + es * gamma * (4*log(p)/n))
}

Try the iDINGO package in your browser

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

iDINGO documentation built on July 30, 2020, 5:14 p.m.