Thanks a lot! I have one other question,however. If I want to have two garchFits, garchFit(~aparch(1,1), data = sunspot.year) and garchFit(~arma(2,1)+apaarch(1,1), data = sunspot.year), how do I automate the creation of these models?
for(k in 1:2) { garchFit~...,data = sunspot.year), } I am not sure what to put in the ... -- View this message in context: http://r.789695.n4.nabble.com/How-to-iterate-through-different-arguments-tp2953511p2965042.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.