Well, there are couple of Panel VAR codes (pvar, xtvar in STATA) but for PSVAR you may refer to the following article, it has codes for the paper you can find in online.
How big(small?)are fiscal multipliers? Journal of Monetary Economics 60 (2013) 239–254