Rolling Estimation in VAR

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

pvalls
Posts: 7
Joined: Wed Oct 22, 2008 5:44 am

Rolling Estimation in VAR

Postby pvalls » Wed Oct 22, 2008 6:35 am

I am using the following program to estimate a SVAR with restriction and using a rolling window
I get the following error message "Invalid or duplicate specification in DO-VAR1.SVAR(RTYPE=TEXT)
If a use the entire sample the program runs ok
Pedro Valls
___________________________________________________________
'First series are defined

series c1
series c2
series c3
series c4
series c5
series c6


'define loop

for !i=4 to 2347-200
smpl @first+!i @first+200+!i
var var1.ls 1 2 deprec fin com @deltadifjur deltaibov deltaembi

var1.append(svar) @e1=-c(1)*@e2-c(1)*@e3+c(2)*@u1

var1.append(svar) @e2=-c(3)*@e1+c(4)*@u2

var1.append(svar) @e3=-c(5)*@e1+c(6)*@u3

var1.svar(rtype=text)

c1=c(1)
c2=c(2)
c3=c(3)
c4=c(4)
c5=c(5)
c6=c(6)

next

smpl @all

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

Re: Rolling Estimation in VAR

Postby EViews Gareth » Wed Oct 22, 2008 8:08 am

You need to clear the text from your VAR:

Code: Select all

var var1.ls 1 2 deprec fin com @ deltadifjur deltaibov deltaembi var1.cleartext(svar) var1.append(svar) @e1=-c(1)*@e2-c(1)*@e3+c(2)*@u1

pvalls
Posts: 7
Joined: Wed Oct 22, 2008 5:44 am

Re: Rolling Estimation in VAR

Postby pvalls » Wed Oct 22, 2008 12:52 pm

Gareth
Thank´s very much
Pedro Valls

khnaqvi
Posts: 9
Joined: Thu Oct 30, 2008 12:32 am
Location: Manila Philippines
Contact:

Re: Rolling Estimation in VAR

Postby khnaqvi » Thu Oct 30, 2008 1:10 am

HI,

I want to run rolling VAR regression in eviews and also to have the standard errors of the rolling coefficents. Please can anyone help me to write a progrm for running rolling regression.

thanks

Hassan

pvls
Posts: 1
Joined: Thu Nov 06, 2008 6:23 pm

Re: Rolling Estimation in VAR

Postby pvls » Thu Nov 06, 2008 6:39 pm

Hallo Frands!

I`m teacher from weak busines cshool, i want now how estmate equasion for selary = 100 + age +educate

how do make?


Return to “Estimation”

Who is online

Users browsing this forum: No registered users and 2 guests