An Introduction to SEM in Mplus

Similar documents
Multilevel Structural Equation Modeling

Multiple Group CFA Invariance Example (data from Brown Chapter 7) using MLR Mplus 7.4: Major Depression Criteria across Men and Women (n = 345 each)

Longitudinal Invariance CFA (using MLR) Example in Mplus v. 7.4 (N = 151; 6 items over 3 occasions)

Measurement Invariance (MI) in CFA and Differential Item Functioning (DIF) in IRT/IFA

NELS 88. Latent Response Variable Formulation Versus Probability Curve Formulation

Application of Plausible Values of Latent Variables to Analyzing BSI-18 Factors. Jichuan Wang, Ph.D

Nesting and Equivalence Testing

CHAPTER 9 EXAMPLES: MULTILEVEL MODELING WITH COMPLEX SURVEY DATA

Investigating Models with Two or Three Categories

Class Introduction and Overview; Review of ANOVA, Regression, and Psychological Measurement

Specifying Latent Curve and Other Growth Models Using Mplus. (Revised )

Exploratory Factor Analysis and Principal Component Analysis

Categorical and Zero Inflated Growth Models

bmuthen posted on Tuesday, August 23, :06 am The following question appeared on SEMNET Aug 19, 2005.

This course. Tutors. Jon Heron, PhD (Bristol) Anna Brown, PhD (Cambridge)

Exploratory Factor Analysis and Principal Component Analysis

Path Analysis. PRE 906: Structural Equation Modeling Lecture #5 February 18, PRE 906, SEM: Lecture 5 - Path Analysis

An Introduction to Path Analysis

Variable-Specific Entropy Contribution

Or, in terms of basic measurement theory, we could model it as:

SEM Day 1 Lab Exercises SPIDA 2007 Dave Flora

An Introduction to Mplus and Path Analysis

Structural Equation Modeling and Confirmatory Factor Analysis. Types of Variables

Mixture Modeling in Mplus

ADVANCED C. MEASUREMENT INVARIANCE SEM REX B KLINE CONCORDIA

PRESENTATION TITLE. Is my survey biased? The importance of measurement invariance. Yusuke Kuroki Sunny Moon November 9 th, 2017

LECTURE 4 PRINCIPAL COMPONENTS ANALYSIS / EXPLORATORY FACTOR ANALYSIS

Introduction to Matrix Algebra and the Multivariate Normal Distribution

Finite Mixture EFA in Mplus

Introduction to Factor Analysis

VAR2 VAR3 VAR4 VAR5. Or, in terms of basic measurement theory, we could model it as:

Hierarchical Generalized Linear Models. ERSH 8990 REMS Seminar on HLM Last Lecture!

Introducing Generalized Linear Models: Logistic Regression

Introduction to Confirmatory Factor Analysis

Introduction to Structural Equation Modeling

A Re-Introduction to General Linear Models (GLM)

SEM for Categorical Outcomes

Online Appendix for Sterba, S.K. (2013). Understanding linkages among mixture models. Multivariate Behavioral Research, 48,

The Map of the Mplus Team. Advances in Latent Variable Modeling Using Mplus Version 7

Generalized Linear Models for Non-Normal Data

Introduction to Factor Analysis

SEM Day 3 Lab Exercises SPIDA 2007 Dave Flora

A Re-Introduction to General Linear Models

Thursday Morning. Growth Modelling in Mplus. Using a set of repeated continuous measures of bodyweight

Mplus Short Courses Topic 2. Confirmatory Factor Analysis, And Structural Equation Modeling For Categorical, Censored, And Count Outcomes

Ron Heck, Fall Week 8: Introducing Generalized Linear Models: Logistic Regression 1 (Replaces prior revision dated October 20, 2011)

Applied Multivariate Analysis

STRUCTURAL EQUATION MODELING. Khaled Bedair Statistics Department Virginia Tech LISA, Summer 2013

Time-Invariant Predictors in Longitudinal Models

Systematic error, of course, can produce either an upward or downward bias.

Mplus Short Courses Topic 3. Growth Modeling With Latent Variables Using Mplus: Introductory And Intermediate Growth Models

How to run the RI CLPM with Mplus By Ellen Hamaker March 21, 2018

Plausible Values for Latent Variables Using Mplus

Mplus Short Courses Day 2. Growth Modeling With Latent Variables Using Mplus

Chapter 7: Correlation

Computationally Efficient Estimation of Multilevel High-Dimensional Latent Variable Models

Power Analysis. Ben Kite KU CRMDA 2015 Summer Methodology Institute

Factor Analysis. Qian-Li Xue

Using Mixture Latent Markov Models for Analyzing Change in Longitudinal Data with the New Latent GOLD 5.0 GUI

Principal Component Analysis & Factor Analysis. Psych 818 DeShon

Univariate Normal Distribution; GLM with the Univariate Normal; Least Squares Estimation

Walkthrough for Illustrations. Illustration 1

Unit 2 Regression and Correlation WEEK 3 - Practice Problems. Due: Wednesday February 10, 2016

Class Notes: Week 8. Probit versus Logit Link Functions and Count Data

Model Estimation Example

Factor analysis. George Balabanis

Confirmatory Factor Models (CFA: Confirmatory Factor Analysis)

Supplementary materials for: Exploratory Structural Equation Modeling

Structural Equation Modelling

Preface. List of examples

Time-Invariant Predictors in Longitudinal Models

Designing Multilevel Models Using SPSS 11.5 Mixed Model. John Painter, Ph.D.

Confirmatory Factor Analysis

Factor Analysis & Structural Equation Models. CS185 Human Computer Interaction

Empirical Validation of the Critical Thinking Assessment Test: A Bayesian CFA Approach

Multivariate Fundamentals: Rotation. Exploratory Factor Analysis

Multiple group models for ordinal variables

Review of CLDP 944: Multilevel Models for Longitudinal Data

Centering Predictor and Mediator Variables in Multilevel and Time-Series Models

Copyright 2013 The Guilford Press

SRMR in Mplus. Tihomir Asparouhov and Bengt Muthén. May 2, 2018

Time-Invariant Predictors in Longitudinal Models

SC705: Advanced Statistics Instructor: Natasha Sarkisian Class notes: Introduction to Structural Equation Modeling (SEM)

Time-Invariant Predictors in Longitudinal Models

PLEASE SCROLL DOWN FOR ARTICLE

Overview. Multidimensional Item Response Theory. Lecture #12 ICPSR Item Response Theory Workshop. Basics of MIRT Assumptions Models Applications

4:3 LEC - PLANNED COMPARISONS AND REGRESSION ANALYSES

Simple, Marginal, and Interaction Effects in General Linear Models: Part 1

An Introduction to Multilevel Models. PSYC 943 (930): Fundamentals of Multivariate Modeling Lecture 25: December 7, 2012

Principles of factor analysis. Roger Watson

A Study of Statistical Power and Type I Errors in Testing a Factor Analytic. Model for Group Differences in Regression Intercepts

STAT 730 Chapter 9: Factor analysis

LCA_Distal_LTB Stata function users guide (Version 1.1)

Online Appendices for: Modeling Latent Growth With Multiple Indicators: A Comparison of Three Approaches

Regression Methods for Survey Data

Description Remarks and examples Reference Also see

Review of Multiple Regression

Exploratory Factor Analysis and Canonical Correlation

LCA Distal Stata function users guide (Version 1.0)

Advanced Quantitative Data Analysis

Transcription:

An Introduction to SEM in Mplus Ben Kite Saturday Seminar Series Quantitative Training Program Center for Research Methods and Data Analysis

Goals Provide an introduction to Mplus Demonstrate Mplus with a variety of examples Provide Mplus tips and suggestions Answer questions regarding statistical modeling with Mplus Provide additional sources for information 2

What is Mplus? Created by Linda K. Muthén and Bengt O. Muthén Now in 7 th version! Version 7 September 2012 Version 6 April 2010 Version 5 November 2007 Version 4 February 2006 Version 3 March 2004 Version 2 February 2001 Version 1 November 1998 3

What is Mplus? Statistical modeling program Wide choice of models, estimators, algorithms Cross-sectional & longitudinal Single & multi-level models Observed & latent variables Continuous, categorical, binary, censored, count, or combinations of these Missing data Monte Carlo simulation Latent Classes 4

Some Advantages Compact syntax (few lines of code) Very flexible & powerful for complex modeling Good user s guide with lots of examples Quick & extensive customer support for registered users Website has a discussion board open to the public http://www.statmodel.com/ 5

Some Disadvantages Expensive $$$ Student Pricing $195-350 University Pricing $595-895 Syntax based No pull-down menus Has many defaults that can be tricky for new users/modelers to learn 6

Basic Mplus Open the program and use its syntax editor Write your syntax, save it Click Mplus will open your output file (results) for you! 7

Importing Data Files Must be a text file We suggest using a.csv or.dat (tab delimited) file No importer for Excel, Stata, SPSS, etc Can use Raw data Correlation or covariance matrix A few other types (incl. means, imputation) 8

Data Files Numeric only (No variable names) Maximum of 500 variables MUST have a code for missing values. E.g., -999 9

Main Commands TITLE DATA (required) VARIABLE(required) ANALYSIS MODEL OUTPUT They are often written in all uppercase to make it easy to read, but it is not required 10

DEFINE SAVEDATA PLOT Other Commands They are often written in all uppercase to make it easy to read, but it is not required 11

Basic Syntax Conventions! Can be used to make comments End statements with a semicolon; * is used to free a parameter estimate *.5 indicates.5 is your start value @ fixes parameter to a specified value (1) or (a) means equate all parameters that have the same number/letter in parentheses Dash can be used, as in var1-var5 Same as saying var1 var2 var3 var4 var5 12

More Syntax Conventions Not case sensitive i.e. not picky about upper/lower case letters Commands can be in any order Commands start on a new line and are followed by a colon (e.g. DATA: ) Only Data & Variable commands are required for all analyses No more than one option per line No more than 90 characters wide 13

Not required TITLE: Provide a title for the analysis (for your own use, not part of the program) e.g. TITLE: My Analysis of Happiness; 14

DATA: Information about the data set & where it is found DATA: FILE is C:/mydocuments/happiness.dat ; or FILE is data/happiness.dat ; or FILE is happiness.dat; For Summary Statistics TYPE IS 15

VARIABLE: Information about the variables Order they appear in set No more than 8 characters in variable names VARIABLE: NAMES ARE id age sex marital happines; USEVARIABLES ARE age sex marital happines; CATEGORICAL ARE sex marital;!(not always needed) MISSING ARE (-999); 16

ANALYSIS: Technical details of analysis (not always needed) e.g. TYPE = MIXTURE; or TYPE IS TWOLEVEL RANDOM; BOOTSTRAP = 500; 17

MODEL: Describes the model to be estimated e.g. in a factor analysis f1 BY var1 var2 var3; WITH X ON f2 BY var4-var6; f1 f2 f1 WITH f2; BY f2 ON X; var1 var2 var3 var4 var5 var6 18

MODEL: Describes the model to be estimated e.g. in a factor analysis f1 BY var1 var2 var3; WITH X ON f2 BY var4-var6; f1 f2 f1 WITH f2; BY BY f2 ON X; var1 var2 var3 var4 var5 var6 19

MODEL: BY, WITH, & ON BY indicator (e.g. factor 1 is indicated BY var1-var3) WITH - correlate ON - regress DV on IV (order matters) Y on X To prevent estimation of a pathway Var1 WITH Var2 @0; 20

OUTPUT: Request output that is not part of the default Common Requests MODINDICES: Reports modification indices for the model. Use (#) to have indices only # reported (e.g. modindices(10) 21

Common Requests e.g. standardized std tech1; OUTPUT:!To get standardized estimates & technical output to help with trouble shooting; 22

Example Models in Mplus Exploratory Factor Analysis (EFA) Confirmatory Factor Analysis (CFA) Multiple Group CFA Multiple Linear Regression Structural Equation Modeling Latent Growth Curve Modeling 23

Data Items collected from job seekers using the Excelsior Spring Job Corps center Variables id: Subject identification number wjcalc: Subject's score on the WJ calculation subtest. (Numeric) wjspl: Subject's score on the WJ spelling subtest. (Numeric) wratcalc: Subject's score on the WRAT calculation subtest. (Numeric) wratspl: Subject's score on the WRAT spelling subtest. (Numeric) waiscalc: Subject's score on the WAIS arithmetic calculations subtest. (Numeric) waisspl: Subject's score on the WAIS spelling subtest. (Numeric) edlevel: What is the highest level of education completed by the subject? (Ordinal) newschl: Did the subject ever change high schools? (Binary: 1=Yes, 0=No) suspend: Has the subject ever been suspended from high school? (Binary: 1=Yes, 0=No) expelled: Has the subject ever been expelled from high school? (Binary: 1=Yes, 0=No) haveld: Has the subject been diagnosed with a learning disorder? (Binary: 1=Yes, 0=No) female: Gender (Binary: 1=Female, 0=Male) age: Age in years (Numeric) Missing data are coded as 99999

Example 1 Exploratory Factor Analysis The Excelsior Springs data. How many latent variables underlie subtest scores (6 items)? Mplus can quickly run many EFAs and report the results. Unlike SPSS/PASW it does not default to principle components analysis. We can run EFAs for one and two possible latent factors. 25

EFA One Factor 11 21 Factor 1 31 41 51 61 wratcalc wjcalc waiscalc wratspl wjspl waisspl q 11 q 22 q 33 q 44 q 55 q 66 26

EFA Two Factors 21 Factor 1 Factor 2 12 11 61 21 31 51 22 41 32 42 52 62 wratcalc wjcalc waiscalc wratspl wjspl waisspl q 11 q 22 q 33 q 44 q 55 q 66 27

EFA - Syntax TITLE: Example 1 - Exploratory Factor Analysis DATA: FILE IS "../../data/job_placement.csv"; VARIABLE: NAMES ARE id wjcalc wjspl wratspl wratcalc waiscalc waisspl edlevel newschl suspend expelled haveld female age; USEVARIABLES ARE wjcalc wjspl wratspl wratcalc waiscalc waisspl; MISSING ARE all (99999); ANALYSIS: TYPE = EFA 1 2;!Default estimator is ML;!Default rotation is Oblique Geomin; 28

EFA- Beyond Defaults ANALYSIS: TYPE = EFA 1 2;!Default estimator is ML;!Default rotation is Oblique Geomin; ESTIMATOR = ML; MLM; MLMV MLR; MLF; MUML; WLS; WLSM; WLSMV; ULS; ULSMV; ROTATION = GEOMIN; GEOMIN GEOMIN (OBLIQUE); (ORTHOGONAL); QUARTIMIN; OBLIQUE CF-VARIMAX CF-QUARTIMAX; CF-EQUAMAX; CF-PARSIMAX; CF-FACPARSIM; CRAWFER; OBLIQUE 1/p CRAWFER (OBLIQUE or ORTHOGONAL value); OBLIMIN; OBLIQUE 0 OBLIMIN (OBLIQUE or ORTHOGONAL value); VARIMAX; PROMAX; 29

EFA Results

Example 2 - Confirmatory Factor Analysis CFA where only certain parameters are estimated. We believe that Math is indicated by: wratcalc, wjcalc, waiscalc We believe that Spelling is indicated by: wratspl, wjspl, waisspl 31

CFA- Greek Notation 21 CFA model 11 Math asserts these = 0 Spell 22 11 21 31 42 52 62 wratcalc wjcalc waiscalc wratspl wjspl waisspl q 11 q 22 q 33 q 44 q 55 q 66 32

CFA- Mplus Notation Math @1.0; Math WITH Spell 1 1 Spell @1.0; BY BY wratcalc wjcalc waiscalc wratspl wjspl waisspl 33

CFA Mplus Syntax TITLE: Example 2 - Confirmatory Factor Analysis DATA: FILE IS "../../data/job_placement.csv"; VARIABLE: NAMES ARE id wjcalc wjspl wratspl wratcalc waiscalc waisspl edlevel newschl suspend expelled haveld female age; USEVARIABLES ARE wratspl wjspl waisspl wratcalc wjcalc waiscalc; MISSING ARE all(99999); MODEL: MATH BY wratcalc* wjcalc waiscalc; SPELL BY wratspl* wjspl waisspl; MATH@1 SPELL@1;!Set scale using fixed factor ID; OUTPUT: TECH1; STDYX; NOTE: Mplus defaults to marker variable identification. * Frees parameter 34

CFA Results

Example 3 - Multiple Group CFA Compare males and female on Math and Spelling Determine if the measurement parameters (λ j, τ j ) are equal for both groups Three stages (models) Configural invariance (same model) Metric invariance (equal factor loadings) Scalar invariance (equal factor loadings and item intercepts) 36

Configural Invariance Model 21g 1 0 0 1 Math α Spell λ 11g λ 21g λ 31g λ 42g λ 52g λ 62g wratcalc wjcalc waiscalc wratspl wjspl waisspl τ 1g τ 2g τ 3g τ 4g τ 5g τ 6g τ 37

Configural Model - Syntax TITLE: Example 3 - Multiple Group Confirmatory Factor Analysis (Configural Invariance) DATA: FILE IS "../../data/job_placement.csv"; VARIABLE: NAMES ARE id wjcalc wjspl wratspl wratcalc waiscalc waisspl edlevel newschl suspend expelled haveld female age; USEVARIABLES ARE wratspl wjspl waisspl wratcalc wjcalc waiscalc; MISSING ARE all(99999); GROUPING IS female (0=male 1 =female); 38

MODEL: MATH BY wratcalc* wjcalc waiscalc; SPELL BY wratspl* wjspl waisspl; [wratspl wjspl waisspl wratcalc wjcalc waiscalc]; MATH@1 SPELL@1; [MATH@0 SPELL@0]; MODEL female: MATH BY wratcalc* wjcalc waiscalc; SPELL BY wratspl* wjspl waisspl; [wratspl wjspl waisspl wratcalc wjcalc waiscalc]; OUTPUT: TECH1; STDYX; Configural Model - Syntax 39

Configural Model Results

Metric Invariance Model 21g 1, 112 0 0 1, 222 Math α Spell 11. 21. 31. 42. 52. 62. wratcalc wjcalc waiscalc wratspl wjspl waisspl τ 1g τ 2g τ 3g τ 4g τ 5g τ 6g τ 41

Metric Model - Syntax TITLE: Example 3 - Multiple Group Confirmatory Factor Analysis (Weak Invariance) DATA: FILE IS "../../data/job_placement.csv"; VARIABLE: NAMES ARE id wjcalc wjspl wratspl wratcalc waiscalc waisspl edlevel newschl suspend expelled haveld female age; USEVARIABLES ARE wratspl wjspl waisspl wratcalc wjcalc waiscalc; MISSING ARE all(99999); GROUPING IS female (0=male 1 =female); 42

MODEL: MATH BY wratcalc* wjcalc waiscalc; SPELL BY wratspl* wjspl waisspl; [wratspl wjspl waisspl wratcalc wjcalc waiscalc]; MATH@1 SPELL@1; [MATH@0 SPELL@0]; MODEL female: [wratspl wjspl waisspl wratcalc wjcalc waiscalc]; MATH SPELL; OUTPUT: TECH1; STDYX; Metric Model - Syntax 43

Metric Model Results

Scalar Invariance Model 21g 1, 112 0, α 12 0, α 22 1, 222 Math α Spell 11. 21. 31. 42. 52. 62. wratcalc wjcalc waiscalc wratspl wjspl waisspl τ 1. τ 2. τ 3. τ 4. τ 5. τ 6. τ 45

Scalar Model - Syntax TITLE: Example 3 - Multiple Group Confirmatory Factor Analysis (Strong Invariance) DATA: FILE IS "../../data/job_placement.csv"; VARIABLE: NAMES ARE id wjcalc wjspl wratspl wratcalc waiscalc waisspl edlevel newschl suspend expelled haveld female age; USEVARIABLES ARE wratspl wjspl waisspl wratcalc wjcalc waiscalc; MISSING ARE all(99999); GROUPING IS female (0=male 1 =female); 46

MODEL: MATH BY wratcalc* wjcalc waiscalc; SPELL BY wratspl* wjspl waisspl; [wratspl wjspl waisspl wratcalc wjcalc waiscalc]; MATH@1 SPELL@1; [MATH@0 SPELL@0]; MODEL female: MATH SPELL; [MATH SPELL]; OUTPUT: TECH1; STDYX; Scalar Model - Syntax 47

Scalar Model Results

Example 3 Multiple Group CFA Model comparisons can be conducted to test for metric invariance Fit for configural model vs. metric model Or scalar model Fit for metric model vs. scalar model This can be done with Chi-square difference testing 2 χ metric 2 χ config 2 = χ diff df metric df config = df diff Mplus 7.1 added a new command that conducts model comparisons for you

Multiple Models - Syntax TITLE: Example 3 - Multiple Group CFA Multiple Models DATA: (same as before) VARIABLE: (same as before) ANALYSIS: Model = configural metric scalar; MODEL: MATH BY wratcalc wjcalc waiscalc; SPELL BY wratspl wjspl waisspl; OUTPUT: (same as before) 50

Multiple Models Result

Example 4 - Multiple Linear Regression Regress WJ spelling scores (wjspl) on predictor variables Same as ordinary regression, but it is easily done in Mplus 52

Multiple Linear Regression Model edlevel newschl suspend expelled haveld female β 1 β 2 β 3 β 4 β 5 wjspl β 6 β 7 1 τ 1 q 11 age 53

MLR - Syntax TITLE: Example 4 - Multiple Linear Regression DATA: FILE IS "../../data/job_placement.csv"; VARIABLE: NAMES ARE id wjcalc wjspl wratspl wratcalc waiscalc waisspl edlevel newschl suspend expelled haveld female age; USEVARIABLES ARE wjspl edlevel newschl suspend expelled haveld female age; MISSING ARE all(99999); MODEL: wjspl ON edlevel newschl suspend expelled haveld female age; 54

MLR Results

Example 5 - Structural Equation Modeling Estimate coefficients for predictors of the Math and Spelling latent variables This can be done by combining CFA and MLR This is an example of a LISREL model (measurement and structural component) 56

Structural Equation Modeling edlevel y 11 1 wratcalc newschl suspend Math 21 31 wjcalc waiscalc expelled haveld female age y 21 Spell y 22 1 52 62 wratspl wjspl waisspl 57

SEM - Syntax TITLE: Example 5 - Structural Equation Model DATA: FILE IS "../../data/job_placement.csv"; VARIABLE: NAMES ARE id wjcalc wjspl wratspl wratcalc waiscalc waisspl edlevel newschl suspend expelled haveld female age; USEVARIABLES ARE wratspl wjspl waisspl wratcalc wjcalc waiscalc edlevel newschl suspend expelled haveld female age; MISSING ARE all(99999); 58

SEM - Syntax MODEL: MATH BY wratcalc wjcalc waiscalc; SPELL BY wratspl wjspl waisspl; MATH ON edlevel newschl suspend expelled haveld female age; SPELL ON edlevel newschl suspend expelled haveld female age; MATH WITH SPELL; OUTPUT: SAMPSTAT; TECH1; STDYX; 59

SEM Results

Example 5b - Structural Equation Modeling Seven items that are indicators of three latent variables about insomnia Impact of insomnia Severity of insomnia Satisfaction with sleep Four items that are indictors of Quality of Life Estimate regression coefficients for insomnia variables predicting Quality of life 61

SEM 2 Item 5 Item 6 Item 7 Item 4 Item 1 Item 2 1 1 1 Impact Satisf. Severity 11 22 33 1 2 3 y 11 Quality of Life 1 Physical Psych. Social Environ. Item 3 62

SEM 2 - Syntax TITLE: Example 5B DATA: FILE IS "../../data/insomnia.dat"; VARIABLE: names are insom1-insom7 cesd1-cesd20 phy psy soc env; usevariables are insom1-insom7 phy psy soc env; missing all (999); MODEL: Impact by insom5 insom6 insom7; Severity by insom1 insom2 insom3; Satisf by insom4 insom1 insom7; Qol by phy psy soc env; Qol on Impact Severity Satisf; 63

SEM 2 Results

Example 6 - Latent Growth Curve Modeling We recorded participants anxiety level at four different time points. Do anxiety levels change over time? Initial anxiety (intercept) and change in anxiety (slope) can be modeled as latent variables. 65

Latent Growth Curve Modeling Intercept 21 11 α 1 α 2 22 α Slope 1 1 0 1 1 1 2 3 anxiety1 anxiety2 anxiety3 anxiety4 0 0 0 0 τ 66

LGCM - Syntax TITLE: Example 6 - Linear Latent Growth Curve Model with 4 Time Points DATA: FILE IS "../../data/anxiety.dat"; VARIABLE: NAMES ARE anxiety1 anxiety2 anxiety3 anxiety4; MODEL: INTCEPT BY anxiety1@1 anxiety2@1 anxiety3@1 anxiety4@1; LINEAR BY anxiety1@0 anxiety2@1 anxiety3@2 anxiety4@3; anxiety1-anxiety4; [anxiety1-anxiety4@0]; INTCEPT LINEAR; [INTCEPT LINEAR]; INTCEPT WITH LINEAR; 67

LGCM Results

LGCM Results -0.011 0.151 Intercept 1 1 0.698 0.062 α 1 1 0 1 Slope 2 3 0.007 anxiety1 anxiety2 anxiety3 0.067 0.048 0.048 0.040 anxiety4 0 0 0 0 τ 69

Troubleshooting (1) Check if model is specified correctly Draw a diagram of your commands Read your summary of analysis (output) Number of groups Number of observations Number of DVs, IVs, continuous latent vars Names of DVs, latent vars

Troubleshooting (2) Check data file is reading in correctly Eyeball your data file for funny patterns Check your missing codes Warning Message e.g. Data set contains cases with missing on all variables. These cases were not included in the analysis. Number of cases with missing on all variables: 34 Make sure this number is correct based on your data file 71

Troubleshooting (3) COMMON Warning Message: The residual covariance matrix (Theta) is not positive definite. This could indicate a negative variance/residual variance for an observed variable, a correlation greater or equal to 1 between two observed variables or a linear dependency among more than 2 observed variables. PROBLEM INVOLVING VARIABLE VAR8 Check the technical output (e.g. tech1) 72

Troubleshooting (4) Exceeds iterations & did not converge Try start values for estimated parameters (can start with what the output gives you) e.g., y ON x *.1; Increase the number of iterations ANALYSIS: ITERATIONS = 10,000; (default is 1,000) Try a smaller piece of the model and work your way up to more complex 73

Troubleshooting (5) Model is unidentified/under identified Estimate fewer parameters Try fixing one or more parameters to 0 or 1 or to be equal to something else in the model e.g. in a longitudinal model, fix residuals to be equal across all time points. Saves you some parameter estimates 74

Additional Help/Resources KU CRMDA http://crmda.ku.edu/ Mplus Website http://statmodel.com/ Contains downloadable PDF of User s guide and example code with data. Has support forum for users 75