[R] forecasting accuracy problem in R

Jeff Newmiller jdnewmil at dcn.davis.CA.us
Mon Dec 17 06:11:40 CET 2012


Please read the posting guide. Packages have their own developers, as well as their own change logs [in this case http://cran.r-project.org/web/packages/forecast/ChangeLog].
---------------------------------------------------------------------------
Jeff Newmiller                        The     .....       .....  Go Live...
DCN:<jdnewmil at dcn.davis.ca.us>        Basics: ##.#.       ##.#.  Live Go...
                                      Live:   OO#.. Dead: OO#..  Playing
Research Engineer (Solar/Batteries            O.O#.       #.O#.  with
/Software/Embedded Controllers)               .OO#.       .OO#.  rocks...1k
--------------------------------------------------------------------------- 
Sent from my phone. Please excuse my brevity.

Leo <speedex at gmail.com> wrote:

>Hi,
>
>A few weeks back I used the following command:
>
>accuracy(train,test)
>
>where train and test are training and test data respectively. Last
>night I updated R and the forecast package and used the same command
>and I got error. After trying a little I used the following command
>
>accuracy(train,test[1:30])
>
>and it worked. (I was checking the accuracy of 30 forecasted values).
>
>Is there some change in the forecast package or did I do something
>wrong?
>
>regards Leo
>
>______________________________________________
>R-help at 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.




More information about the R-help mailing list