I am working with DHS data and I did the following
gen weight = v005 / 1000000
clonevar psu_id = v021
egen strata_id = group(v024 v025)
svyset psu_id [pw=weight], strata(strata_id)
When I try to run simple descriptive analysis
svy: tab wbmi residence
I get this error:
command svy is unrecognized
I really need help with this, I could not find any help online.
Also, how do you compute prevalence in percentage with CI?
I am using stata 16
Related Posts with Error "svy not recognised"
Appropriate Discriptive Statistics: Log or Original DataDear All, I have log transformed my variables and want to provide descriptive stats. Would you advi…
Mixed frequency in panal data Hello sir, in my panel data dependent variable is monthly excess return but independent variables …
Respahe to wide?Dear StataList-ers! I have the following dataset, focused on sexually-transmitted disease in USA (s…
xtivreg commandDear Stata community, I have run the 2SLS panel data, random effects model in stata. Is there any w…
Fixed Effects RegressionI have a regression model and I have to investigate the effect in different cases (with/without time…
Subscribe to:
Post Comments (Atom)
0 Response to Error "svy not recognised"
Post a Comment