Switching VAR in eViews 11

For technical questions regarding estimation of single equations, systems, VARs, Factor analysis and State Space Models in EViews. General econometric questions and advice should go in the Econometric Discussions forum.

Moderators: EViews Gareth, EViews Moderator

guest
Posts: 2
Joined: Mon Oct 25, 2021 12:57 pm

Switching VAR in eViews 11

Postby guest » Tue Oct 26, 2021 11:29 am

Hi,

I realized that eViews 11 comes with switching VAR option in the VAR estimation, something very helpful for me. I want to run a model with panel data (yearly data of 40 firms over 35 years) with 6 endogenous variables and a bunch of exogenous ones. I specified the markov switching type and ticked the lagged endogenous box.

However, running the model results in NAs for the standard errors and significance. The Warning tells me that "WARNING: Singular covariance - coefficients are not unique
Failure to improve objective (non-zero gradients) after 0 iterations".

A regular VAR is estimated without any issues. So my questions are:
- Is it possible to estimate a switching VAR for panel data (the help file suggests otherwise, but the item is not greyed out)
- Are there limitations on the number of endogenous or exogenous variables
- Interestingly, I get some outputs for less endogenous variables for a specific seed value. The same set of variables produces NAs for another seed value. Would you have any insights why this happens?

Thanks for any help. Best.

EViews Glenn
EViews Developer
Posts: 2671
Joined: Wed Oct 15, 2008 9:17 am

Re: Switching VAR in eViews 11

Postby EViews Glenn » Tue Oct 26, 2021 8:58 pm

1. I'll have to look at the greying out issue, but Markov switching VARs are problematic for panel data specifications. I'm suspect that it should be erroring for that data configuration, but perhaps I am not remembering what we are doing. I'll have to take a look.
2. No in principle, but yes in practice as you'll get convergence and singularity issues.
3. These are highly nonlinear models that are notoriously difficult to estimate, hence the inclusion of randomized starting values and other tools. Even in non panel singularities and sensitivity to starting values are quite common.

EViews Glenn
EViews Developer
Posts: 2671
Joined: Wed Oct 15, 2008 9:17 am

Re: Switching VAR in eViews 11

Postby EViews Glenn » Tue Oct 26, 2021 9:24 pm

The algorithm for estimating the switching model goes through after correctly accounting for the panel lags in the VAR, but I think that the handling of the state initializations isn't ideal and probably misleading. You could make an argument that what the algorithm is producing is valid, but I think that I wouldn't, and I'll go in an make it so that this is non-estimable. Sorry for the confusion.

guest
Posts: 2
Joined: Mon Oct 25, 2021 12:57 pm

Re: Switching VAR in eViews 11

Postby guest » Wed Oct 27, 2021 11:59 am

Thank you very much for the explanations. Now, I can be sure that it is not possible to estimate a VAR switching model with panel data.

May I ask another question that directly connects here? An alternative would be to run simple switching regressions for each variable separately. But it seems that I cannot account for the panel structure in eViews either. Is it correct?

Thanks and best.

EViews Glenn
EViews Developer
Posts: 2671
Joined: Wed Oct 15, 2008 9:17 am

Re: Switching VAR in eViews 11

Postby EViews Glenn » Wed Oct 27, 2021 12:13 pm

Correct on the panel front. The issue is that the probabilities need to be handled on an individual basis, and this is quite tricky.


Return to “Estimation”

Who is online

Users browsing this forum: No registered users and 28 guests