Standard deviation over 5 years

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

Brandolf
Posts: 4
Joined: Tue Jun 09, 2009 8:44 am

Standard deviation over 5 years

Postby Brandolf » Tue Jun 09, 2009 9:03 am

Hi!

I have a question about the standard deviation function in EViews. I got the GDP of a country over a period of about 30 years. On the left hand side of the regression I would like to have the standard deviation of the GDP. Because its not possible to compute the standard deviation of a single year, I have to compute it for let's say 5 years. So the first value would then be for example the standard deviation from 1990-1995 and the second value 1991-1996 and so on. I know further, that there will be an autoregression-problem if I estimate this equation.

How can I estimate a regression of this type in EViews? And how can I avoid the autoregression-problem? Is there anybody who can help me?

Thanking you in anticipation!

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

Re: Standard deviation over 5 years

Postby trubador » Tue Jun 09, 2009 9:45 am

You can define your dependent variable as @movstdev(y,5) and estimate it along with other variables. Afterwards, you'll probably have to build an ARMA model or a GARCH model to overcome autoregression and/or heteroscedasticity problem.

Brandolf
Posts: 4
Joined: Tue Jun 09, 2009 8:44 am

Re: Standard deviation over 5 years

Postby Brandolf » Tue Jun 09, 2009 9:51 am

Thx for your response! I will try it.

Edit: It worked and it's exactly the solution to my problem. Thx! The autoregression problem is not an EViews problem I guess. I have to think about it (thx for your inputs).


Return to “Estimation”

Who is online

Users browsing this forum: No registered users and 2 guests