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

The measures of fit are indicative of how much better of fit the hypothesized model provides over a null model. A null model refers to a measurement model where all items are assumed independent, which is the worst-case scenario and generally is the worst fitting model. The first measure of fit is the \(\chi^2\) statistic and the associated \(\chi^2\) test. Each model estimated has an associated model \(\chi^2\), which is a statistical distribution that has an expected value equal to model degrees of freedom. The \(\chi^2\) test is known to be sensitive to sample size, meaning that as sample size increases then test is likely to reject the null hypothesis that these data fit the hypothesized model even when the model is correctly specified Bollen1989. Because the \(\chi^2\) statistic has limited applicability, numerous other statistics based on the \(\chi^2\) are frequently used. These statistics are transformations of the \(\chi^2\) statistic that have seen broad applicability.

CFI

The comparative fit index (CFI) is a commonly used fit statistic that is based on the model \(\chi^2\) Bentler1990. The CFI is a measure of improvement in fit over the null model with a fixed range of zero to one, where higher scores mean better fit. \[ CFI = 1 - \frac{ \mathrm{max}\left( \chi^2_H - {df}_H,\ 0 \right) }{ \mathrm{max}\left( \chi^2_H - {df}_H ,\ \chi^2_N - {df}_N,\ 0 \right) } \] The recommended minimum value for CFI is .95 .