Hi all,
I am currently working on a state-dependent fiscal multiplier using forecast error to identify the fiscal policy shocks and the local projection method to estimate the impulse response of output to fiscal policy shocks. I will use annual data of 15 countries.
I wonder if you share me the command in stata to identify government spending shocks as forecast errors of government spending. Moreover the syntax of estimating IRF based on panel LPM.
Best
***[example] forecasts of government spending are taken from October publications of the IMF’s WEO. Then, the fiscal spending shocks are identified as the forecast errors of government spending. Thus,
FEi,t=gi,t(actual)-gi,t(forecast)
where gi,t= Gi,t/Yi,t is government spending as a share of GDP. The actual government spending comes from the October WEO of the following year. i-refers to country and t refers to time.
Related Posts with syntax of forecast error
HC2 HC3 standard errors with clustersDear all I have one question regarding robust standard errors with the command regress. Does it make…
population attributable fraction using clogithello all, does anyone know if PAF can be calculated after using clogit? last I heard, it can only b…
Creating 1, 3, 6 months cumulative returns and volatility from daily price dataI have a panel data which includes daily prices of stocks and daily returns of stocks for many firms…
Forming portfolios and tracking their performanceDear Statalist members, I am new to Stata and would appreciate any help/insights you could give me,…
Stratified Random SamplingHello, I am using STATA 14. Currently I am working with a dataset with 471 observations where I have…
Subscribe to:
Post Comments (Atom)
0 Response to syntax of forecast error
Post a Comment