If only mean values,variance and sample size are known, are there procedures or macros which could perform t test or anova test without raw data?
Thanks in advance.
SAS can do a t-test on aggregated data and Michael Friendly has a freely available macro then can disaggregate data so that you can analyze it in SAS with whatever statistical proc you need.
A link that includes a link to Michael's macro, as well as a discussion of the issues you should be concerned with in using aggregate data that way can be found at: SAS-L archives -- November 2004, week 5 (#74)</title><style type="text/css"><!--BODY { font-family: ...
Yes indeed Art. But, as the link carefully notes, Michael Friendly's program assumes the original data are normally distributed.
It might be interesting to experiment and see how far off results are with that macro by aggregating data, disaggregating it with the macro and then comparing results to t-tests (or whatever) on the original data.
If one doesn't know how their data are distributed they have no way of knowing what statistic to use. The results will be the same as if one had the raw data but, even with the raw data, one can't rely on the resuts of a t-test if the data doesn't meet the test's assumptions.
The problem with using aggregate data, if one doesn't already know what the underlying distribution looks like, is that they have no way of knowing it any particular test's assumptions have been met.
Art - Exactly. I just wanted to make it clear in this thread that that was the case.
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!
ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.
Find more tutorials on the SAS Users YouTube channel.