Learn R Programming

dlsem (version 1.3.2)

fitIndices: Fit indices

Description

Compute local and global fit indices.

Usage

fitIndices(x)

Arguments

x
An object of class dlsem.

Value

The fist list contains the R squared for each regression model and the overall one. The second list contains the Akaike Information Criterion (AIC) for each regression model and the overall one. The third list contains the Bayesian Information Criterion (BIC) for each regression model and the overall one.

See Also

dlsem

Examples

Run this code
data(agres)
mycode <- list(
  GVA~quec(NPATENT,1,15),
  PPI~quec(NPATENT,0,13)+quec(GVA,0,14),
  ENTR_INCOME~quec(NPATENT,0,14)+quec(GVA,1,14)
  )
myfit <- dlsem(mycode,group="COUNTRY",exogenous=c("GDP","FARM_SIZE"),
  data=agres,uniroot.check=TRUE,imputation=FALSE,log=TRUE)
fitIndices(myfit)

Run the code above in your browser using DataLab