attached file:- http://r.789695.n4.nabble.com/file/n4525253/1A1I_A.txt 1A1I_A.txt
>arr<-ar(t$V1) > str(arr) > arr$aic 0 1 2 3 4 5 6 4.273791 4.397484 2.258405 3.008703 1.884487 0.000000 1.476055 7 8 9 10 11 12 13 3.204865 3.544783 5.474194 3.787079 3.873081 5.872812 7.085577 14 15 16 17 18 19 8.762945 10.758352 11.484045 12.837440 7.465485 8.729661 but which is perfect aic value to take ? ? ? ? ? -- View this message in context: http://r.789695.n4.nabble.com/how-can-i-get-AIC-value-for-AR-model-tp4525253p4525253.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.