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"
Times series plotHi, I’m trying to create a time series plot with the data below. I´m trying to create one plot for …
Grouping Columns using esttab and export .rtf file - helpHello is there a way to group different regression using esttab and not exporting to latex. I would …
ReorderingHi everyone, I have a Birth history dataset with given mother id, child id, children birth order. I…
Dependent binary variable with relative frequiencies of 5% and 95%I have a binary dependent variable with the following frequency distribution: Yes (1128) and No (240…
Discrete choice latent class model with blocking of choice setsI am trying to run a latent class model using the gsem command in Stata 16.1 I have 7 attributes of …
Subscribe to:
Post Comments (Atom)
0 Response to Error "svy not recognised"
Post a Comment