Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Local Projection Impulse Response Function

    Hello everyone!
    I'm new to Stata and I'm trying to use the lpirf function to calculate the response of real GDP growth to a positive government spending shock.
    However, using:

    lpirf realgdppc, lags(1 2) step(5) exog(netexp gfcf_gr privatecons govshock)

    all of the exogenous variables are considered impulses.

    Is there a way to specify this code so the shock is the only impulse and the rest of the exogenous variables are just controls?

    Many thanks in advance!
Working...
X