Displaying 1 result from an estimated 1 matches for "f_arima".
Did you mean:
arima
2007 Nov 27
4
if condition and for cycles
...al=lm(SeaIce~t+c+s)
summary(fittotal)
windows()
par(mfrow=c(2,1))
plot(t,SeaIce)
lines(fittotal$fit, col=2)
plot(t,fittotal$resid)
windows()
acf(fittotal$resid)
}
2) Why does't this work? I get the message "I'here" ten times but the AIC
results, none.
for (i in 1:10) {
f_arima = arima(SeaIce_STL_Remain,order=c(i,0,0))
AIC(f_arima)
Message("I?here")
}
Thanks in advance,
Luis Antunes
--
View this message in context: http://www.nabble.com/if-condition-and-for-cycles-tf4882403.html#a13972845
Sent from the R help mailing list archive at Nabble.com.