Dear Statalisters.
I am working with two different panal datasets which I want to merge. Unfortunately there are differences in certain country names. Both are coming from two different online datasets. However, for one dataset I cannot use the kountry code option to change the names. Meaning that if I merge them now i lose certain countries. Therefore my question; how can I change the name of certain countries in the dataset? For instance in one dataset the country name is: China and in the second one the country name is: China, P.R.: Mainland
The data looking as follows:
Year Exporter Importer Value1 Value2
2000 China Austria x x
2001 China Austria x x
etc.
Related Posts with Rename country id in a paneldata
Instrumental Variable for binary dependant variable and binary instrument and binary endogenous variableHi, What model should I use? Currently, my model looks like this:ivregress 2sls depressed L.formal…
Text misaligned in the output windowI am occasionally getting the text misaligned in the output results window (see how the word 'label'…
Survey weights in Canadian Community Health Survey Public-Use Microfiles.Hi Forum, This is a bit of a Hail Mary, but Statistics Canada literally recommended that I ask you …
Graphing different variations of x variable age [age_squared; ln(age); age] on one graphHello, Does anyone know how to recreate this graph (image attached) through Stata? I am basically …
Testing for asymmetric effects in dynamic panel data modelHello everyone, I am working with an unbalanced panel dataset that has N = 103 transit agencies and…
Subscribe to:
Post Comments (Atom)
0 Response to Rename country id in a paneldata
Post a Comment