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

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

Register now!

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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