Confirmatory Factor Analysis
Chapter 2: Common Factor Model and EFA
| One Factor EFA | ||
| Table 2.2 | SPSS syntax | tab2.2.sps |
| SAS syntax | tab2.2.sas | |
| Mplus syntax | tab2.2.inp | |
| Input file for Mplus | tab2.2.dat |
Chapter 3: Introduction to CFA
| Computing a Residual Matrix and FML | ||
| Table 3.2 | SAS PROC IML syntax | tab3.2.sas |
Chapter 4: Specification and Interpretation of CFA Models
| Two-Factor CFA (Neuroticism, Extraversion) | ||
| Figure 4.1 | Input Matrix: SDs and Correlations | fig4.1.dat |
| Input File for Amos Basic | Ninput2.txt | |
| Table 4.1 | LISREL syntax | tab4.1.lis |
| Mplus syntax | tab4.1.inp | |
| EQS syntax | tab4.1.eqs | |
| Amos Basic syntax | tab4.1.bas | |
| SAS PROC CALIS syntax | tab4.1.sas | |
| CFA with Single Indicators: Health Status | ||
| Figure 4.3 | Input: Raw data | fig4.3.dat |
| Table 4.6 | Mplus syntax | tab4.6.inp |
Chapter 5: Model Revision and Comparison
| Input Files for Tables 5.2, 5.6, 5.7, 5.9 | ||
| Raw Data | efa.dat | |
| Input File for Amos Basic | ecfa.txt | |
| Three-Factor CFA (Alcohol Motives QN) | ||
| Table 5.2 | LISREL syntax | tab5.2.lis |
| Exploratory Factor Analysis (EFA) | ||
| Table 5.6 | Mplus syntax | tab5.6.inp |
| EFA within CFA | ||
| Table 5.7 | LISREL syntax | tab5.7.lis |
| Mplus syntax | tab5.7.inp | |
| EQS syntax | tab5.7.eqs | |
| Amos Basic syntax | tab5.7.bas | |
| SAS PROC CALIS syntax | tab5.7.sas | |
| Exploratory SEM | ||
| Table 5.9 | Mplus syntax | tab5.9.inp |
Chapter 6: CFA of Multitrait-Multimethod Matrices
| MTMM Matrix (Personality Disorders) | ||
| Table 6.1 | Input Matrix: SDs and Correlations | tab6.1.dat |
| Correlated Methods Model | ||
| Table 6.2 | LISREL syntax | tab6.2.lis |
| Correlated Uniqueness Model | ||
| Table 6.3 | LISREL syntax | tab6.3.lis |
| Mplus syntax | tab6.3.inp | |
| EQS syntax | tab6.3.eqs | |
| Amos Basic syntax | tab6.3.bas | |
| SAS PROC CALIS syntax | tab6.3.sas | |
| Consequences of Not Modeling Msmt. Error | ||
| Figure 6.3 | LISREL syntax (and input data) | fig6.3.lis |
Chapter 7: Equality Constraints, Multiple Groups, Mean Structures
| Tau Equivalent and Parallel Indicators | ||
| Figure 7.1 | Input Matrix: SDs and Correlations | fig7.1.dat |
| Input File for Amos Basic | memory.txt | |
| Table 7.2 | LISREL syntax (tau equivalence) | tab7.2.lis |
| Mplus syntax | tab7.2.inp | |
| EQS syntax | tab7.2.eqs | |
| Amos Basic syntax | tab7.2.bas | |
| SAS PROC CALIS syntax | tab7.2.sas | |
| Table 7.5 | LISREL syntax (parallelism) | tab7.5.lis |
| Mplus syntax | tab7.5.inp | |
| EQS syntax | tab7.5.eqs | |
| Amos Basic syntax | tab7.5.bas | |
| SAS PROC CALIS syntax | tab7.5.sas | |
| Longitudinal Measurement Invariance | ||
| Figure 7.2 | Input Matrix: Ms, SDs, and Correlations | fig7.2.dat |
| Table 7.8 | LISREL syntax | tab7.8.lis |
| Mplus syntax | tab7.8.inp | |
| Table 7.9 | LISREL syntax (effects coding) | tab7.9.lis |
| Mplus syntax (effects coding) | tab7.9.inp | |
| EQS syntax (effects coding) | tab7.9.eqs | |
| Multiple Groups CFA (Depression example) | ||
| Figure 7.3 | Input Matrix: Ms, SDs, and Correlations (females) | fig7.3f.dat |
| Input Matrix: Ms, SDs, and Correlations (males) | fig7.3m.dat | |
| Raw data (used in Mplus syntax) | mddall.dat | |
| Input File for Amos Basic (females) | depfem.txt | |
| Input File for Amos Basic (males) | depmale.txt | |
| Table 7.12 | LISREL syntax (Equal Form) | tab7.12.lis |
| Mplus syntax | tab7.12.inp | |
| EQS syntax | tab7.12.eqs | |
| Amos Basic syntax | tab7.12.bas | |
| Table 7.14 | LISREL syntax (Equal loadings and intercepts) | tab7.14.lis |
| Mplus syntax | tab7.14.inp | |
| EQS syntax | tab7.14.eqs | |
| Amos Basic syntax | tab7.14.bas | |
| Table 7.15 | LISREL syntax (Fully Invariant) | tab7.15.lis |
| Mplus syntax | tab7.15.inp | |
| EQS syntax | tab7.15.eqs | |
| Amos Basic syntax | tab7.15.bas | |
| Table 7.16 | Mplus syntax (shortcuts) | tab7.16.inp |
| MIMIC Models (Phobia example) | ||
| Figure 7.5 | Input Matrix: SDs and Correlations | fig7.5.dat |
| Input File for Amos Basic | mimic.txt | |
| Table 7.17 | LISREL syntax | tab7.17.lis |
| Mplus syntax | tab7.17.inp | |
| EQS syntax | tab7.17.eqs | |
| Amos Basic syntax | tab7.17.bas |
Chapter 8: Higher-Order CFA, Scale Reliability Evaluation, Formative Indicators
| Higher-Order CFA | ||
| Figure 8.1 | Input Matrix: SDs and Correlations | fig8.1.dat |
| Input File for Amos Basic | coping.txt | |
| Table 8.2 | LISREL syntax | tab8.2.lis |
| Mplus syntax | tab8.2.inp | |
| EQS syntax | tab8.2.eqs | |
| Amos Basic syntax | tab8.2.bas | |
| SAS PROC CALIS syntax | tab8.2.sas | |
| Bifactor Analysis | ||
| Table 8.5 | Input file for Tables 8.5 and 8.6 | tab8.5.dat |
| Table 8.6 | Mplus syntax | tab8.6.inp |
| LISREL syntax | tab8.6.lis | |
| EQS syntax | tab8.6.eqs | |
| Scale Reliability Evaluation | ||
| Figure 8.4 | Input Matrix: SDs and Correlations | fig8.4.dat |
| Table 8.8 | LISREL syntax (Reliability point estimates) | tab8.8.lis |
| Mplus syntax | tab8.8.inp | |
| Table 8.10 | LISREL syntax (SEs and confidence intervals) | tab8.10.lis |
| Table 8.11 | SPSS syntax (SE and CI computation) | tab8.11.sps |
| Formative Indicators (Life Stress example) | ||
| Figure 8.7 | Input Matrix: SDs and Correlations | fig8.7.dat |
| Table 8.12 | Mplus syntax | tab8.12.inp |
Chapter 9: Missing, Nonnormal, and Categorical Data
| Missing Data | ||
| Raw data input file | depstr.dat | |
| Table 9.1 | Mplus syntax (Direct ML) | tab9.1.inp |
| Table 9.2 | SAS PROC MI/CALIS syntax (multiple imputation) | tab9.2.sas |
| Table 9.3 | Mplus syntax (multiple imputation) | tab9.3.inp |
| Nonnormal, Continuous Data (Robust ML) | ||
| Raw data input file | nonml.dat | |
| Table 9.4 | Mplus syntax | tab9.4.inp |
| EQS syntax | tab9.4.eqs | |
| PRELIS syntax | tab9.4.prl | |
| LISREL syntax | tab9.4.lis | |
| Categorical Data (Alcoholism example) | ||
| Raw data input file | binary.dat | |
| Table 9.8 | Mplus syntax | tab9.8.inp |
| Table 9.10 | Mplus syntax (nested model comparison) | tab9.10.inp |
| Table 9.11 | BILOG-MG syntax | tab9.11.blm |
| Measurement Invariance: Categorical Data | ||
| Raw data input file | pxqn.dat | |
| Table 9.13 | Mplus syntax (step 2) | tab9.13a.inp |
| Mplus syntax (step 3) | tab9.13b.inp | |
| Mplus syntax (step 4) | tab9.13c.inp | |
| Bootstrapping | ||
| Table 9.14 | Mplus syntax (uses nonml.dat) | tab9.14.inp |
| Amos Basic syntax (uses nonml.sav) | tab9.14.bas |
Chapter 10: Statistical Power and Sample Size
| Satorra-Saris method | ||
| Table 10.1 | LISREL syntax: Step 1 | tab10.1a.lis |
| LISREL syntax: Step 2 | tab10.1b.lis | |
| LISREL syntax: Step 3 | tab10.1c.lis | |
| SPSS syntax: Step 4 | tab10.1.sps | |
| SAS syntax: Step 4 | tab10.1.sas | |
| Monte Carlo method | ||
| Table 10.2 | Mplus syntax (no missing data) | tab10.2.inp |
| Table 10.5 | Mplus syntax (missing data) | tab10.5.inp |
| Data Generation in Monte Carlo Simulation | ||
| Appendix 10.1 | SAS syntax | app10.1.sas |
Chapter 11: Bayesian CFA and Multilevel Measurement Models
| Bayesian CFA | ||
| Raw data input file | bayescfa.dat | |
| Table 11.1 | Mplus syntax (ML estimation) | tab11.1.inp |
| Table 11.2 | Mplus syntax (Bayesian estimation) | tab11.2.inp |
| Multilevel CFA | ||
| Raw data input file | mlm2.dat | |
| Table 11.4 | Mplus syntax | tab11.4.inp |
| Table 11.5 | Mplus syntax (invariant loadings) | tab11.5.inp |

