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
Dichotomous Independent variableHi I am working on the following data set and in order to determine my model, I have TOTALINVESTMEN…
Averaging with a condition while generating a new variableHi there! I have household-level data with unique household_id. For each household, I have data for…
cgmreg - error messageHi, I'm relatively new to stata, and cant seem to get around this error message. I am trying to car…
Multiple lines (>100) on a tsline plot?Hello, I have some panel data that spans 5 years (2000-2005) and 150 countries with LN GDP Per Capi…
how can we draw a nomogram in 10 multiple imputated dataset?Hello Members, I am a new Stata user and now trying to write a paper about prediction model. But we…
Subscribe to:
Post Comments (Atom)
0 Response to Combining surveys with distinct analytical weights
Post a Comment