I like to use proc tabulate to produce a table with multiple classes (to be Concatenated ) and variables, the code is fairly simple as
Proc tabulate data=test;
class C1 C2 C3
var Va Vb Vc;
table C1 C2 C3, Va Vb Vc;
However, the Tabulate procedure excludes all missing values in any classes (C1 C2 or C3). Is there a way to exclude only the relevant missing value in individual Class table (eg, only missing C1 values are excluded from C1, Va Vb Vc table). I can only achieve the desired results by kind of duplicating the code 3 times as
Have you considered using the MISSING option in the CLASS statement?
SAS INNOVATE 2024
Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.
If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website.