Difficult to say not knowing your data, not knowing what you would want and not knowing what is totally wrong. Send some example data, a data step with inline data, to SAS-L, and add an example of a table you would want (with matching figures). That is the way to make your Q concrete to SAS-L-ers and to expect an appropriate answer. Do not send your Q to any SAS-L-er privately.
Regards - Jim.
Jim Groeneveld, Netherlands
Statistician, SAS consultant
My computer remains home while I will attend PhUSE 2006 in Dublin.
Yun Bai <yun.bai@AMMD.COM> wrote:
I was a little bit confused when I use proc tabulate. I just wondering which
one I should set as class and which one I should set as var?
Here is my code:
proc tabulate data=otpt style=[background=white];
class cat1 cat2;
class result / style=[just=center];
classlev cat1 / style=
classlev cat2 / style=[just=left];
table cat1=''*(cat2='') * [style=
box=[label='Subjects Characteristics' style=[font_size=3]];
format cat1 fct.; run;
But the result is totally wrong. Please help me figure out where is wrong?
All new Yahoo! Mail "The new Interface is stunning in its simplicity and ease of use." - PC Magazine