I have panel data of more than 100 countries and 30 years. I want to assign these countries to low, lower-middle, upper-middle and high-income countries. When I download the world bank classification from the world bank website, all I get is the classified group for each country for a single year, but I want to assign the income status of each country for all the years. For example, a country is in a lower-middle-income country for the year 2020, but I want to assign this lower-middle-income status to that country for all the 30 years (i.e. from 1990-2020, that country will be assigned lower-middle-income status). Similarly, I want to do that for all the countries in my dataset. It would take a huge amount of time in excel. Is there any command in Stata which can allow me to do that?
NB: If anyone is wondering whether it would be appropriate to assign lower-middle-income status to a country which was low-income in 1995, please ignore it. Instead of income classifications, it could be regional classifications which I wanted to assign.
Related Posts with Assigning classifications/status of a country for all years in panel data
Multiple Imputation on Panel Data - Error regarding variance-covariance matrix (EM did not converge)Dear All, I am tackling my thesis and i have panel data on around 150 companies between the years 2…
Heckman MLE and convergence issueHello Everyone, I am currently trying to estimate a gravity model for migrations and face a problem…
keep the observation nearest to 4/20?Dear All, I found this question here (https://bbs.pinggu.org/thread-7644841-1-1.html). The data is …
Computing predictive margins (mimrgns) for gsem with random effectsDear Statalisters, I would much appreciate your help with the following problem: I am not able to …
Bootstrapping or robust standard errors?Hi, I am new to stata and self-thought, so please have overlook if I have missunderstood anything. I…
Subscribe to:
Post Comments (Atom)
0 Response to Assigning classifications/status of a country for all years in panel data
Post a Comment