powered by
GOF(grtMod, teststat = "X2", observed = NULL)
grt
data(thomas01a) fit1 <- fit.grt(thomas01a) fit2 <- fit.grt(thomas01a, PI = 'same_rho') # Take the model with the lower AIC GOF(fit1, teststat = 'AIC') GOF(fit2, teststat = 'AIC')
Run the code above in your browser using DataLab