Hello SAS users,
I would like to estimate a Proc GLM model and save the coefficient estimates in a new dataset.
The code I am using is below:
proc sort data=test;
by wficn md;
run;
PROC GLM DATA=test noprint;
ods output parameterestimates=params;
by wficn;
ABSORB md;
MODEL y=x1 x2 x3 x4 x5 /SOLUTION;
RUN;
When the model is estimated, SAS tells me the below, and no file is created:
NOTE: Interactivity disabled with BY processing.
NOTE: PROCEDURE GLM used (Total process time):
real time 0.05 seconds
cpu time 0.04 seconds
WARNING: Output 'parameterestimates' was not created. Make sure that the output object name,
label, or path is spelled correctly. Also, verify that the appropriate procedure
options are used to produce the requested output object. For example, verify that the
NOPRINT option is not used.
I have tried many different options for the Ods option without success, any help would be much appreciated.
Thank you!
Costas
WARNING: Output 'parameterestimates' was not created. Make sure that the output object name, label, or path is spelled correctly. Also, verify that the appropriate procedure options are used to produce the requested output object. For example, verify that the NOPRINT option is not used.
So, you can't use NOPRINT.
What you can do is this:
ods html select none;
proc glm data = test;
/* Your PROC GLM commands */
run;
ods html select all;
WARNING: Output 'parameterestimates' was not created. Make sure that the output object name, label, or path is spelled correctly. Also, verify that the appropriate procedure options are used to produce the requested output object. For example, verify that the NOPRINT option is not used.
So, you can't use NOPRINT.
What you can do is this:
ods html select none;
proc glm data = test;
/* Your PROC GLM commands */
run;
ods html select all;
Catch the best of SAS Innovate 2025 — anytime, anywhere. Stream powerful keynotes, real-world demos, and game-changing insights from the world’s leading data and AI minds.
ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.
Find more tutorials on the SAS Users YouTube channel.