Solving VAR Model - Innovation Generation Option
Posted: Sun Oct 26, 2014 5:47 am
Hi, I trying to understand the simulation options. I am using Eviews Version 7.2.
Example: Let's say I have data for 4 variables- X1, X2, X3, X4 for the period 2000m01 to 2014m08. VAR model looks like;
LOG(X1) = C(1,1)*LOG(X1(-1)) + C(1,2)*LOG(X2(-1)) + C(1,3)*LOG(X3(-1)) + C(1,4)*LOG(X4(-1)) + C(1,5)
LOG(X2) = C(2,1)*LOG(X1(-1)) + C(2,2)*LOG(X2(-1)) + C(2,3)*LOG(X3(-1)) + C(2,4)*LOG(X4(-1)) + C(2,5)
LOG(X3) = C(3,1)*LOG(X1(-1)) + C(3,2)*LOG(X2(-1)) + C(3,3)*LOG(X3(-1)) + C(3,4)*LOG(X4(-1)) + C(3,5)
LOG(X4) = C(4,1)*LOG(X1(-1)) + C(4,2)*LOG(X2(-1)) + C(4,3)*LOG(X3(-1)) + C(4,4)*LOG(X4(-1)) + C(4,5)
Estimation sample: 2000m01 to 2014m02
Solution sample: 2014m03 to 2014m08
For each equation, say
LOG(X1) = C(1,1)*LOG(X1(-1)) + C(1,2)*LOG(X2(-1)) + C(1,3)*LOG(X3(-1)) + C(1,4)*LOG(X4(-1)) + C(1,5) + Epsilon
Normal Random Numbers
In Stochastic option under Innovation generation if Normal Random Numbers are chosen, random numbers are generated for each time period in the solution sample(every month for 6 months). Using these as values for Epsilon and Coefficients obtained upon estimation of the VAR model, the model is solved. Is this correct ?
Bootstrap
On the other hand if Bootstrap option is chosen, residuals obtained upon estimation of the VAR model (4 residual series, one for each equation) are re-sampled. Using these re-sample residuals for Epsilon and Coefficients obtained upon estimation of the VAR model, the model is solved. Is this correct ?
Baseline mean
If the Repetition is set to 1000, then for each variable, 1000 sets of 6 values (one for each time period in the solution sample) i.e. 6000 values are forecast. The mean of 1000 forecasts for each time period gives the baseline mean, therefore arriving at 6 mean values. Is this correct ?
Stochastic Components
Are the residuals and coefficients the only 2 components that are varied under stochastic simulation ? With residual variation being default and coefficient variation being optional ?
Bootstrapping Sample
Assuming this is how stochastic simulation works, if I would like to repeat this for different samples, should I simply a) re-sample b)estimate c)solve the VAR model within a FOR loop ? Are there any other elegant methods to bootstrap samples ?
Any help is much appreciated. Thank You.
Example: Let's say I have data for 4 variables- X1, X2, X3, X4 for the period 2000m01 to 2014m08. VAR model looks like;
LOG(X1) = C(1,1)*LOG(X1(-1)) + C(1,2)*LOG(X2(-1)) + C(1,3)*LOG(X3(-1)) + C(1,4)*LOG(X4(-1)) + C(1,5)
LOG(X2) = C(2,1)*LOG(X1(-1)) + C(2,2)*LOG(X2(-1)) + C(2,3)*LOG(X3(-1)) + C(2,4)*LOG(X4(-1)) + C(2,5)
LOG(X3) = C(3,1)*LOG(X1(-1)) + C(3,2)*LOG(X2(-1)) + C(3,3)*LOG(X3(-1)) + C(3,4)*LOG(X4(-1)) + C(3,5)
LOG(X4) = C(4,1)*LOG(X1(-1)) + C(4,2)*LOG(X2(-1)) + C(4,3)*LOG(X3(-1)) + C(4,4)*LOG(X4(-1)) + C(4,5)
Estimation sample: 2000m01 to 2014m02
Solution sample: 2014m03 to 2014m08
For each equation, say
LOG(X1) = C(1,1)*LOG(X1(-1)) + C(1,2)*LOG(X2(-1)) + C(1,3)*LOG(X3(-1)) + C(1,4)*LOG(X4(-1)) + C(1,5) + Epsilon
Normal Random Numbers
In Stochastic option under Innovation generation if Normal Random Numbers are chosen, random numbers are generated for each time period in the solution sample(every month for 6 months). Using these as values for Epsilon and Coefficients obtained upon estimation of the VAR model, the model is solved. Is this correct ?
Bootstrap
On the other hand if Bootstrap option is chosen, residuals obtained upon estimation of the VAR model (4 residual series, one for each equation) are re-sampled. Using these re-sample residuals for Epsilon and Coefficients obtained upon estimation of the VAR model, the model is solved. Is this correct ?
Baseline mean
If the Repetition is set to 1000, then for each variable, 1000 sets of 6 values (one for each time period in the solution sample) i.e. 6000 values are forecast. The mean of 1000 forecasts for each time period gives the baseline mean, therefore arriving at 6 mean values. Is this correct ?
Stochastic Components
Are the residuals and coefficients the only 2 components that are varied under stochastic simulation ? With residual variation being default and coefficient variation being optional ?
Bootstrapping Sample
Assuming this is how stochastic simulation works, if I would like to repeat this for different samples, should I simply a) re-sample b)estimate c)solve the VAR model within a FOR loop ? Are there any other elegant methods to bootstrap samples ?
Any help is much appreciated. Thank You.