1. Create the dummies and estimate
levelsof year, local(time)
foreach t of local time {
local y_rr = `t' - 1975
gen intra_nafta`t' = yr`y_rr' * intra_nafta
gen imp_nafta_rest`t' = yr`y_rr' * imp_nafta_rest
}
xtreg lnV lncGDP lnpGDP lnD yr* intra_nafta* imp_nafta_rest*, fe vce(robust)
Who can help me explain how y_rr is defined in the above code? What meaning of yr`y_rr' * intra_nafta ? Thank you!
Related Posts with Meaning of different code
Incorrect margins/pred. probabilities after ivprobit - instrument should be ignored?Hello, I am using the ivprobit command and want to calculate predicted probabilities with the margi…
Problems when adding macro variables and time dummies in RE panel model?Hi, I am trying to explain the formation of shipping freight rates through the use of several diffe…
In need of help with Survey data analysis, survey settings/svysetHello there I am trying to perform a multinominal logistic regression using survey data and having t…
Tempfile and error due to "spaces" at the end of a do-file lineHello to everyone. I really hope someone can help me with this. I have a dataset in which I am runni…
Fixed effects and instrumental variablesHello all, I have 3 years of cross sectional data of which 2 years have information on my independe…
Subscribe to:
Post Comments (Atom)
0 Response to Meaning of different code
Post a Comment