Dear Statalisters,
I am trying to generate a variable that measures how much the CPIA index for institutional quality has de- or increased per country. For some countries data is available for the entire time-frame of my research (2008-2016). However, for some countries the CPIA index is only available for, for example, 2011 and 2012 (the rest is missing). For all countries I would like to know the difference between the value for the last and first year of which data is available.
For answering this question, there are the following variables of interest:
Country
Year
CPIA
I hope my question is clear enough and someone can help me with answering.
Related Posts with Generating variable that measures the difference between the last and first year
Merging datasets without uniquely identified observationsHello, I found a post on this subject but the solutions posted do not work for me. My master data …
Help with getting percentilesHi all, My problem is the following: I have a sheet with product categories, and each category has i…
Two step system GMMHi I run two step system GMM and the assumption that all the variable is exogenous; but might not s…
HP filter panel dataHello, I am PhD student and I am new to stata. I am trying to create an hp trend for variable TourPr…
Meta Analysis for one group - no control group.Hi all, I am conducting a systematic review and meta analysis that will investigate health-related …
Subscribe to:
Post Comments (Atom)
0 Response to Generating variable that measures the difference between the last and first year
Post a Comment