BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
costasRO
Fluorite | Level 6

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

1 ACCEPTED SOLUTION

Accepted Solutions
PaigeMiller
Diamond | Level 26
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;
--
Paige Miller

View solution in original post

2 REPLIES 2
PaigeMiller
Diamond | Level 26
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;
--
Paige Miller
costasRO
Fluorite | Level 6
Thank you so much, works perfectly!

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

What is ANOVA?

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.

Discussion stats
  • 2 replies
  • 547 views
  • 1 like
  • 2 in conversation