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
Generating variable means with various length within a loopHi everyone, I want to generate several variables measuring the mean of a variable (here it's calle…
Calculating across observations or across variables in panel dataDear Statalist, I am quiet new to Stata (Version 14 SE on Windows 10) and I am facing the following…
Understanding ATET in Stata teffects with multivalued treatmentThere is something in https://www.stata.com/manuals13/tete...ultivalued.pdf that I simply don't foll…
Random distribution simulation.Dear Statalist users, For my thesis I am trying to replicate a part of this paper. However, I have …
Manually created interaction term and ## commandHi, this is my first time using Stata. I would like to include an interaction term in my model: Co…
Subscribe to:
Post Comments (Atom)
0 Response to Create a variable for a country
Post a Comment