Basically, I am looking for a way to create the below table in SAS. I have been attempting with PROC TABULATE but have not been able to find a way to switch between statistics (i.e., N vs. median) depending on the variable. I'd appreciate any and all help with this! Variable Statistics TREATMENT PERIOD Before Study Assigned Drug N Patients with infection n (%) Number of infections per patient median (range) infection 1 (Insert) n (%) infection 2 (insert) n (%) infection 3 (insert) n (%) During Study Assigned Drug N Patients with infection n (%) Number of infections per patient median (range) infection 1 (insert) n (%) infection 2 (insert) n (%) infection 3 (insert) n (%) FOLLOW-UP (30-Days Post Study Drug) N Number of Patients with infection n (%) Number of infections per patient median (range) infection1 (insert) n (%) infection2 (insert) n (%) infection 3 (insert) n (%)
... View more