Last updated: 2019-09-29

Checks: 2 0

Knit directory: mcfa-fit/

This reproducible R Markdown analysis was created with workflowr (version 1.4.0). The Checks tab describes the reproducibility checks that were applied when the results were created. The Past versions tab lists the development history.


Great! Since the R Markdown file has been committed to the Git repository, you know the exact version of the code that produced these results.

Great! You are using Git for version control. Tracking code development and connecting the code version to the results is critical for reproducibility. The version displayed above was the version of the Git repository at the time these results were generated.

Note that you need to be careful to ensure that all relevant files for the analysis have been committed to Git prior to generating the results (you can use wflow_publish or wflow_git_commit). workflowr only checks the R Markdown file, but you know if there are other scripts or data files that it depends on. Below is the status of the Git repository when the results were generated:


Ignored files:
    Ignored:    .RData
    Ignored:    .RDataTmp
    Ignored:    .Rhistory
    Ignored:    .Rproj.user/

Note that any generated files, e.g. HTML, png, CSS, etc., are not included in this status report because it is ok for generated content to have uncommitted changes.


These are the previous versions of the R Markdown and HTML files. If you’ve configured a remote Git repository (see ?wflow_git_remote), click on the hyperlinks in the table below to view them.

File Version Author Date Message
Rmd 6457362 noah-padgett 2019-09-29 general update after first SEM review
html 6457362 noah-padgett 2019-09-29 general update after first SEM review

SRMR

The standardized root mean square residual (SRMR) is an aggregate measure of the deviation of the observed correlation matrix to the model implied correlation matrix Joreskog1981. Ideally, the average difference between the observed and expected correlations is minimal, and smaller values represent better fitting models. In MCFA, two difference SRMR are reported based on each level’s covariance matrix. The level-1 SRMR is known as SRMR-Within (SRMRW). The level-2 SRMR is known as SRMR-Between (SRMRB). The computation of each of these measures is roughly equivalent conditional on which covariance matrix is under consideration. Generally, SRMR is computed as the standardized difference between the observed correlations and the model implied correlations about variables as shown below. \[ SRMR = \sqrt{\frac{2 \sum_{j=1}^{p} \sum_{k=j}^{i} {\left( \frac{s_{jk} - \hat{\sigma}_{jk} }{ \sqrt{ s_{jj}s_{kk}} } \right)}^2 }{p(p+1)}} \] where \(p\) is the total number of variables in the model, \(s_{jk}\) and \(\sigma_{jk}\) are the sample and model implied, respectively, covariance between the \(j^{th}\) and \(k^{th}\) variables. For the SRMR, generally acceptable values less than .08 are used. However, Hu1999 suggested values less .06 alone or .08 in combination of other within recommended ranges are indicative of good fit.

In Mplus, SRMR is estimated slightly differently than shown in Equationeq:srmr. The computation extends the definition above by accounting for the meanstructure, multilevel structure, and categorical nature if applicable. The technical details of the computation of SRMRW and SRMRB in Mplus v8.2 is out of scope for this article, and the interested reader is referred to MuthenSRMR for more details.