Do you prefer Proc Report or Proc Tabulate?Ans,If proc

Do you prefer Proc Report or Proc Tabulate?Ans,If proc

Post by gerhard.he » Thu, 22 Nov 2007 00:58:12


On Mon, 19 Nov 2007 18:05:34 -0800, Howard Schreier <hs AT dc-sug DOT org>




Very interesting papers!

Some (very simple) remarks anyway in short:

tabulate is a possibility to report statistical relations between
variables in up to three dimensions (rows, columns, pages). You don't have
too many possibilities to influence single cells, rows, columns, pages and
not too much on the layout. The things you influence are alsways related
to whole dimensions. If you want to have something like calculated
columns, e.g. one is the difference of the 3 left of it, not possible. If
you want to do it anyway, it's getting difficult.
The main goal is to present summarized data-values in cells.

report mainly is a listing procedure. Very strong features to influence
the layout, also with ordering and grouping. The simplest form of a REPORT
output is not a table, but a list, where the results of statistics is
presenten in SUMMARY lines while the other lines contain the details.
In addition, you HAVE influence on singel cells, rows, columns. You CAN
relate columns and have calculated columns of them which are left of the
new one. Cou can have influence on all rows with a DATA-step like
programming language and you can influence single cells with that. E.g.
a "traffic-lighting" dependant on certain limits is possible.

A very nice feature of PROC REPORT is the code-generator "behind" the
interactive mode. With that thing you can generate a big part of your
report layout without programming anything. That's very comfortable in
comp. to PROC TABULATE which is not always easy to program.

I've found the combination of PROC SUMMARY to summarize the data and PROC
REPORT to present them as very handy and good for most of needs, but
REPORT is not a replacement for TABULATE (ok, you might not need PROC
PRINT any more because REPORT can do everything and much more, but
TABULATE has some other goals...)
Gerhard