Prev: How to create Population- Place report using SAS Procs/Proc SQL
Next: allow xcmd SAS eg 4.2 on windows 7 64-bit
From: tablenc on 30 Jun 2010 03:29 I am working with survey data and trying to figure out how to calculate the overall prevalence of diabetes, prevalence of diabetes by gender and by race. I know that I can get the prevalence of diabetes by gender and by race with the following sas code and looking at the row percent in the output. Is this correct? proc surveyfreq data= strata name ; tables gender/race * diabetes / row; weight name; run; Also, where do I look, in the output, to find the overall prevalence of diabetes? |