LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (October 1996, week 1)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Thu, 3 Oct 1996 08:43:51 -0400
Reply-To:   Robert Hamer <hamer@AMENTI.RUTGERS.EDU>
Sender:   "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From:   Robert Hamer <hamer@AMENTI.RUTGERS.EDU>
Organization:   Rutgers University
Subject:   Re: T-Test

Haiyi Xie <Haiyi.Xie@DARTMOUTH.EDU> writes:

> I wanted to do a whole bunch of t-test for two independent means, but >I don't have RAW DATA. Only thing I have is means for each group, standard >deviations and N for each group. > I can write a formula to compute t scores, but it is too much work. I >am wondering if there is a setup in SAS to do t-test for the info. I have. > Thank you very much,

Yes, you can do it. First, you need to generate observations from your means and standard deviations so that you have two groups of observations, with appropriate Ns, means, and standard deviations. This can be done with PROC IML, or you can use the random number features available in the data step, along with PROC Standard to construct these observations.

Then you can use PROC T-TEST to analyse them. -- --(Signature) Robert M. Hamer hamer@rci.rutgers.edu 908 235 4218 Do not send me unsolicited email advertisements. I have never and will never buy. I will complain to your postmaster. "Mit der Dummheit kaempfen Goetter selbst vergebens" -- Schiller


Back to: Top of message | Previous page | Main SAS-L page