Hi.
I have a dataset which combine 14 household surveys in 14 countries. Each survey was conducted in different years and each survey has a household weight variable that only specifies to this country's context (data structure is the same across 14 countries). Now I merged them and tried to cross tabulate the country and gender_area (four types of value: male_rural, female_rural, male_urban, female_urban) variable with weights (tab country gender [aw=hhweight], m). But I found that such a cross-tabulation would create weird values for some of the countries.
For example, if I add one if condition by the end of the tab (tab country gender [aw=hhweight] if abc==1, m), some country (KHM, NPL) 's row total would be greater than their original row total without the condition. But in this dataset, a condition would give a smaller subsample. If I don't add the weight (tab country gender, m), there is no such a problem. If I just tab one country with weight, there is no such a problem either. So I wonder if there is any way for me to compare all countries with weight. I am not that familiar with survey data reference in Stata (svyset, strata, etc). Hopefully there is someone can help.
Array
Related Posts with Combining surveys with distinct analytical weights
Importing multiple excel filesI have a folder named "Data" with 8 xlsx files. These files are for 4 variables (PRICE, gRDEF, gRNDE…
Is PCA appropriate with binary data?I have been working on a multilevel logistic regression with stunting as the dep var and individual …
alternative for clustered standard errors when having too few clustersHey everyone, I have observations on management scores from firms which are nested in countries. Th…
Grouping neighborhoodsHello, So I have a variable that indicates the neighborhood in which the person lives. How can I gr…
Investigating or explained heterogeneityDear all, I would appreciate some advice please! I have performed a meta-analysis of 69 studies lo…
Subscribe to:
Post Comments (Atom)
0 Response to Combining surveys with distinct analytical weights
Post a Comment