Thank you for the references to use, I have been using some of those and have been able to create tables just not in exactly the format I want. Most of my variables are dichotomous 1/0 with a few continuous and categorical variables. I put some sample data below, I am not sure this is what you were looking for. The structure is similar to my data but I prefer not to include my actual data as it is a large file. pid=ID number, gender (1=male, 0=female), age (continuous), hlthpln (1=yes, 0=no), usesyr (1=yes, 0=no), heat (1=yes, 0=no), likeinf (1=white, 2=hispanic, 3=other). The outcome is heat. I would like the output to ideally look like what I posted above with a total column, columns for yes and no for outcome, an OR, 95% CI, and p-value. I would also be happy without the OR and 95% CI but those would be a bonus. I only want to report yes (1) values in the table for binary variables and mean (sd) for continuous variables. Ideally each variable would take up one row on the table except for categorical variables of course which would include all categories. I have to admit that this level of coding is above my knowledge and I have been able to create basic tables using ODS output but am trying to learn how to create more complicated tables and output. Let me know if you need more information and I will try to clarify. Thank you again, this forum has increased my SAS knowledge immensely. DATA sample; INPUT pid gender age hlthpln usesyr heat racecate; DATALINES; a01 0 35 1 1 1 1 a02 1 50 1 1 1 3 a03 0 45 0 1 0 1 a04 1 24 1 0 0 2 a05 1 52 0 0 1 1 a06 0 44 1 1 0 3 a07 1 34 1 0 1 3 a08 1 40 0 1 0 2 a09 0 47 0 0 0 1 a10 0 35 1 0 1 2 ;
... View more