I have to different databases. Database 1 has executive actions in specific years, but this is not continuous (there may be an executive action in 2002 then nothing until 2004) Database 2 has country specific economic performance in specific years. I need somehow to match up the executive action score to the most recent event. So I have database 1 that looks like:
year | governance_score | country
1919 5 USA
1979 12 FRA
1988 10 USA
1988 3 DEU
2001 9 FRA
2005 11 DEU
And Database 2
year | country | GDP
1990 USA 290
1991 USA 292
1992 USA 294
1995 FRA 143
How can I keep the governance score consistent for each year after the active date until the country gets a subsequent score and match it to the country?
Thank you in advance for your help!
Related Posts with Matching Actions to Years
Problem with generating anthropmetry measuresHello, I used commands zscore06 and igrowup to estimate z-scores. They only work for children below …
Interpretting coefficients when dependant variable is percentage changeDear Statalist, I think this is more of a statistics question rather than a Stata-specific question…
Error after pscore commandDear members, I received this message after running pscore Estimation of the propensity score outc…
Predict after fixed effect regressionDear Statlist, I am performing a simple Fixed Effects (FE) regression with time dummies and I would…
Xtabond2 Model SpecificationN: 2500 T: 3 For my purposes: - Endogenous: x1, x2, x3 - Predetermined: x4 - Exogenous: x5 x6 x7 x8…
Subscribe to:
Post Comments (Atom)
0 Response to Matching Actions to Years
Post a Comment