View source: R/00_ModelFitModule.R
calcFitIndices | R Documentation |
A general function that returns the model fit indices.
calcFitIndices(chi_A, chi_B, df_A, df_B, nobs)
chi_A |
chi-squares for this model |
chi_B |
chi-squares for compared model |
df_A |
degrees of freedom for this model |
df_B |
degrees of freedom for compared model |
nobs |
number of observations for Information criteria |
Normed Fit Index. Lager values closer to 1.0 indicate a better fit.
Relative Fit Index. Lager values closer to 1.0 indicate a better fit.
Incremental Fit Index. Lager values closer to 1.0 indicate a better fit.
Tucker-Lewis Index. Lager values closer to 1.0 indicate a better fit.
Comparative Fit Index. Lager values closer to 1.0 indicate a better fit.
Root Mean Square Error of Approximation. Smaller values closer to 0.0 indicate a better fit.
Akaike Information Criterion. A lower value indicates a better fit.
Consistent AIC.A lower value indicates a better fit.
Bayesian Information Criterion. A lower value indicates a better fit.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.