In the procedure Proc CALIS, is there a decent way to create resonable pathdiagram for structural equations model.
I drew a diagram, but it looked so confusing!
pathdiagram
data and programe has attached as follows:
ods graphics on; proc calis data=abort_miss modification maxit=500000 method=ml PLOT=pathdiagram; lineqs V5 = F3 + E5, V6 = LV6F1 F1 + E6, V7 = LV7F1 F1 + E7, V8 = LV8F4 F4 + E8, V9 = F4 + E9, V10 = LV10F4 F4 + E10, V11 = LV11F2 F2 + E11, V12 = LV12F2 F2 + E12, V14 = LV14F2 F2 + E14, V13 = F5 + E13, V15 = LV15F5 F5 + E15, V16 = LV16F5 F5 + E16, V17 = LV17F5 F5 + E17, V18 = LV18F5 F5 + E18, V22 = F6 + E22, V23 = F7 + E23, F7 = PF1F7 F1 + PF2F7 F2 + PF3F7 F3 + PF4F7 F4 + PF5F7 F5 + PF6F7 F6 + D7 ; variance E5 = 0.01, /* E3-E4 = VARE3-VARE4,*/ E6-E18 = VARE6-VARE18, E22 = 0.01, E23 = 0.01, D7 = VARD7, F1 = VARF1, F2 = VARF2, F4 = VARF4, F5 = VARF5, F3 = VARF3, F6 = VARF6 ; COV F1 F2 = CF1F2, F1 F3 = CF1F3, F1 F4 = CF1F4, F1 F5 = CF1F5, F1 F6 = CF1F6, F2 F3 = CF2F3, F2 F4 = CF2F3, F2 F5 = CF2F5, F2 F6 = CF2F6, F3 F4 = CF3F4, F3 F5 = CF3F5, F3 F6 = CF3F6, F4 F5 = CF4F5, F4 F6 = CF4F6, F5 F6 = CF5F6 ; VAR V1-V18 V22-V23; *by center; RUN; ods graphics off;
You might want to use the PATHDIGRAM statement in PROC CALIS, which provides much more controls over the appearance of the path diagram.
SAS Help Center: PATHDIAGRAM Statement
And also check out this paper --
Hope this helps,
Jill
Thanks for your help!
Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.
ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.
Find more tutorials on the SAS Users YouTube channel.