BookmarkSubscribeRSS Feed
thanoon
Calcite | Level 5

hi

i want to estimate parameters of sem by using weighted least square method but i have some question through the following sas program:

1- i want to write my own weight matrix how??

2- how can i write initial values?

3- how can i change link function here?

proc calis nobs=1000 data=MVO method=WLS;

var X1-X10;

lineqs

X1 = a1*F1+e1,

X2 = F1+e2,

X3 = F1+e3,

X4 = F1+e4,

X5 = a5*F2+e5,

X6 = F2+e6,

X7 = a7*F3+e7,

X8 = F3+e8,

X9 = a9*F4+e9,

X10 = F4+e10,

F2 = F1+d1,

F3 = F1+d2;

std

e1-e10 = The1-The10,

d1-d2 = psi1-psi2;

cov

e3 e5 = The11,

e4 e6 = The12;

weight;

run;

thanks in advance

3 REPLIES 3
Doc_Duke
Rhodochrosite | Level 12

you may want to repost this to the SAS Statistical Procedures forum, you'll get more CALIS users there.

thanoon
Calcite | Level 5

thanks alot

SteveDenham
Jade | Level 19

More CALIS users?  Where?  I haven't seen any around here yet... Smiley Wink

Steve Denham

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 3 replies
  • 1515 views
  • 0 likes
  • 3 in conversation