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
Basic question on how to draw a vertical line that splits the distribution in a histogramHi all I am stuck in a basic procedure with histograms and hope someone can help. I used the follow…
Sufficient control for seasonality?Hello, I have a question about how to remove seasonality in Panel data. I want to evaluate how sales…
Measurement error when a variable is in bucketsHello, I've got a variable, AGE, which in my data set is given in buckets. Meaning someone with AGE…
Sorting a variable by two dummy variablesI am working on a paper about discrimination in the labour market. I have three variables (among man…
2SLS with linear time trend.Hi all, I am estimating the following model using fixed effects including linear time trends. Cod…
Subscribe to:
Post Comments (Atom)
0 Response to Rename country id in a paneldata
Post a Comment