Add the following to your GLIMMIX code - make sure the model statement has the S option specified as well.
ods output parameterestimates = pe;
Then check it using:
proc print data=pe;
run;
You can then add a where clause to filter to only the intercepts as needed.
Table Name/Option Reference:
https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.4/statug/statug_glimmix_details80.htm
@vgriggs wrote:
Hello everyone,
I am using proc glimmix to do mixed level modeling with random intercepts per ID.
What I need to export out of the model are the Intercept estimates and p-values by group ID. Currently we are copying them from the model output and pasting them, then we import them back in for use. I am wondering if there is a way to have it output a dataset with this info from the model.
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
Still thinking about your presentation idea? The submission deadline has been extended to Friday, Nov. 14, at 11:59 p.m. ET.
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.
Ready to level-up your skills? Choose your own adventure.