Hello Statalists,
Is it possible to take both the first difference and a lag of the same variable using the D. and L1. command, respectively? If so, in what order do they go in?
Using the Im-Pesaran-Shin test I determined my key explanatory variable is not stationary, so I have taken the first difference of it. However, I am already taking a lag of one period in order to control for endogeneity and reverse causality - is it possible to do both?
Many thanks
Avnish
Related Posts with First Differences and Lagged Variables
Drop variables if no entry for monthly dates within a yearHello, I am new to Stata. Can you please help me with the following issue: for different companies,…
ZINB on pooled panelHello, I am running a ZINB on a pooled panel using the vce (cluster ID) option, yet I have been adv…
Dealing with (technical Stata) duplicates that are not real duplicatesHi, I imported data and merged it with other (pane)l data. Reshaping the data resulted in this mess…
Outreg2 after a loopHi, I am using Stata 15 and I am having trouble getting estimates of a series of regressions with O…
Using xtile for a subset of casesI tried to use xtile with the if statement, but received the message, "option if not allowed". Is th…
Subscribe to:
Post Comments (Atom)
0 Response to First Differences and Lagged Variables
Post a Comment