On this page, users will find Mplus Code/Syntax (version 8) for a variety of different analyses that can be downloaded and adapted for your own use. Please report any typos to Michael at Michael.Fitzgerald@okstate.edu
Note. Input and output files are available for individual use and download, but the raw data are not publicly available unless otherwise specified
Mplus Code/Syntax for Confirmatory Factor Analyses
Confirmatory Factor Analysis
Categorical Confirmatory Factor Analysis
Multiple Group Model:
Categorical Confirmatory Factor Analysis with Dyadic Data
Longitudinal Measurement Invariance for Categorical Variables
Configural:
Metric:
Scalar:
Longitudinal Measurement Invariance for Continuous Variables
Omega Reliability
Calculating Omega using Congeneric Model: Input File Mplus Output
Calculating Omega using Tau-equivalent Model: Input File Mplus Output
Mplus Code/Syntax for Actor Partner Interdependence Model (APIM)
Observed Variable Basic APIM
I-SAT Model for Basic APIM: Input Output: Input Output
Observed Variable APIM Mediation (APIMeM)
I-SAT Model for APIM Mediation: Input Output
Observed Variable APIM Moderation (APIMoM) with Mixed Moderator
APIM Moderation (single interaction term: actor X partner ): Input Output
APIM Moderation (additional moderator: four interaction terms): Input Output
Observed Variable APIM Moderation (APIMoM) with Within Dyad Variable Moderator
Observed Variable APIM Moderation (APIMoM) with Between Dyad Variable Moderator
Observed Variable Cross Lagged Actor Partner Interdependence Model:
Observed Variable Random Intercept Cross Lagged Actor-Partner Interdependence Model:
CL-RI-APIM: Random Intercept Loadings Fixed to 1: Input Output
CL-RI-APIM: Random Intercept Loadings Freely Estimated but Constrained to Equality: Input Output
Latent Variable Actor-Partner Interdependence Model
Cross-Sectional with Distinguishable Dyads: Input Output
Latent Variable Actor-Partner Interdependence Mediational Model
Baseline Latent Variable APIMeM: input output
Latent Variable Actor-Partner Interdependence Moderation Model (LMS) with Mixed Moderator (Actor By Partner Interaction)
Baseline Latent Variable APIMoM: Input Output
Latent Variable Actor-Partner Interdependence Moderation Model (Bayes) with Mixed Moderator
Baseline Latent Variable APIMoM:
Moderated Mediation in the Actor-Partner Interdependence
Moderated Mediation with Loop Plots and Simple Slopes: Input Output
Mplus Code/Syntax for Common Fate Model
Baseline and Measurement Models in Common Fate Model
Common Fate Measurement Model with Three Latent Factors: Input Output
Common Fate Model: Input Output
Common Fate Mediational Model:
Common Fate Mediational Model: Input Output
Common Fate Model with Individual and Dyadic Pathways
Common Fate Model with Individual and Dyadic Paths: Input Output
Common Fate Model with Individual and Dyadic Paths Constrained to Equality: Input Output
Common Fate Model with Individual and Dyadic Paths (APIM): Input Output
Common Fate Moderation Model
Common Fate Moderation Model with LMS interaction (Maximum Likelihood): Input Output
Common Fate Moderation Model with Bayes Estimation:
Common Fate Growth Model
Common Fate Growth Model: Input Output
Random Intercept Common Fate Model
RI-CFM: Input Output
Mplus Code/Syntax for Multilevel SEM with Dyadic Data
Intraclass Correlation: Input Output
Multilevel Confirmatory Factor Analysis: Input Output
Multilevel SEM with Within Dyad Mediation: Input Output
Multilevel SEM with Within Dyad Moderated Mediation: Input Output
Multilevel SEM with Indirect Effects at Within and Between Level: Input Output
Mplus Code/Syntax for Latent Growth Curve Analyses
Mplus Code/Syntax for Sensitivity Analyses, Outliers, and Diagnostics
SEM diagnostics
Mahalanobis Distance, Loglikelihood, and Influence: Input
Removing Cases From Analysis
Removing one case: Input
Removing multiple cases: Input
Subgroup Analyses
UseObservations (use for most scenarios)
Input
SubPopulation (use when Type = Complex)
Input