The SAS Output Delivery System and reporting techniques

output tables from proc glm

Accepted Solution Solved
Reply
Contributor
Posts: 33
Accepted Solution

output tables from proc glm

Dear everyone, 

 

I am trying to save 2 temporary tables from PROC GLM. I would like to save the Parameter Estimates Table and also another table with columns pertaining to fitted values, standard errors, confidence limits, residuals etc. I have the following code, but I am not getting any of these 2 tables in the work folder. I also checked the log window, but there is no error message. Can someone please help me? Thank you!

 

data mydat;
input group $ days yy;
datalines;
A 0 7.4
A 2 7.2
A 4 7.4
A 6 6.9
A 8 6.8
A 10 6.9
A 12 6.7
A 14 6.4
A 16 6.3
B 0 8.1
B 2 8
B 4 7.9
B 6 7.8
B 8 7.7
B 10 7.9
B 12 7.5
B 14 7.4
B 16 7.2
;
run;

 

ods table param=ParameterEstimates;
proc glm data=mydat ;
class group;
model yy= group days days*group/noint alpha=0.05 ss1;
output out=mytable p=fitted stdr=stderr lclm=CIlower uclm=CIupper lcl=PIlower UCL=PIupper rstudent=rstudent residual=resid;
run;

 

 

 


Accepted Solutions
Solution
‎12-14-2015 10:32 AM
Trusted Advisor
Posts: 1,281

Re: output tables from proc glm

ods output parameterestimates=params;

View solution in original post


All Replies
Solution
‎12-14-2015 10:32 AM
Trusted Advisor
Posts: 1,281

Re: output tables from proc glm

ods output parameterestimates=params;

Grand Advisor
Posts: 16,382

Re: output tables from proc glm

Your code is backwards, it's ODS table name and then what you'd like to call it:

 

 

ods table ParameterEstimates=param;

 

 

Contributor
Posts: 33

Re: output tables from proc glm

Thanks a lot  Reeza! 

 

Trusted Advisor
Posts: 1,281

Re: output tables from proc glm


Reeza wrote:

Your code is backwards, it's ODS table name and then what you'd like to call it:

 

 

ods table ParameterEstimates=param;

 

 


Shouldn't that say ods output and not ods table?

Post a Question
Discussion Stats
  • 4 replies
  • 433 views
  • 2 likes
  • 3 in conversation