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;
Add
ods html select none;
before PROC TTEST.
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;
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
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.