Page 1 of 1

Saving Residuals

Posted: Tue Dec 01, 2009 10:18 pm
by alisabri35
Hi guys,
I am a very new student for EViews programming. can anyone please help me to sort out this problem. (may be a simple and silly question)

I wanted save all residuals from 48 equations. I get an error message: "EQ1 is not defined" problem is is in 3rd line

for !S=1 to 48
equation eq1{!S}.ARCH(1,1) y!S c m!Sa
eq1. makeresids. Res(!S)
next

Thank you in advance

Re: Saving Residuals

Posted: Wed Dec 02, 2009 2:22 pm
by trubador
Try the following:

Code: Select all

for !S=1 to 48 equation eq{!S}.ARCH(1,1) y!S c m!Sa eq{!S}.makeresids Res!S next

Re: Saving Residuals

Posted: Wed Dec 02, 2009 3:55 pm
by alisabri35
Thank you very much trubador, it worked.