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

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

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