Hi,
I have the RTA dummy that indicates if a pair of countries have a Regional Trade Agreement.
My panel data is from 1991-2018 with 3-year intervals (10 years)
How could I generate 3 lags for the RTA dummy?
Is it correct like this?:
tsset pairid year
forvalues t = 3(3)9 {
generate RTA_LAG`t' = L`t'.RTA
replace RTA_LAG`t' = 0 if RTA_LAG`t' == .
Thanks!
0 Response to Lags of RTAs
Post a Comment