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
Convert from "matrix" form to a long formatHello everybody, I'm new on this forum and I Wonder if I'm in the right topic… I'm using data in a …
Multiple zip file downloads from URLI am trying to download and unzip multiple files from a URL to then use in STATA. I have requested …
Esttab Probit Regression columnwiseHello, I ran a multinomial regression model with 11 categories in the dependent variable. When I tr…
Using past stock returnHi, i am supposed to use basic linear predictive regression model (shown below) to predict if the pa…
Why does my Stata graph get messy when converting word file to PDF file?Dear All After creating my graph for impulse response functions in Stata, I run the following code …
Subscribe to:
Post Comments (Atom)
0 Response to Generating variable that measures the difference between the last and first year
Post a Comment