Hi, apologies if this has been asked before but I haven't been able to find any clear answer.
If I want to include country level characteristics in my dataset (eg. GDP) or in my case a measurement for ethnic fractionalization, how can I do that?
And also how do I ensure that Stata ascribes this country level variable to each of the countries as well as each of the years in my dataset?
Kind regards, Christian
Related Posts with Create a variable for a country
Lag of variable with condition of not being misssingI want to create the lag of a variable with one caveat. If it is missing, I want to use the previous…
Generate New Variable = Average Price Per Type Per YearI am using Stata version 15.1 and I have 47 variables and 1,010 observations in my dataset. I am doi…
Monte Carlo SimulationHi all, I want to be able to run a Monte Carlo simulation for an econometrics assignment that I hav…
Help generating this type of plotHey all, I need some assistance regarding the appropriate data shaping and plot type to generate thi…
Endogeneity correction via Gaussian Copulas - generating normal CDF of a non-normal empirical distribution functionDear Stata experts, I am a passionate passive follower in the forum, you guys helped me a lot in th…
Subscribe to:
Post Comments (Atom)
0 Response to Create a variable for a country
Post a Comment