Difference in using proc tabulate and proc mean to compute median?

Difference in using proc tabulate and proc mean to compute median?

Post by xxu881015 » Mon, 14 Aug 2006 12:44:35


Hello,

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!
 
 
 

1. Do you prefer Proc Report or Proc Tabulate?Ans,If proc report,Would you Please explain?

2. Help with Proc Tabulate - how would u do it using proc report?

I've got two character class variables: name and color. Colors are
red, green, blue, yellow. Names are bob, sue, steve, martha, etc.
the data looks like:

bob red
pat green
ted blue
bob green
pat red
bob red
...
I'm trying to get a table like the following:
red green blue
Total N % N % N %
Bob 3 2 66 1 33 0 0
Pat 2 1 50 1 50 0 0
Ted 1 0 0 0 0 1 100
Sum 6 3 2 1

Where Total are the total # records for each name, N are the number of
times a color is found for one name, % is N/Total*100

How would you do this using proc report?

3. PROC TABULATE vs. PROC REPORT

4. Question on Proc Freq, Proc Tabulate, and reporting..

5. PROC TABULATE or PROC REPORT : newby question

6. PROC TABULATE/PROC FREQ - Save 2*2 matrices (Loan transition matrices)

7. Delete some enties in proc tabulate or proc report how

8. proc report --proc tabulate

9. Proc Univariate vs Proc tabulate

10. PROC TABULATE/PROC FREQ - Save 2*2 matrices (Loan transition

11. Proc Report and Proc Tabulate

12. Proc format to suppress data, then proc tabulate= columns don't add up

13. PROC TABULATE OR PROC REPOST PROBLEM

14. similar statements in proc tabulate and proc report

15. How do I find the sum of mean values in a PROC TABULATE statement?