Nothing
getGFIgofGLSC4 <- function(fit, fitTheta) {
UMatrix <- getUMatrix(fit)
vechSw <- matrix(fit$sigmaHat[lower.tri(fit$sigmaHat, diag = TRUE)], ncol = 1)
vechSigmaTheta <- matrix(fitTheta$sigmaTheta[lower.tri(fitTheta$sigmaTheta, diag = TRUE)], ncol = 1)
nominator <- t((vechSw - vechSigmaTheta)) %*% solve(UMatrix) %*% (vechSw - vechSigmaTheta)
denominator <- t((vechSw)) %*% solve(UMatrix) %*% (vechSw)
GFI <- 1 - (nominator / denominator)
return(GFI)
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.