Lag Lenght calculatoin

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

KloudMarta
Posts: 9
Joined: Fri May 23, 2014 12:45 pm

Lag Lenght calculatoin

Postby KloudMarta » Sun May 25, 2014 11:43 am

Hello my dears, I apologies for my below question, it seems beginner questions, actually I am new to Eviews 7 and I need a support from you.
My study is addressed the relationship between trade openness and gross fixed capital formation for the period (1990-2011). Dependent variable is Gross Fixed Capital Formation. Independent variables are Trade Openness, Inflation, Real Exchange Rate, Real Interest Rate, Saving, Political Stability. I applied unit root test (PP) to test stationary variables, after that I used VAR Estimation to determined Lag Length Criteria. Here is my problem, when I entered 4 or 3 Lag , it shows me the following letter " Insufficient number of observations for specified maximum lag length ". When I entered 2 lag, it shows me " Lag of non positive number ". But when I entered 1 Lag, it works.
So I hope you help me to find solution for my problem.
Thanks a lot.

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

Re: Lag Lenght calculatoin

Postby EViews Glenn » Tue May 27, 2014 12:04 pm

What is the frequency of your data?
I can't quite tell from your post which dependent variables you've specified for the VAR.

KloudMarta
Posts: 9
Joined: Fri May 23, 2014 12:45 pm

Re: Lag Lenght calculatoin

Postby KloudMarta » Thu May 29, 2014 11:19 am

Annual data frequency.
Dependent variable is gross fixed capital formation.

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

Re: Lag Lenght calculatoin

Postby EViews Glenn » Thu May 29, 2014 12:28 pm

I'm confused. Are you doing a VAR or unit root test? If the former, you'l need more than one dependent variable.

sidra
Posts: 1
Joined: Thu May 29, 2014 1:15 pm

Re: Lag Lenght calculatoin

Postby sidra » Thu May 29, 2014 1:37 pm

hello! what is the criteria of choosing lag length for ARCH-LM test and during applying augmented dickey fuler test?

KloudMarta
Posts: 9
Joined: Fri May 23, 2014 12:45 pm

Re: Lag Lenght calculatoin

Postby KloudMarta » Fri May 30, 2014 1:40 am

Dears..

EViews7 choose criteria and lag length automatically.
First, I apply unit root test (ADF, PP) at automatically selection (criteria and lags). After that, I use VAR estimation (with stationary variables) to determine what lags and criteria I should use.

Is that true? Is the step I follow true?

trubador
Did you use forum search?
Posts: 1520
Joined: Thu Nov 20, 2008 12:04 pm

Re: Lag Lenght calculatoin

Postby trubador » Fri May 30, 2014 1:48 am

My study is addressed the relationship between trade openness and gross fixed capital formation for the period (1990-2011). Dependent variable is Gross Fixed Capital Formation. Independent variables are Trade Openness, Inflation, Real Exchange Rate, Real Interest Rate, Saving, Political Stability. I applied unit root test (PP) to test stationary variables, after that I used VAR Estimation to determined Lag Length Criteria. Here is my problem, when I entered 4 or 3 Lag , it shows me the following letter " Insufficient number of observations for specified maximum lag length ". When I entered 2 lag, it shows me " Lag of non positive number ". But when I entered 1 Lag, it works.
When you switch to VAR estimation, your independent variables also become dependents within a multivariate framework. Therefore, you end up with a 7-variable VAR, which requires 22 and 29 observations per equation to estimate the parameters. However, you'll only have 19 and 18 observations (due to adjustments after lag specifications).

KloudMarta
Posts: 9
Joined: Fri May 23, 2014 12:45 pm

Re: Lag Lenght calculatoin

Postby KloudMarta » Fri May 30, 2014 2:25 am

you are right..

That's what happened with me.

That's mean,VAR estimation don't work with me?????.
So, now what should I do? what estimation should I use?

Can you please help me.

trubador
Did you use forum search?
Posts: 1520
Joined: Thu Nov 20, 2008 12:04 pm

Re: Lag Lenght calculatoin

Postby trubador » Fri May 30, 2014 2:41 am

Even if you use simple OLS, you'll still need more observations to obtain reliable results. So, if you do not want to give up any of your variables, then you should increase the sample size in any case. Using quarterly values might be a solution.

KloudMarta
Posts: 9
Joined: Fri May 23, 2014 12:45 pm

Re: Lag Lenght calculatoin

Postby KloudMarta » Fri May 30, 2014 2:54 am

Ok...

Is there any solution for small sample or observations?

KloudMarta
Posts: 9
Joined: Fri May 23, 2014 12:45 pm

Re: Lag Lenght calculatoin

Postby KloudMarta » Fri May 30, 2014 9:00 am

I mean is there any solution for my current small sample (from 1990-2011)?.

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

Re: Lag Lenght calculatoin

Postby EViews Glenn » Fri May 30, 2014 9:25 am

Fewer lags.

KloudMarta
Posts: 9
Joined: Fri May 23, 2014 12:45 pm

Re: Lag Lenght calculatoin

Postby KloudMarta » Fri May 30, 2014 1:18 pm

Did you mean, when I apply unit root test I should use fewer lags instead of use automatically selection???

Or when I apply VAR estimation I should entered fewer lag? and even if I do it, is that true, or the true is more lags????

sorry for my questions, I use EViews7 for first time.

Thanks.

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13604
Joined: Tue Sep 16, 2008 5:38 pm

Re: Lag Lenght calculatoin

Postby EViews Gareth » Fri May 30, 2014 1:30 pm

Just to be clear, your questions have nothing to do with EViews really. The issue of not having enough observations due to too many lags is purely econometric/mathematical. You'll have the same issue no matter what package you use to estimate it. What you're trying to do is mathematically impossible. The only solution is to try to do something else. Either get more observations, or use fewer lags in the VAR.

KloudMarta
Posts: 9
Joined: Fri May 23, 2014 12:45 pm

Re: Lag Lenght calculatoin

Postby KloudMarta » Fri May 30, 2014 1:36 pm

Thanks a lot.


Return to “Estimation”

Who is online

Users browsing this forum: No registered users and 2 guests