michaelhallquist / MplusAutomation

The MplusAutomation package leverages the flexibility of the R language to automate latent variable model estimation and interpretation using Mplus, a powerful latent variable modeling program developed by Muthen and Muthen (www.statmodel.com). Specifically, MplusAutomation provides routines for creating related groups of models, running batches of models, and extracting and tabulating model parameters and fit statistics.
81 stars 46 forks source link

readModels: Problem reading out Wald-Summaries (with MLR) #170

Open KSpsych opened 2 years ago

KSpsych commented 2 years ago

Hi Caspar,

The readModels-function seems to have a problem reading the wald statistics when a model is estimated with MLR. I refer to the "WaldChiSq_Value", "WaldChiSq_DF", "WaldChiSq_PValue" statistics.

Interestingly enough, there is no problem reading out the same statistics when estimating the model with BAYES.

Is it possible to solve this issue?

Greetings Kai

Here is an examplary extract of the MPlus-Output (estimated with MLR):

Chi-Square Test of Model Fit for the Baseline Model

      Value                           4157.519
      Degrees of Freedom                    70
      P-Value                           0.0000

SRMR (Standardized Root Mean Square Residual)

      Value                              0.025

Wald Test of Parameter Constraints

      Value                              0.018
      Degrees of Freedom                     1
      P-Value                           0.8918

MODEL RESULTS

michaelhallquist commented 2 years ago

Hi Kai,

Could you upload a .out file (as a .txt file) here so that we can debug the problem?

Thanks, Michael