Dear Statalist members,
I am attempting to incorporate an interactive dummy variable into a Panel VAR (PVAR) model estimated using GMM, and I would appreciate some guidance on whether my approach and Stata commands are appropriate.
I consider the following equation:
Y_it = Y_(it-1) + D_it X_(it-1) + u_it
where (D_{it}) is a dummy variable constructed based on the change in (X). Specifically,
I estimate the model as a Panel VAR using GMM, treating both (Y) and (X) as endogenous. My Stata commands are:
pvar y Dx1 Dx2 Dx3 Dx4, lags(1) instlags(1/6)
pvargranger
pvarirf, oirf mc(200) byoption(yrescale) porder(y Dx1 Dx2 Dx3 Dx4)
My questions are:
Thank you.
I am attempting to incorporate an interactive dummy variable into a Panel VAR (PVAR) model estimated using GMM, and I would appreciate some guidance on whether my approach and Stata commands are appropriate.
I consider the following equation:
Y_it = Y_(it-1) + D_it X_(it-1) + u_it
where (D_{it}) is a dummy variable constructed based on the change in (X). Specifically,
- (D_{it}=1) if (\Delta X_{it}>0) (i.e., (X) increases), and
- (D_{it}=0) if (\Delta X_{it}<0) (i.e., (X) decreases).
I estimate the model as a Panel VAR using GMM, treating both (Y) and (X) as endogenous. My Stata commands are:
pvar y Dx1 Dx2 Dx3 Dx4, lags(1) instlags(1/6)
pvargranger
pvarirf, oirf mc(200) byoption(yrescale) porder(y Dx1 Dx2 Dx3 Dx4)
My questions are:
- Is this specification an appropriate way to implement an interactive dummy variable in a PVAR framework?
- Does the pvar command correctly estimate the model when the interaction term is constructed as (D_{it}X_{it-1}), while (Y) and (X) are treated as endogenous?
- Are the pvarirf commands appropriate for obtaining impulse-response results for this specification?
- If this approach is not appropriate, what would be the recommended way to incorporate and interpret an interactive dummy effect in a PVAR estimated using GMM?
Thank you.

Comment