Date: Sat, 12 Aug 2006 23:53:31 -0400
Reply-To: Wensui Liu <liuwensui@GMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Wensui Liu <liuwensui@GMAIL.COM>
Subject: Re: Difference in using proc tabulate and proc mean to compute
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
you should not use proc tabulate to find median, which is mainly for
data display purpose.
correct way sould be proc mean or proc summary.
On 8/12/06, email@example.com <firstname.lastname@example.org> wrote:
> I have a large number of data and need to find the median.
> I tried proc tabulate and received a WARNING: A shortage of memory has
> caused the quantile computations to terminate prematurely ...
> However, when I used proc mean to compute the median it can complete
> without problems. So I guess my questions are 1) why proc tabulate
> gives a warning while proc mean is ok, 2) if both proc works, do they
> give the same result?
> Thank you!
Senior Decision Support Analyst
Health Policy and Clinical Effectiveness
Cincinnati Children Hospital Medical Center