BookmarkSubscribeRSS Feed
braam
Quartz | Level 8

I can make the output set using ods output, but I don't want to report the results in my SAS. How can I do this?

 

	ods output ttests=out;
	proc ttest data= sashelp.cars plots=none;
		where lowcase(type) in ("suv", "sedan");
		class type;	var mpg:;	%rq;
	ods output close;

2 REPLIES 2
PaigeMiller
Diamond | Level 26

Add

ods html select none;

before PROC TTEST.

--
Paige Miller
Reeza
Super User

Use ODS SELECT NONE/ALL options.

 

ods select none;	
ods output ttests=out;
	proc ttest data= sashelp.cars plots=none;
		where lowcase(type) in ("suv", "sedan");
		class type;	var mpg:;	%rq;
	ods output close;
ods select all;

If you'd like to read up more on the topic see this blog post: https://blogs.sas.com/content/iml/2015/05/26/suppress-ods.html

 


@braam wrote:

I can make the output set using ods output, but I don't want to report the results in my SAS. How can I do this?

 

	ods output ttests=out;
	proc ttest data= sashelp.cars plots=none;
		where lowcase(type) in ("suv", "sedan");
		class type;	var mpg:;	%rq;
	ods output close;


 

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
What is Bayesian Analysis?

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 2 replies
  • 421 views
  • 4 likes
  • 3 in conversation