BookmarkSubscribeRSS Feed
PhilWood
Obsidian | Level 7

I have a path diagram with meanstructure. I wouuld like to omit all zero-valued manifest variable intercepts from the path diagram, but, in reading the fine manual, cannot see how to specify the path from the mean to the manifest variable.  E.g., code looks like:

proc calis data=Simulated meanstr method=fiml plots=pathdiagram;
pathdiagram mean=path nofittable dh=1200 ;
factor
Growth ===> x1-x16=L1-L16;
mean Growth=MGrowth,
x1=0,
x2=0,
...

x16=0;
pvar
Growth = 1.,
x1-x16 = e1-e16;

thanks for any help!

1 REPLY 1
PhilWood
Obsidian | Level 7

thanks so the wonderful folks at SAS, the solution is:

to use the OMITPATH option, e.g.:

pathdiagram mean=path nofittable dh=1200 dw=1000 omitpath=[1->x1-x16];

 

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

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
  • 1 reply
  • 982 views
  • 1 like
  • 1 in conversation