How to calculate the prevalence of an outcome by SAS for ever married women surveys? [message #21781] |
Fri, 18 December 2020 09:51 |
Han
Messages: 4 Registered: December 2020
|
Member |
|
|
I am doing an analysis that looks at smoking prevalence of women from ever married women surveys.
For a "all-women" survey, we can calculate the overall smoking prevalence of women using PROC SURVEYFREQ to in SAS:
weight --> (V005 Women's individual sample weight (6 decimals) / 1,000,000)
cluster --> V021 Primary sampling unit
strata --> V023 Stratification used in sample design
y --> V463a Smokes cigarettes
proc surveyfreq data=a;
strata strata;
cluster cluster;
weight weight;
tables y;
run;
However, if I would like to calculate the overall smoking prevalence of women from an ever married women survey, then what should I do? How should I use the awfactt variable?
Thank you!
|
|
|