R/2.6.2.AGFIcalculation.R

Defines functions AGFIcalculation

AGFIcalculation <- function(GFI, fit, fitTheta) {
  numVechSigma <- fit$info$T * (fit$info$T + 1) / 2
  numParams <- length(fitTheta$optim$par)

  AGFI <- 1 - (numVechSigma / (numVechSigma - numParams)) * (1 - GFI)

  return(AGFI)
}

Try the Mmcsd package in your browser

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

Mmcsd documentation built on March 31, 2023, 7:23 p.m.