To whom it may concern:
I have data set up in country-year format, where there is one observation
per country per year. There is also a regime change variable that is a 0
if no regime change occurred in that year and a 1 otherwise. The dataset
runs from 1945-2002.
I am interested in creating a lagged variable for each country for each
year that will take on the value of the start year for the dataset if
no regime change has occurred for that country since the beginning of the
dataset and the year of the regime change if a regime change has occurred.