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
Problem with graphing interrupted time series with random intercept -melogit-Dear Stata Gurus, I am having a problem with correctly graphing output of an interrupted time serie…
Industry and year FE with paneldataHello, i have a paneldataset of S&P 500 companies form 2002 - 2019 and would like to implement …
Stata ProgramDear statalist, I have written a program. It works when I use it in stata version 16.0, but the fol…
Margins and Clustered GEE Bootstrap Sampling ProblemHi Everyone, I am really struggling with this issue and hope someone can help. I have a generalize…
Group observations with indirect tie.Dear colleagues, I am trying to group observations based on their (possibly indirect) connections .…
Subscribe to:
Post Comments (Atom)
0 Response to Rename country id in a paneldata
Post a Comment