Running many LS models with a loop

For questions regarding programming in the EViews programming language.

Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt

robbieboy74
Posts: 4
Joined: Sat Feb 12, 2011 7:17 pm

Running many LS models with a loop

Postby robbieboy74 » Wed Mar 09, 2011 11:36 pm

Hello,

I am not a programmer (unfortunately :cry: ) and I am realizing how much time it would save if I were!

I want to run a program that runs ARMA(p,q) + trend + seasonality models from p = 0 to 4 and q = 0 to 4. This is 16 different models. Is there a way to get all the outputs for these? Or even, better, just the SIC's and AICs?

Does anyone have a better suggestion besides brute force?

Thanks so much for your help!

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

Re: Running many LS models with a loop

Postby EViews Gareth » Thu Mar 10, 2011 8:28 am

If only there was some sort of introduction to programming that covered this sort of thing.

robbieboy74
Posts: 4
Joined: Sat Feb 12, 2011 7:17 pm

Re: Running many LS models with a loop

Postby robbieboy74 » Thu Mar 10, 2011 10:04 am

I already read that and I don't get it. I am not a programmer. All the codes I write don't run. But thanks for the pernicious sarcasm, it really makes it likely this forum will used again.

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

Re: Running many LS models with a loop

Postby EViews Gareth » Thu Mar 10, 2011 12:08 pm

You'll get more help if you show us what you have done, and why/how it isn't working. Your initial post seems to indicate you want to become a programmer and learn. Your second post seems to indicate you want someone to write the program for you. You'll get a lot more help with the first than the second.

startz
Non-normality and collinearity are NOT problems!
Posts: 3797
Joined: Wed Sep 17, 2008 2:25 pm

Re: Running many LS models with a loop

Postby startz » Thu Mar 10, 2011 12:31 pm

Note that Gareth is responsible for one-fourth of the posts here. He is extraordinarily helpful. It would be wise to assume good intentions on his part.


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 1 guest