Loop ARMA model
Posted: Thu Oct 18, 2012 10:40 am
Hey guys, I heard this is a great site for getting help. I need to loop an ARMA model, but I can only get a simple arma model like this one:
so the output is actually dnameabc c ar(1) ma(1) and dname_abc c ar(5) ma(4) for example but I need:
dname_abc c ar(1) ar(2) ar(3) ma(1) ma(2) ma(3) ma(4) for example and not a simple model equation.
Code: Select all
for !i= 1 to 6
for !j= 1 to 6
equation name_abc_!i_!j.ls dnameabc c ar(!i) ma(!j)
next
nextdname_abc c ar(1) ar(2) ar(3) ma(1) ma(2) ma(3) ma(4) for example and not a simple model equation.