Help using Base SAS procedures

proc tabulate

Reply
N/A
Posts: 0

proc tabulate

Hi All,

I use thye code =

proc tabulate;
class Battery Month;
table Battery ALL,Month*Cost;
RUN;


LOG ERROR - the type of name(Cost) is unknown

Kindly suggest.

Regards,
mark
Valued Guide
Posts: 632

Re: proc tabulate

Assuming that the variable COST is in the incoming data set:
[pre]
proc tabulate data=batterysales;
class Battery Month;
var cost;
table Battery ALL,Month*Cost;
RUN;
[/pre]

Consider this intro to TABULATE:
http://www.pharmasug.org/cd/papers/HW/HW03.pdf
Ask a Question
Discussion stats
  • 1 reply
  • 2988 views
  • 0 likes
  • 2 in conversation