I'm sure this should be simple and I just don't know the syntax.
I've managed to use proc tabulate to produce tables just the way we need them except that I need to round the N values to the nearest 10 and I'm not sure how to.
My table statement for proc tabulate is this:
table (sex all)*(l7drdays all),wt07*(age all)*pctsum (age all)*wt07 (age all)*n;
and I think I'll just need to add *f ='something' to the end of (age all)*n - I just don't know what the 'something' should be for this formatting. Would really appreciate it if someone could help!
Nicola