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
How to write a loop code for this following case as detailed in the post?I want to rename variables: rename f120_0_s1 f120_s1_0_ rename f120_1_s1 f120_s1_1_ rename f120_2_s…
Linear Regression: Interpreting Continuous Interaction?Hi! I'm a beginner when it comes to both statistics and STATA. This question might be more of a sta…
Var storage type is "byte", but presented as text in data editorHow do I see the assigned value to each text? …
Constant interpretation - multiple regression with log dependent variableDear all, Could anyone please explain me how to interpret the constant in a multiple regression whe…
Dummy for recording changeHi, I would like to create a dummy which would record if any executive changes between two years and…
Subscribe to:
Post Comments (Atom)
0 Response to Appending survey data
Post a Comment