Download EQS SYNTAX for PA in the attached .eqs file
Tips : Load the data (Adv04) into EQS before loading the program file eqspa.eqs
Open eqspa.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
3 Mediators PA: Gender IV-> (Climate, Influence & Respect) -> Satisfaction DV
! Input after ! indicates different setup for Prediction and Direct Effect PA models
/SPECIFICATIONS
DATA='c:\users\Two\desktop\adv04.ess';
VARIABLES=69; CASES=265; MATRIX=RAW; ME= ML; Analyze = Cov;
/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;
/EQUATIONS
V59 = 0V2 + *V60 + *V61 + *V62 + E59; !Use for paths to DV in Mediator model
V60 = *V2 + E60; V61 = *V2 + E61; V62 = *V2 + E62; !Only use for Mediator model
! V59 = *V2 + *V60 + *V61 + *V62 + E59; !Paths to DV: only use for Prediction model
! V59 = *V2 + 0V60 + 0V61 + 0V62 + E59; !Path to DV: only use for Direct Effect model
/VARIANCES
V2 = *; E59 = *; E60 = *; E61 = *; E62 = *; !Variances for IV, & DV residuals for all models
/COVARIANCES
E60,E61 = *; E60,E62 = *; E61,E62 = *; !Correlated residuals for mediators for all models
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