- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Dear all
I think Noprint option isn’t allowed with Proc Ttest. How can I use Proc
Ttest without having the output printed?
Thanks in advance for any help.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
ods listing select none;
proc ttest ...
...
run;
ods listing select all;
Paige Miller
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
The proc ttest is inside a Macro.
If I use:
listing select none;
%ttest (DB=ds, STRAT=gender, VAR=age);
The code ends with the error message:
The LISTING destination is not active; no select/exclude lists are available.
maybe because the sas code contain an ods select (who I need to have pvalue to print):
proc ttest data=..;
class ..;
var ...;
ods output equality=equalvar
ttest=test;
run;
Thx
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
I don't think this has anything to do with macros. That's not the issue.
Try Rick Wicklin's suggestion.
What does this mean "maybe because the sas code contain an ods select (who I need to have pvalue to print):"? If you're going to make statements like this, you need to show us your code.
Paige Miller
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
ods exclude all;
proc ttest...
run;
ods exclude none;
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Yes!
Thank you