- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
I am very new to SAS and still tyring to understand the results tables that are produced. I have been asked to run a Welch's two sample t-test on a data set. I am able to run the process t-test using the 't Tests' under the Tasks and Utilities. However for the Welch's test that refers to an unequal variance, I am unsure where in the code you tell it that your sample has unequal variances. Or is that you refer to 'Pooled' or 'Satterwaite' rows when you need to refer to the numbers produced? I can see that in in one of the result boxes that are produced it calculates variances on 'Pooled' and 'Satterwaite'. Do I look to see which variance is unequal and those will be the Welch's results I should use?
Appreciate the insight.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
The Satterthwaite test is for unequal variances. Some references cal it the Aspin-Welch-Satterthwaite t-test.
The Getting Started example in PROC TTEST contains an example. It is produced by default, so you do not need to specify any specify an option for it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
I don't find a reference to a Welch's t-test but proc ttest supports the Cochran option which is a ttest with unequal variance.
That would just be one additional parameter on the Proc statement such as:
Proc ttest data=mydata cochran;
class classvar;
var analysisvar;
run;
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
The Satterthwaite test is for unequal variances. Some references cal it the Aspin-Welch-Satterthwaite t-test.
The Getting Started example in PROC TTEST contains an example. It is produced by default, so you do not need to specify any specify an option for it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Rick thank you. I just need to get a bit more familar with the readouts from the results.