Hi, To make moving average, I advise you, to read a document in my web to make forecasting, http://www.juanantonio.info/p_research/statistics/r/forecasting.htm http://www.juanantonio.info/p_research/statistics/r/forecasting.htm
This scripts use the library forecast and the function pegels. http://www-personal.buseco.monash.edu.au/~hyndman/Rlibrary/forecast/ http://www-personal.buseco.monash.edu.au/~hyndman/Rlibrary/forecast/ If you see the web, the author of the library has updated it, then the function to make the prediction is ets. http://www-personal.buseco.monash.edu.au/~hyndman/Rlibrary/forecast/forecast/ets.html http://www-personal.buseco.monash.edu.au/~hyndman/Rlibrary/forecast/forecast/ets.html Best Regards. Juan Antonio Breña Moral http://www.juanantonio.info http://www.juanantonio.info -- View this message in context: http://www.nabble.com/Moving-Average-tf2004135.html#a5518837 Sent from the R help forum at Nabble.com. ______________________________________________ [email protected] 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.
