proc glimmix data=data1; class treatment block; model weight = treatment; random block; run;
By using the SAS OnDemand for Academics, the default decimal number of the output is 4, how to increase to 6. Thank you very much in advance!
Add the solution option to your model statement to have the parameterEstimates displayed. But this means you actually want a different table most likely.
In that case, look for the table name of the table you actually want to save.
Here's some instructions and explanations on how to capture output that is shown.
https://blogs.sas.com/content/sastraining/2017/03/31/capturing-output-from-any-procedure-with-an-ods...
Table names are documented here as well:
https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.4/statug/statug_glimmix_details80.htm
The ODS OUTPUT statement(s) should go either immediately prior to the proc or as part of the Procedure code and have to rerun the procedure with the option on such as:
ods output parameterestimates= myparmdataset;
proc glimmix data=data1; class treatment block; model weight = treatment; random block; run;
Add the solution option to your model statement to have the parameterEstimates displayed. But this means you actually want a different table most likely.
In that case, look for the table name of the table you actually want to save.
Here's some instructions and explanations on how to capture output that is shown.
https://blogs.sas.com/content/sastraining/2017/03/31/capturing-output-from-any-procedure-with-an-ods...
Table names are documented here as well:
https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.4/statug/statug_glimmix_details80.htm
When CLASS variables are present, the default behavior of PROC GLIMMIX is to NOT produce parameter estimates, and so no output data set parameterestimates. But, this option fixes the issue
model weight = treatment/solution;
Which brings us to a philosophical discussion. SAS (and others) thinks that if you have a class variable, you want to compare means and not really fit a model. I happen to agree with that, for what it's worth (and no, SAS isn't paying me anything to say that). You apparently have the opposite opinion, you want to do the model fit with class variables, and not compare means. Of course, that's not wrong, and you are certainly entitled to fit the model instead of compare the means. But you might want to think about it more, and see if what you really need to know is the difference between the means.
Thank you all for helping me out!
Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!
Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.