Help using Base SAS procedures

Proc GLM only show fit statistics

Accepted Solution Solved
Reply
Contributor
Posts: 39
Accepted Solution

Proc GLM only show fit statistics

Hello,

 

I am trying to output to the results window only the fi statistics for proc glm. The only thing I have been able to do is suppress the output with ods close and output the fit statistics to a data set, but I want to see the results because eventually I would like the results to be put into excel with ods excel.

 

My code for what I have tried so far is as follows:

 

proc glm data=temp.data_set;

class var1 (ref="1");

model dep_var=var1 var2 / solution;

ods output fitstatistics=test2;

run;

 

This outputs it to a dataset, but I'd rather have the results window just show the fit statistics. Any help would be great.

 

Thank You.

 

 


Accepted Solutions
Solution
‎01-18-2017 02:26 PM
Respected Advisor
Posts: 3,777

Re: Proc GLM only show fit statistics

ods select fitstatistics;

View solution in original post


All Replies
Solution
‎01-18-2017 02:26 PM
Respected Advisor
Posts: 3,777

Re: Proc GLM only show fit statistics

ods select fitstatistics;

Contributor
Posts: 39

Re: Proc GLM only show fit statistics

Wow, huge mental lapse. Thank You.

☑ This topic is SOLVED.

Need further help from the community? Please ask a new question.

Discussion stats
  • 2 replies
  • 174 views
  • 0 likes
  • 2 in conversation