Shrinkage IRFs with Panel Data

Questions related to panel (pooled cross-section time series) data.
TomDoan
Posts: 7776
Joined: Wed Nov 01, 2006 4:36 pm

Re: Shrinkage IRFs with Panel Data

Unread post by TomDoan »

The error bands for the IRF's are doable by computing and saving the IRF's inside the draw loop (rather than saving only the coefficients and doing the IRF's only at the average coefficients). However, it's not clear how you would ever present that information---the graphs would be an unreadable jumble. The whole point of doing the IRF's with panel data is to give an indication of the robustness across countries, which is probably more useful information than the single country error bands.
TG81
Posts: 23
Joined: Fri Oct 15, 2010 8:15 pm

Re: Shrinkage IRFs with Panel Data

Unread post by TG81 »

I completely agree with you Tom. How can we do variance decomposition in this model?
Ozmando
Posts: 52
Joined: Sun Jul 15, 2012 4:04 pm

Re: Shrinkage IRFs with Panel Data

Unread post by Ozmando »

TomDoan wrote:The error bands for the IRF's are doable by computing and saving the IRF's inside the draw loop (rather than saving only the coefficients and doing the IRF's only at the average coefficients). However, it's not clear how you would ever present that information---the graphs would be an unreadable jumble. The whole point of doing the IRF's with panel data is to give an indication of the robustness across countries, which is probably more useful information than the single country error bands.

I please need some help with this code to obtain average coefficients, IFRS and confidence band for the entire sample rather than individual countries-which the code seems to be doing.
Thanks.
oz
TomDoan
Posts: 7776
Joined: Wed Nov 01, 2006 4:36 pm

Re: Shrinkage IRFs with Panel Data

Unread post by TomDoan »

The average is simple (you have all the responses, so you just need to average them). I'm not sure what the rest of that means.
Ozmando
Posts: 52
Joined: Sun Jul 15, 2012 4:04 pm

Re: Shrinkage IRFs with Panel Data

Unread post by Ozmando »

TomDoan wrote:The average is simple (you have all the responses, so you just need to average them). I'm not sure what the rest of that means.
Thanks Tom. I guess as you suggested, averaging the individual estimate is straightforward.
However, I am not sure how to obtain the confidence bands for the (averaged) IFRs once the average is obtained.

Alternatively if there is another PVAR code in Rats which could be used for this purpose please let me know. I have purchased the course material but does not seem to include a PVAR which offers IFRs (for the whole sample).
Gratefully
oz
TomDoan
Posts: 7776
Joined: Wed Nov 01, 2006 4:36 pm

Re: Shrinkage IRFs with Panel Data

Unread post by TomDoan »

If you can compute the average for each draw, then you can compute error bands based upon those using the same techniques as would be used with any other IRF calculations. Note, however, that that is really defeating the purpose. The point of the shrinkage estimator is to allow them to be similar, but different. What's the point of averaging them? If you want them to be the same, then you would use a different estimator in the first place. The point estimate of the average has some value as a summary, but I fail to see what error bands on the average would accomplish.
Ozmando
Posts: 52
Joined: Sun Jul 15, 2012 4:04 pm

Re: Shrinkage IRFs with Panel Data

Unread post by Ozmando »

TomDoan wrote:If you can compute the average for each draw, then you can compute error bands based upon those using the same techniques as would be used with any other IRF calculations. Note, however, that that is really defeating the purpose. The point of the shrinkage estimator is to allow them to be similar, but different. What's the point of averaging them? If you want them to be the same, then you would use a different estimator in the first place. The point estimate of the average has some value as a summary, but I fail to see what error bands on the average would accomplish.
Thanks Tom, I see your point.
oz
Post Reply