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!
Related Posts with Lags of RTAs
testing reverse causality using VARI have panel data. I want to estimate the unrestricted VAR model, but when I type . var wroa Fdirect…
Adding IQR to trajectory line plot based on WIDE format dataDear experts, The Profileplot command can display the trajectory line based on median. profileplot …
Probability Weights vs Frequency WeightsHi. I am sorry if the following is too basic a question. I want to know when to use probability we…
Drop the values of a variable with if conditionHello everyone, I have a variable named "diversity" (and a bunch of other variables) and I would li…
How to interpret -oparallel- and -brant- test resultsHello, QUESTION 1 (test output): I am seeking advice on how to interpret potentially contradictory …
Subscribe to:
Post Comments (Atom)
0 Response to Lags of RTAs
Post a Comment