Download EQS SYNTAX for LVM in the attached .eqs file
Tips : Load the data Adv04 into EQS before loading the program file eqslvm.eqs
Open eqslvm.eqs and edit the path to Adv04 as below then save both files to a folder of your choice
Accurately specify the path to the Data e.g., DATA='c:\users\Your user name\Your folder name\adv04'
(assuming that you are using a Windows OS and you have downloaded the data and moved it to your folder)
In the Build_EQS menu select Run EQS
The output will be in your folder after you save it
/TITLE
Adv04-LVM-Full: Gender IV > (Influence, Climate, Respect) mediators >
Satisfaction DV
/SPECIFICATIONS
DATA='c:\users\Two\desktop\adv04.ess'; VARIABLES=69; CASES=265;
METHOD=ML; ANALYSIS=COVARIANCE; MATRIX=RAW;
/LABELS
V1=ID; V2=SEX1F2M; V3=CURRDEPT; V4=STEM; V5=CURRCOLL; V6=PRIMAPPT;
V7=COLLABOR; V8=SOCIALIN; V9=RESFUNDI; V10=SALCOMPA; V11=VTEACHER;
V12=VTEACH1; V13=VTEACH2; V14=VSCHOLAR; V15=STIMCONT; V16=CONTTHEO;
V17=AGE; V18=FRIENDLY; V19=NONRACIS; V20=DIVERSE; V21=RESPECTF;
V22=COLLEGIA; V23=NONSEXIS; V24=COLLAB1; V25=COOPERAT; V26=NONHOMO;
V27=SUPPORTI; V28=INFLU_CU; V29=INFLUSAL; V30=INFLMONE; V31=INFLUSEL;
V32=TENDECIS; V33=SELCHAIR; V34=AFFECTCU; V35=COLRESEA; V36=COLEXPEC;
V37=COLOPINI; V38=COLPRERE; V39=CPRERE; V40=COLFEARE; V41=COLGENRE;
V42=COLOEXRE; V43=COLSCRRE; V44=COLWORRE; V45=COLRULRE; V46=COLFITRE;
V47=SATIS1; V48=SATIS2; V49=SATIS3; V50=CLIMATE1; V51=CLIMATE2;
V52=CLIMATE3; V53=INFLUEN1; V54=INFLUEN2; V55=INFLUEN3; V56=RESPECT1;
V57=RESPECT2; V58=RESPECT3; V59=SATIS; V60=CLIMATE; V61=INFLUENC;
V62=RESPECT; V63=WLBALANC; V64=GENEQUTY; V65=PRODUCTV;
V66=RESSATIS; V67=RACEETH; V68=Y_HAT_M2; V69=RespectC;
!F1=Satisfaction; F2=Influence; F3=Respect; F4=Climate; !Names of 4 latent variables
/EQUATIONS
V47 = 1F1 + E47; V48 = *F1 + E48; V49 = *F1 + E49; !Satisfaction indicator equations
V53 = 1F2 + E53; V54 = *F2 + E54; V55 = *F2 + E55; !Influence indicator equations
V56 = 1F3 + E56; V57 = *F3 + E57; V58 = *F3 + E58; !Respect indicator equations
V50 = 1F4 + E50; V51 = *F4 + E51; V52 = *F4 + E52; !Climate indicator equations
F1 = *V2 + *F2 + *F3 + *F4 + D1; !For Full model equation to Satisfaction latent DV
F2 = *V2 + D2; F3 = *V2 + D3; F4 = *V2 + D4; !Paths to mediator LVs from Gender IV
!F1 = *V2 + D1; !Use for Direct model instead of F1 equation with all 4 predictors
!F1 = 0V2 + *F2 + *F3 + *F4 + D1; !Use for mediation LVM with Paths to mediator LVs
/VARIANCES
V2 = *; D1 = *; D2 = *; D3 = *; D4 = *; !Variances of IV, plus 3 disturbances
E47 = *; E48 = *; E49 = *; E50 = *; E51 = *; E52 = *; !Variances for measure residuals
E53 = *; E54 = *; E55 = *; E56 = *; E57 = *; E58 = *; !Variances for measure residuals
/COVARIANCES
D4,D3 = *; D4,D2 = *; D3,D2 = *; !Covariances among 3 mediator disturbances
FIT=ALL; TABLE=EQUATION;
/LMTEST
PROCESS=SIMULTANEOUS; SET=PVV,PFV,PFF,PDD,GVV,GVF,GFV,GFF,BVF,BFF;
/WTEST
PVAL=0.05; PRIORITY=ZERO;
/END