Hi, I'm using the ssc table1 command to generate a baseline characteristics table.
My code is below
This works fine. However I want to add a few options to format the table, including the content 'one' option to remove the categorical labels from being in another column and the content percent option so I can only obtain the percentages and not the frequencies for my variables.
I've searched throughout this forum and the web and cannot find how to incorporate these into my command? I've tried various ways but I always get an error.
Thank you in advance
My code is below
Code:
table1, by(diagnosed) vars(r2agey contn \ Gender cat \ Race cat \ BMI contn \ reported_health cat \ Qualifications cat \ alcoholfreq cat \ activity_freq cat \ smokers cat ) (format(%2.1f) saving(tabl1.xls, replace)
I've searched throughout this forum and the web and cannot find how to incorporate these into my command? I've tried various ways but I always get an error.
Thank you in advance
Comment