hi,
I need to recover in a DataSet the 95%CI for means differences (Diff(1-2)) in case of unequal variances using Proc ttest. But the ods output give me only the 95%CI for means differences in case of equal variances
Have you an idea about how to get the 95%CI of Diff(1-2) when method=Satterthwaite in a dataset?
See the example below : I would like to get the result circled in green
Thank you in advance for your answer
Best regards
ods output Statistics=Ds_stat ;
PROC TTEST data=myDS ;
CLASS sex ;
VAR CHIR_ASAT ;
RUN;
Wrong table:
ods output conflimits=
EACH table has a name and you need to explicitly name the correct one to get the output you want.
The documentation will have the list of table names and required options, or you can use
ODS TRACE on;
<proc code>
ods trace off;
to get a list of the tables generated by your code.
Your code seems correct, the data set DS_STAT should have this information. But it does not appear to have the information. Can you try running this again and show us the output data set?
Thank you Paige for your attention.
I join you the output dataset
Seems like a bug in SAS, and you probably ought to contact SAS Technical Support.
I did not experience this problem (on a different data set).
Wrong table:
ods output conflimits=
EACH table has a name and you need to explicitly name the correct one to get the output you want.
The documentation will have the list of table names and required options, or you can use
ODS TRACE on;
<proc code>
ods trace off;
to get a list of the tables generated by your code.
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!
SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.
Find more tutorials on the SAS Users YouTube channel.