1 ICPSR General Structural Equation Models Week 4 #4 (last class) Interactions in latent variable models An introduction to MPLUS software An introduction.

Slides:



Advertisements
Similar presentations
Need to check (e.g., cov) and pretty-up: The LISREL software may be obtained at Other software packages include Eqs (
Advertisements

1 Regression as Moment Structure. 2 Regression Equation Y =  X + v Observable Variables Y z = X Moment matrix  YY  YX  =  YX  XX Moment structure.
SEM PURPOSE Model phenomena from observed or theoretical stances
General Structural Equations Week 2 #5 Different forms of constraints Introduction for models estimated in multiple groups.
Structural Equation Modeling Mgmt 290 Lecture 6 – LISREL Nov 2, 2009.
Structural Equation Modeling Using Mplus Chongming Yang Research Support Center FHSS College.
General Structural Equation (LISREL) Models
Structural Equation Modeling
Sakesan Tongkhambanchong, Ph.D.(Applied Behavioral Science Research) Faculty of Education, Burapha University.
Latent Variable and Structural Equation Models: Bayesian Perspectives and Implementation. Peter Congdon, Queen Mary University of London, School of Geography.
Slide B.1 LISREL MathematicalMarketing Appendix B: The LISREL Software In this section we will cover how to run LISREL, software designed to run the covariance.
Latent Growth Curve Modeling In Mplus:
Overview of field trial analysis procedures National Research Coordinators Meeting Windsor, June 2008.
Structural Equation Modeling
Multiple regression analysis
The General LISREL MODEL and Non-normality Ulf H. Olsson Professor of Statistics.
Structural Equation Modeling
Notes on Logistic Regression STAT 4330/8330. Introduction Previously, you learned about odds ratios (OR’s). We now transition and begin discussion of.
LECTURE 16 STRUCTURAL EQUATION MODELING.
Structural Equation Modeling Intro to SEM Psy 524 Ainsworth.
Review for Final Exam Some important themes from Chapters 9-11 Final exam covers these chapters, but implicitly tests the entire course, because we use.
Mixture Modeling Chongming Yang Research Support Center FHSS College.
Structural Equation Modeling Continued: Lecture 2 Psy 524 Ainsworth.
Multiple Sample Models James G. Anderson, Ph.D. Purdue University.
Path analysis: Observed variables Much has been written about path analysis; has been around for over 20 years; started in sociology. Usually has been.
Structural Equation Modeling 3 Psy 524 Andrew Ainsworth.
Moderation in Structural Equation Modeling: Specification, Estimation, and Interpretation Using Quadratic Structural Equations Jeffrey R. Edwards University.
Simple Linear Regression
Copyright © 2013, 2009, and 2007, Pearson Education, Inc. Chapter 14 Comparing Groups: Analysis of Variance Methods Section 14.2 Estimating Differences.
General Structural Equations (LISREL) Week 3 #4 Mean Models Reviewed Non-parallel slopes Non-normal data.
CJT 765: Structural Equation Modeling Class 7: fitting a model, fit indices, comparingmodels, statistical power.
1 General Structural Equation (LISREL) Models Week 2 #3 LISREL Matrices The LISREL Program.
Educational Research: Competencies for Analysis and Application, 9 th edition. Gay, Mills, & Airasian © 2009 Pearson Education, Inc. All rights reserved.
Estimation Kline Chapter 7 (skip , appendices)
ICPSR General Structural Equation Models Week 4 # 3 Panel Data (including Growth Curve Models)
CJT 765: Structural Equation Modeling Class 8: Confirmatory Factory Analysis.
1 General Structural Equations (LISREL) Week 1 #4.
Measurement Models: Exploratory and Confirmatory Factor Analysis James G. Anderson, Ph.D. Purdue University.
1 Parallel Models. 2 Model two separate processes which run in tandem Bedwetting and daytime wetting 5 time points: 4½, 5½, 6½,7½ & 9½ yrs Binary measures.
1 Differential Item Functioning in Mplus Summer School Week 2.
General Structural Equation (LISREL) Models Week 3 # 3 MODELS FOR MEANS AND INTERCEPTS.
G Lecture 81 Comparing Measurement Models across Groups Reducing Bias with Hybrid Models Setting the Scale of Latent Variables Thinking about Hybrid.
SEM Basics 2 Byrne Chapter 2 Kline pg 7-15, 50-51, ,
CJT 765: Structural Equation Modeling Class 8: Confirmatory Factory Analysis.
Structural Equation Modeling Mgmt 291 Lecture 3 – CFA and Hybrid Models Oct. 12, 2009.
General Structural Equations (LISREL)
ALISON BOWLING CONFIRMATORY FACTOR ANALYSIS. REVIEW OF EFA Exploratory Factor Analysis (EFA) Explores the data All measured variables are related to every.
Tutorial I: Missing Value Analysis
Demonstration of SEM-based IRT in Mplus
CJT 765: Structural Equation Modeling Class 9: Putting it All Together.
Nonparametric Statistics
Biostatistics Regression and Correlation Methods Class #10 April 4, 2000.
Copyright © 2012 Wolters Kluwer Health | Lippincott Williams & Wilkins Chapter 18 Multivariate Statistics.
1 General Structural Equation (LISREL) Models Week 4 #1 Non-normal data: summary of approaches Missing data approaches: summary, review and computer examples.
Chapter 14 EXPLORATORY FACTOR ANALYSIS. Exploratory Factor Analysis  Statistical technique for dealing with multiple variables  Many variables are reduced.
BUS 308 Entire Course (Ash Course) For more course tutorials visit BUS 308 Week 1 Assignment Problems 1.2, 1.17, 3.3 & 3.22 BUS 308.
The SweSAT Vocabulary (word): understanding of words and concepts. Data Sufficiency (ds): numerical reasoning ability. Reading Comprehension (read): Swedish.
Donde Esta Lisrel. ssicentral
Nonparametric Statistics
BINARY LOGISTIC REGRESSION
Notes on Logistic Regression
CJT 765: Structural Equation Modeling
CJT 765: Structural Equation Modeling
CHAPTER 29: Multiple Regression*
Nonparametric Statistics
LISREL matrices, LISREL programming
Structural Equation Modeling
General Structural Equation (LISREL) Models
Structural Equation Modeling
Presentation transcript:

1 ICPSR General Structural Equation Models Week 4 #4 (last class) Interactions in latent variable models An introduction to MPLUS software An introduction to latent class models Models for (conceptually!) categorical dependent variables

2 Article discussion: “Reexamination and Extension of Kleine, Llein and Kerman’s Social Identity Model of Mundane Consumption: the Mediating Role of the Appraisal Process” J. Of Consumer Research, 28, 2002,

3 Article discussion : “ Reexamination and Extension of Kleine, Llein and Kerman’s Social Identity Model of Mundane Consumption: the Mediating Role of the Appraisal Process” J. Of Consumer Research, 28, 2002, Data pooled, 2 groups: tennis players; aerobics group Tested H0: S[1] = S[2] (p>.50) Tennis players, 68% response, listwise N=213 vs. N of 318. Aerobics, 73% response, listwise N= 329 vs. N of 359

4 “ Reexamination and Extension of Kleine, Llein and Kerman’s Social Identity Model of Mundane Consumption: the Mediating Role of the Appraisal Process” J. Of Consumer Research, 28, 2002, Measurement model fit to data: “fit the aerobics data well, … residuals normally distributed” Common method variance… to test, allowed covariances among residuals of identically worded questions… “mimimal effect (change in r <.01) on interfactor correlations. Original model: identity importance DV. 2 nd model reverses direction entirely: 3 commitment variables as DVs “significant reduction in model fit” (table 1, model 2 Xsq=15605, df=373 vs df=370 for “a priori structural model” and with post-hoc modifications to this). Question not answered: which additional restrictions were in the “reversed” model?

5 A b C E D The chi-square value reflects, among other things, the restrictions in this model, eg. A  E coefficient = 0.

6 E b C A D In this model, another set of restrictions is imposed (e.g., E  A direct path =0). If the true model involves reciprocal causation, neither model is specified correctly “Tests” – chi-square comparisons” – are not formal (not nested) Moreover, they reflect the “other” restrictions in the model and not an A  E vs. E—A test.

7 True model

8 INTERACTIONS IN LATENT VARIABLE STRUCTURAL EQUATION MODELS Y = b0 + b1 X1 + b2 X2 + b3 (X1*X2) + e If X is categorical: multiple group modeling If X is continuous: more complicated Categorical: can also model as dummy variables.

9 Interactions Easiest case: X1 is 0/1 X2 ix 0/1 Options: 1. Manually construct X3=X1*X2 outside SEM software, estimate model with X1,X2,X3 exogenous. Test for interaction: fix regression coefficient for X3 to Create two groups: X1=0 and X1=1. In each group, X2 as exogenous variable. Test for interaction would be H0: gamma[1] = gamma[2]. Extensions for X1, X2 >2 categories straightfoward (more groups/dummy variables)

10 Interactions Option 3: Model as a 4-group problem. X1 10 X21gr1gr2 0gr3 gr4 AL[1]=0 al[2], al[3],al[4] parameters to be estimated. Main effects model (no interaction) would allow for al[2]≠al[3] ≠al[4] but pattern of differences would be constrained such that…..

11 Interactions Model as a 4-group problem. X1 10 X21gr1gr2 0gr3 gr4 AL[1]=0 al[2], al[3],al[4] parameters to be estimated. Main effects model (no interaction) would allow for al[2]≠al[3] ≠al[4] but pattern of differences would be constrained such that….. The group1 vs. group 2 difference = group 3 vs. group 4 difference (or group 1 vs. 3 difference = group 2 vs. group 4). Programming in LISREL would be: Al[1] – Al[2] = al[3]- al[4] 0 – al[2] = al[3] – al[4] Al[2] = al[4]-al[3] LISREL: CO al 2 1 = al 4 1 – al 3 1 Test for interaction: run another model removing this constraint (all AL completely free except group 1) … more examples provided in text

12 Interactions Interactions involving continuous variables. Case 1: One continuous (single or multiple indicator) and one categorical variable EASY: categorical variable becomes basis for grouping. Group 1 Eta = gamma[1] Ksi + zeta Group 2 Eta = gamma[2] Ksi + zeta Test for interaction: H0: gamma[1] = gamma[2] Case 2: Two continuous single indicator variables Also somewhat straightforward: Create single-indicator X3 = X2*X1 Case 3: Two continuous multiple indicator latent variables This is not so easy! Substantial literature on this question See course outline for extended list. (Schumacker and Mracoulides, eds., Interaction and Nonlinear Effects in Structural Equation Modeling). Case 3A, not talked about much: X1 single indicator Ksi1 (X2, X3,X4) Create: X1X2, X1X3, X1,X4

13 Latent variable interactions Major approaches: Kenny-Judd Simplified variants of Kenny-Judd, modifications, etc. (Joreskog & Yang, 1996; Ping) Two-stage least squares (get instrumental variables) Use SEM to estimate 2 factor model, save latent variable “scores” (analogous to factor scores), then use these

14 Latent variable interactions Use SEM to estimate 2 factor model, save latent variable “scores” (analogous to factor scores), then use these In LISREL: Mo nx=6 nk=2 lx=fu,fi ph-sy,fr td=sy Va 1.0 lx 1 1 lx 4 2 Fr lx 2 1 lx 3 1 lx 5 2 lx 6 2 PS=Newfile.psf OU

15 Latent variable interactions Use SEM to estimate 2 factor model, save latent variable “scores” (analogous to factor scores), then use these In LISREL: Mo nx=6 nk=2 lx=fu,fi ph-sy,fr td=sy Va 1.0 lx 1 1 lx 4 2 Fr lx 2 1 lx 3 1 lx 5 2 lx 6 2 PS=Newfile.psf OU LISREL documentation suggests that a simple regression can be estimated in PRELIS: Sy=newfile.psf ne inter=ksi1*ksi2 rg y on ksi1 ksi2 ksi1ksi2 ou

16 Latent variable interactions LISREL documentation suggests that a simple regression can be estimated in PRELIS: Sy=newfile.psf ne inter=ksi1*ksi2 rg y on ksi1 ksi2 ksi1 ksi2 ou …. But it should also be possible to a) construct “inter” (=ksi1*ksi2) and read the 3 new “single indicator” variables back into LISREL for use with other variables (including those which form the basis of multiple-indicator endogenous variables. If all else fails, construct a LISREL model for Ksi1, Ksi2, and put FS (factor score regressions) on the OU line: OU ME=ML FS MI ND=4.. And use factor score regressions to compute estimated factor scores in any stat package (incl. PRELIS)

17 Example: INTERACTION MODEL WITH INTERACTION TERM CREATED EXTERNALLY SINGLE INDICATORS FOR EXOGENOUS LVS INVOLVED IN INTERACTION DA NO=1111 NI=10 MA=CM CM FI=G:\ICPSR\INTERACTIONS\INT5b.COV FU FO (10F10.7) LABELS lv1 lv2 interact sex race v217 v216 v125 v127 v130 se / mo ny=3 ne=1 LY=FU,FI PS=SY,FR TE=SY c nx=7 nk=7 fixedx ga=fu,fr va 1.0 ly 1 1 fr ly 2 1 ly 3 1 ou me=ml se tv mi sc

18 Example: LISREL Estimates (Maximum Likelihood) LAMBDA-Y ETA v v (0.24) 5.59 v (0.11) 5.74 GAMMA lv1 lv2 interact sex race v ETA (0.06) (0.08) (0.45) (0.11) (0.13) (0.03) GAMMA v ETA (0.03) 2.92 Dep var = inequality att’s (high score  “more individual effort”) Lv1=relig. Lv2=econ. status

19 Kenny-Judd model Typically, literature (e.g., Kenny-Judd, 1984; Hayduk, 1987) starts with 2- indicator example (2 LV’s each with 2 indicators). Ksi1 Ksi2Ksi1*Ksi2 (interaction term) Indicators:Ksi1:x1 x2 Ksi2:x3 x4 Possible product terms: x1*x3x1*x4 x2*X3X2*x4 Kenny-Judd model use 4 product terms but Joreskog and Yang show that the model can be constructed with 1 product term.

20 Kenny-Judd model Typically, literature (e.g., Kenny-Judd, 1984; Hayduk, 1987) starts with 2-indicator example (2 LV’s each with 2 indicators). Ksi1 Ksi2Ksi1*Ksi2 (interaction term) Indicators:Ksi1:x1 x2 Ksi2:x3 x4 Possible product terms: x1*x3x1*x4 x2*X3X2*x4 Kenny-Judd model use 4 product terms but Joreskog and Yang show that the model can be constructed with 1 product term. Kenny-Judd do not include constant intercept terms (alpha, tau).. But even if dependent variable, Ksi1, Ksi2 and zeta have zero means, alpha will still be nonzero. - means of observed variables functions of other parameters in the model and therefore intercept terms have to be included. - Nonnormality even if x’s are normal (ADF estimation often recommended if sample size acceptable)

21 Kenny-Judd model

22 Kenny-Judd model alpha=1 term

23 Kenny-Judd model, mod. INTERACTION MODEL KENNY JUDD MODIFICATION (JORESKOG AND YANG) ONE INTERACTION INDICATOR 3 INDICATORS PER L.V. DA NO=1111 NI=22 CM FI=G:\ICPSR2000\INTERACTIONS\INT5c.COV FU FO (22F20.11) ME FI=G:\ICPSR2000\INTERACTIONS\INT5C.MN FO (22F20.11) LABELS v181 v9 v190 v221 v226 v227 relinc1 relinc2 relinc3 relinc4 relinc5 relinc6 relinc7 relinc8 reling9 sex race v217 v216 v125 v127 v130 se / mo ny=3 ne=1 NX=11 NK=7 LY=FU,FI PS=SY,FR C TE=SY TX=FR KA=FI C LX=FU,FI GA=FU,FR PH=SY,FR TD=SY AL=FI TY=FR va 1.0 ly 1 1 fr ly 2 1 ly 3 1 FI PH 3 1 PH 3 2 FR KA 3 VA 1.0 LX 1 1 LX 4 2 LX 7 3 LX 8 4 LX 9 5 LX 10 6 LX 11 7 FR TD 1 1 TD 2 2 TD 3 3 TD 4 4 TD 5 5 TD 6 6 TD 7 7 FR LX 2 1 LX 3 1 LX 5 2 LX 6 2 LX 7 1 LX 7 2 CO LX(7,1)=TX(1) CO LX(7,2)=TX(4) CO KA(3) = PH(2,1) FI PH 3 1 PH 3 2 CO PH(3,3) = PH(1,1)*PH(2,2) + PH(2,1)**2 CO TX(6) = TX(1)*TX(4) FI TD(8,8) TD(9,9) TD(10,10) TD(11,11) CO TD(7,7) = TX(1)**2*TD(3,3) + TX(4)**2*TD(1,1) + PH(1,1)*TX(4) + C PH(2,2)*TX(1) + TD(1,1)*TD(4,4) OU ME=ML SE TV ND=3 AD=off

24 Kenny-Judd model, modified Joreskog/Yang Parameter Specifications LAMBDA-Y ETA v125 0 v127 1 v130 2 LAMBDA-X KSI 1 KSI 2 KSI 3 KSI 4 KSI 5 KSI v v v v v v relinc3 Constr'd Constr'd sex race v v

25 Kenny-Judd model, modified Joreskog/Yang GAMMA KSI 1 KSI 2 KSI 3 KSI 4 KSI 5 KSI ETA (0.009) (0.015) (0.004) (0.098) (0.125) (0.024) GAMMA KSI ETA (0.029) 2.735

26 Latent class models Basic parameters: 1.Latent class probabilities 2.Conditional probabilities (given one is in latent class A, what are the probabilities that one will be in cat i of indicator j? … prob’s sum to 1.0). Parameter constraints are possible (in some cases, needed for identification).

27 A latent class model Software: MLLSA NUMBER OF LATENT CLASSES REQUESTED: 5 START VALUES ENTERED FOR LATENT CLASS PROBABILITIES: START VALUES ENTERED FOR CONDITIONAL PROBABILITIES:

28 A latent class model Software: MLLSA ***** ITERATION STEPS ***** DEVIATION = ITERATION = 10 DEVIATION = ITERATION = 20 DEVIATION = ITERATION = 30 DEVIATION = ITERATION = 40 DEVIATION = ITERATION = 50 DEVIATION = ITERATION = 60 DEVIATION = ITERATION = 70 DEVIATION = ITERATION = FINAL LIKELIHOOD RATIO CHI-SQUARE = FINAL PEARSON CHI-SQUARE = INDEX OF DISSIMILARITY = FINAL LATENT CLASS PROBABILITIES:

29 Latent class model 1.FINAL CONDITIONAL PROBABILITIES: 2. LATENT CLASS = PLAN ENTIRE PLAN PART PLAN NOT SUPTIME NOT SUPTIME 1/ SUPTIME 1/4-1/ SUPTIME 1/ NSUPER NSUPER NSUPER NSUPER TIMEPLAN NOT TIMEPLAN UP TO 1/ TIMEPLAN 1/ FINAL LATENT CLASS PROBABILITIES:

30 Latent class model ASSIGNMENT OF RESPONDENTS TO LATENT CLASS: CELL OBSERVED EXPECTED ASSIGN TO CLASS MODAL PROBABILITY

31 MPlus software See director /Week4Examples/MPlus TITLE: categorical #1 DATA: FILE IS H:\ICPSR2003\Week4Examples\MPlus\Categor.dat VARIABLE: NAMES ARE REGION V166-V175 EDUC AGE SEX; USEV = V166-V175; CATEGORICAL = V166-V175; ANALYSIS: TYPE = EFA 1 3; ESTIMATOR WLSMV; Exploratory factor analysis with binary variables

32 MPlus software Exploratory factor analysis with binary variables VARIMAX ROTATED LOADINGS ________ ________ ________ V V V V V V V V V V PROMAX ROTATED LOADINGS ________ ________ ________ V V V V V V V V V V PROMAX FACTOR CORRELATIONS ________ ________ ________

33 MPlus reads raw data write outfile = 'h:\icpsr2003\Week4Examples\Mplus\catmiss.dat' /region v166 v167 v168 v169 v170 v171 v172 v173 v174 v175 v356 v355 v353 (14F3.0). -Must use WRITE command in SPSS (or PUT command in SAS) to write raw data to file. -Initially, listwise delete, though MPlus will handle missing data

34 Latent class model using MPlus TITLE: latent class model #1 DATA: FILE IS H:\ICPSR2003\Week4Examples\MPlus\Categor.dat VARIABLE: NAMES ARE REGION V166-V175 EDUC AGE SEX; USEV = V166-V169; CLASSES = C(2); CATEGORICAL = V166-V169; ANALYSIS: TYPE = MIXTURE; MITERATIONS=100; MODEL: %OVERALL% [v166$1*-1 V167$1*1 V168$1*1 V169$1*1]; %c#2% [V166$1*-2 V167$1*0 v168$1*0 v169$1*0]; OUTPUT: TECH8;

35 Latent class model using MPlus Chi-Square Test of Model Fit for the Latent Class Indicator Model Part Pearson Chi-Square Value Degrees of Freedom 6 P-Value Likelihood Ratio Chi-Square Value Degrees of Freedom 6 P-Value

36 Latent class model using MPlus FINAL CLASS COUNTS AND PROPORTIONS OF TOTAL SAMPLE SIZE BASED ON ESTIMATED POSTERIOR PROBABILITIES Class Class CLASSIFICATION OF INDIVIDUALS BASED ON THEIR MOST LIKELY CLASS MEMBERSHIP Class Counts and Proportions Class Class

37 Latent class model using MPlus LATENT CLASS INDICATOR MODEL PART Class 1 Thresholds V166$ V167$ V168$ V169$ Class 2 Thresholds V166$ V167$ V168$ V169$ LATENT CLASS REGRESSION MODEL PART Means C#

38 Latent class model using MPlus LATENT CLASS INDICATOR MODEL PART IN PROBABILITY SCALE Class 1 V166 Category Category V167 Category Category V168 Category Category V169 Category Category Class 2 V166 Category Category V167 Category Category V168 Category Category V169 Category Category V166=God V167=Life after death V168=A soul V169 = The devil

39 Latent class model using MPlus V166=God V167=Life after death V168=A soul V169 = The devil LATENT CLASS INDICATOR MODEL PART IN PROBABILITY SCALE Class 1 V166 Category Category V167 Category Category V168 Category Category V169 Category Category Class 2 V166 Category Category V167 Category Category V168 Category Category V169 Category Category Class 3 V166 Category Category V167 Category Category V168 Category Category V169 Category Category class model FINAL CLASS COUNTS AND PROPORTIONS OF TOTAL SAMPLE SIZE BASED ON ESTIMATED POSTERIOR PROBABILITIES Class Class Class

40 Last slide Put ICPSR in subject heading