1

I'm trying to make a proc tabulate table with statistics like "mean" and "standard deviation." However, when I make the table, the statistics are listed on top of each other (shown in the attached picture), and I'd like them side-by-side to make the table shorter. Is there a way to do this? Thank you!

enter image description here

Reeza
  • 20,510
  • 4
  • 21
  • 38
w_condren
  • 11
  • 1

1 Answers1

1

Yes there is: Everything you specify before the comma comes in the rows.

proc tabulate data=sashelp.bweight;
  class Married MomEdLevel Boy;
  var MomWtGain Weight;
  table Married * MomEdLevel * (min p10 mean p90 max) , Boy * (MomWtGain Weight); 
run;
Dirk Horsten
  • 3,753
  • 4
  • 20
  • 37