pei wrote:Dear Tom,
I use code for four shocks from the forum.I am not quite sure whether the code is correct. Could you please give me some suggestions and feedbacks whether my code is correct?
Thank you very much for your help and kindness.
pei
First off, do not start with a NOPRINT option on your ESTIMATE. Look at the output and see if there are problems. Once you're sure that the VAR itself is OK, you can put NOPRINT back on. In your case, it's not OK. ST is the difference between FIRON and PIRON, so you can't include all three in a VAR. You also aren't including a CONSTANT in the system, so the residuals appear to be much more correlated that they are. Offhand, it also appears that you're including in levels data series which would ordinarily be modeled in logs.
Your HSTART is also wrong; it needs to be the start of the estimation period (1986:7 with six lags), rather than the start of the data.
Finally, don't start with four shocks. Start with one. See if you can get that to work successfully. As it is, you're not even getting successful draws for the first shock.
