From k|m@|@me @end|ng |rom y@hoo@|r  Mon Feb  3 07:23:01 2020
From: k|m@|@me @end|ng |rom y@hoo@|r (ismael ismael)
Date: Mon, 3 Feb 2020 06:23:01 +0000 (UTC)
Subject: [Rd] Stroring and extracting AICs from an ARIMA model using a
 nested loop
References: <1120275228.1123321.1580710981461.ref@mail.yahoo.com>
Message-ID: <1120275228.1123321.1580710981461@mail.yahoo.com>

Hello
I am trying to extract AICs from an ARIMA estimation with different
combinations of p & q ( p =0,1,2,3
and q=0,1.2,3). I have tried using the following code unsucessfully. Can
anyone help?

code:
storage1 <- numeric(16)
for (p in 0:3){

? ? for (q in 0:3){
?
? ? storage1[p]? <- arima(x,order=c(p,0,q), method="ML")}
}
storage1$aic

	[[alternative HTML version deleted]]



[Rd] Stroring and extracting AICs from an ARIMA model using a nested loop
ismael ismael