Hi
I am working with the World Bank's Enterprise Surveys, and want to append data from different countries. One of the variables I intend to keep is the region of the firm. But once I append the data for a one country to another, the codes for the using dataset automatically assume the labels of the first dataset.
for example, the region variable for Ghana is coded as follows:
1=Accra 2=Tema 3=North 4=Takoradi
and the region variable for Zambia is coded as follows:
1=Kitwe 2=Livingstone 3=Lusaka 4=Ndola
Once I append the Zambia dataset to the Ghana dataset, the region variable in the new dataset only contains regions in the
Ghana dataset, but this time with higher frequency for each region due to the addition of observations from the Zambia dataset.
Related Posts with Appending survey data
mofd and twoway connected graph issueHello, I use Stata 14.2. I am working on a cross-sectional dataset. I have used the command mofd to…
lrtestHello, I have three variables and want to see if it is worth including all of them in the model or …
Prediction for discrete-time frailty models with normal heterogeneity (xtcloglog)Dear Statalist. I have estimated a discrete-time hazard model with a normal unobserved heterogeneit…
Threshold regression model for cross-sectional dataHello everyone! I am planning to run a threshold regression model for a cross-sectional data. Howeve…
matching the x/y coordinates of flats/houses to a environmental noise mapMy aim is to match the x/y coordinates of flats to a environmental noise map. The latter is segmente…
Subscribe to:
Post Comments (Atom)
0 Response to Appending survey data
Post a Comment