Do you have any Proc Calis codes that include mediating and moderating variables that you may share/send to me.
Please see the following:
My question is how do I include the mediating/moderating variable, perceived risk, in the SEM for the FA1 equation below?
Thank you and I look forward to hearing from you.
Sincerely,
Efosa
proc corr data=Sasuser.Chatb outp=banner;
run;
PROCfactor DATA=banner(TYPE=CORR) nfactors= 7rotate=varimax fuzz=0.00;
title"Exploratory Factor Analysis for Smartphone";
title2"Preferences for Speakers/Topics";
title3"THIRTEEN Factors Using pairwise deletion of missing values";
var IN3-IN6 PRI PR2-PR4 UB1-UB4 HB1-HB6 SB1-SB5 PA1-PA5 PI1-PI4;
run;
proc caliscovariance corrresidual modification ;
title"SEM - 1 Factor model - Var(F)=1";
lineqs
IN3 = AA3 FA1 + E3, /* Continuous Use Intention*/
IN4 = AA4 FA1 + E4,
IN5 = AA5 FA1 + E5,
IN6 = AA6 FA1 + E6,
PRI = B1 FA2 + E7, /* Perceived Risk */
PR2 = B2 FA2 + E8,
PR3 = B2 FA2 + E9,
PR4 = B2 FA2 + E10,
UB1 = CC1 FA3 + E11, /* Utilitarian Benefits */
UB2 = CC2 FA3 + E12,
UB3 = CC3 FA3 + E13,
UB4 = CC4 FA3 + E14,
HB1 = DD1 FA4 + E15, /* Hedonic Benefits */
HB2 = DD2 FA4 + E16,
HB3 = DD3 FA4 + E17,
HB4 = DD4 FA4 + E18,
HB5 = DD5 FA4 + E19,
HB6 = DD6 FA4 + E20,
SB1 = EE1 FA5 + E21, /* Social Benefits */
SB2 = EE2 FA5 + E22,
SB3 = EE3 FA5 + E23,
SB4 = EE4 FA5 + E24,
SB5 = EE5 FA5 + E25,
PA1 = FF1 FA6 + E26, /* Perceved Athropomorphism */
PA2 = FF2 FA6 + E27,
PA3 = FF3 FA6 + E28,
PA4 = FF4 FA6 + E29,
PA5 = FF5 FA6 + E30,
PI1 = GG1 FA7 + E31, /* Perceived Intelligence */
PI2 = GG2 FA7 + E32,
PI3 = GG3 FA7 + E33,
PI4 = GG4 FA7 + E34,
FA3 = PFA3 FA6 + PFA4 FA7 + D1, /* SEM for Utilitarian Benefits */
FA4 = PFA9 FA6 + PFA10 FA7 + D2, /* SEM Hedonic Benefits */
FA5 = PFA11 FA6 + PFA12 FA7 + D3, /* SEM Social Benefits */
FA1 = PFA20 FA3 + PFA21 FA4 + PFA22 FA5 + D4; /* Continuous Use Intention*/
std
E3-E34 = VARE3-VARE34,
FA2 = VARFA2,
FA6-FA7 = VARFA6-VARFA7,
D1-D4 = VARD1-VARD4;
COV
FA2 FA6 = CFA2FA6,
FA2 FA7 = CFA2FA7,
FA6 FA7 = CFA6FA7;
run;
Do you have any Proc Calis codes that include mediating and moderating variables that you may share/send to me.
Please see the following:
My question is how do I include the mediating/moderating variable, perceived risk, in the SEM for the FA1 equation below?
Thank you and I look forward to hearing from you.
Sincerely,
Efosa
proc corr data=Sasuser.Chatb outp=banner;
run;
PROCfactor DATA=banner(TYPE=CORR) nfactors= 7rotate=varimax fuzz=0.00;
title"Exploratory Factor Analysis for Smartphone";
title2"Preferences for Speakers/Topics";
title3"THIRTEEN Factors Using pairwise deletion of missing values";
var IN3-IN6 PRI PR2-PR4 UB1-UB4 HB1-HB6 SB1-SB5 PA1-PA5 PI1-PI4;
run;
proc caliscovariance corrresidual modification ;
title"SEM - 1 Factor model - Var(F)=1";
lineqs
IN3 = AA3 FA1 + E3, /* Continuous Use Intention*/
IN4 = AA4 FA1 + E4,
IN5 = AA5 FA1 + E5,
IN6 = AA6 FA1 + E6,
PRI = B1 FA2 + E7, /* Perceived Risk */
PR2 = B2 FA2 + E8,
PR3 = B2 FA2 + E9,
PR4 = B2 FA2 + E10,
UB1 = CC1 FA3 + E11, /* Utilitarian Benefits */
UB2 = CC2 FA3 + E12,
UB3 = CC3 FA3 + E13,
UB4 = CC4 FA3 + E14,
HB1 = DD1 FA4 + E15, /* Hedonic Benefits */
HB2 = DD2 FA4 + E16,
HB3 = DD3 FA4 + E17,
HB4 = DD4 FA4 + E18,
HB5 = DD5 FA4 + E19,
HB6 = DD6 FA4 + E20,
SB1 = EE1 FA5 + E21, /* Social Benefits */
SB2 = EE2 FA5 + E22,
SB3 = EE3 FA5 + E23,
SB4 = EE4 FA5 + E24,
SB5 = EE5 FA5 + E25,
PA1 = FF1 FA6 + E26, /* Perceved Athropomorphism */
PA2 = FF2 FA6 + E27,
PA3 = FF3 FA6 + E28,
PA4 = FF4 FA6 + E29,
PA5 = FF5 FA6 + E30,
PI1 = GG1 FA7 + E31, /* Perceived Intelligence */
PI2 = GG2 FA7 + E32,
PI3 = GG3 FA7 + E33,
PI4 = GG4 FA7 + E34,
FA3 = PFA3 FA6 + PFA4 FA7 + D1, /* SEM for Utilitarian Benefits */
FA4 = PFA9 FA6 + PFA10 FA7 + D2, /* SEM Hedonic Benefits */
FA5 = PFA11 FA6 + PFA12 FA7 + D3, /* SEM Social Benefits */
FA1 = PFA20 FA3 + PFA21 FA4 + PFA22 FA5 + D4; /* Continuous Use Intention*/
std
E3-E34 = VARE3-VARE34,
FA2 = VARFA2,
FA6-FA7 = VARFA6-VARFA7,
D1-D4 = VARD1-VARD4;
COV
FA2 FA6 = CFA2FA6,
FA2 FA7 = CFA2FA7,
FA6 FA7 = CFA6FA7;
run;
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
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.