{"id":905,"date":"2015-09-23T19:05:16","date_gmt":"2015-09-23T19:05:16","guid":{"rendered":"http:\/\/kourentzes.com\/forecasting\/?p=905"},"modified":"2015-09-23T19:05:16","modified_gmt":"2015-09-23T19:05:16","slug":"another-update-for-tsintermittent","status":"publish","type":"post","link":"https:\/\/kourentzes.com\/forecasting\/2015\/09\/23\/another-update-for-tsintermittent\/","title":{"rendered":"Another update for tsintermittent"},"content":{"rendered":"<p style=\"text-align: justify;\">Version 1.8 of <a href=\"https:\/\/cran.r-project.org\/web\/packages\/tsintermittent\/index.html\" target=\"_blank\">tsintermittent<\/a> has been submitted to CRAN and should be shortly available for download. Amongst various new checks on inputs to better accommodate handling multiple time series with data frames, a new option has been added to <code>data.frc<\/code>. When <code>method=\"auto\"<\/code> two things will happen:<\/p>\n<ol style=\"text-align: justify;\">\n<li>Function <code>idclass(...,type=\"PKa\")<\/code> will be called to classify the time series and select for each one the appropriate forecasting method between Croston&#8217;s method, SBA and single exponential smoothing (for details on the classification see the documentation of <code>idclass<\/code>).<\/li>\n<li>Each time series will be forecasted using the selected forecasting method. Any parameters are optimised per time series.<\/li>\n<\/ol>\n<p style=\"text-align: justify;\">Some things to keep in mind. The function <code>data.frc<\/code> can accept additional inputs that are passed to the forecasting method used. The function is smart enough to distribute options that are only available to <code>crost<\/code> or <code>sexsm<\/code> appropriately. Also, you will get the same results if you use:<br \/>\n<code>data.frc(...,method=\"imapa\",maximumAL=1)<\/code><br \/>\nin which case <code>imapa<\/code> is restricted to using only the original temporal aggregation level. However calling <code>method=\"imapa\"<\/code> instead of <code>method=\"auto\"<\/code> is substantially slower<code><\/code>, so the latter is recommended when handling multiple time series and you do not need to take advantage of temporal aggregation.<\/p>\n<p style=\"text-align: justify;\">This <a href=\"http:\/\/www.sciencedirect.com\/science\/article\/pii\/S092552731100483X\" target=\"_blank\">paper<\/a> empirically demonstrates that using a similar classification to select the best method for intermittent demand results in good forecasting performance. Although the good performance of the classification scheme was verified again in this <a href=\"http:\/\/kourentzes.com\/forecasting\/2014\/05\/13\/forecast-combinations-for-intermittent-demand\/\">paper<\/a>, we also found that <code>imapa<\/code> gave the most accurate forecasts. Nonetheless, the new option should allow to quickly implement either approach. My personal view is that the method selection issue for intermittent demand time series is far from resolved, as I demonstrate in this <a href=\"http:\/\/kourentzes.com\/forecasting\/2014\/06\/11\/on-intermittent-demand-model-optimisation-and-selection\/\">paper<\/a>, but good progress is being done and should be used in practice.<\/p>\n<div class=\"SPOSTARBUST-Related-Posts\"><H3>Related Posts<\/H3><ul class=\"entry-meta\"><li class=\"SPOSTARBUST-Related-Post\"><a title=\"Intermittent demand &#038; THieF &#8211; EJOR Editors\u2019 Choice Articles\" href=\"https:\/\/kourentzes.com\/forecasting\/2020\/06\/08\/intermittent-demand-thief-ejor-editors-choice-articles\/\" rel=\"bookmark\">Intermittent demand &#038; THieF &#8211; EJOR Editors\u2019 Choice Articles<\/a><\/li>\n<li class=\"SPOSTARBUST-Related-Post\"><a title=\"Elucidate structure in intermittent demand time series\" href=\"https:\/\/kourentzes.com\/forecasting\/2020\/05\/25\/elucidate-structure-in-intermittent-demand-time-series\/\" rel=\"bookmark\">Elucidate structure in intermittent demand time series<\/a><\/li>\n<li class=\"SPOSTARBUST-Related-Post\"><a title=\"Tutorial for the nnfor R package\" href=\"https:\/\/kourentzes.com\/forecasting\/2019\/01\/16\/tutorial-for-the-nnfor-r-package\/\" rel=\"bookmark\">Tutorial for the nnfor R package<\/a><\/li>\n<\/ul><\/div><!-- AddThis Advanced Settings generic via filter on the_content --><!-- AddThis Share Buttons generic via filter on the_content -->","protected":false},"excerpt":{"rendered":"<p>Version 1.8 of tsintermittent has been submitted to CRAN and should be shortly available for download. Amongst various new checks on inputs to better accommodate handling multiple time series with data frames, a new option has been added to data.frc. When method=&#8221;auto&#8221; two things will happen: Function idclass(&#8230;,type=&#8221;PKa&#8221;) will be called to classify the time\u2026 <span class=\"read-more\"><a href=\"https:\/\/kourentzes.com\/forecasting\/2015\/09\/23\/another-update-for-tsintermittent\/\">Read More &raquo;<\/a><\/span><!-- AddThis Advanced Settings generic via filter on get_the_excerpt --><!-- AddThis Share Buttons generic via filter on get_the_excerpt --><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[41],"tags":[45,22,39],"_links":{"self":[{"href":"https:\/\/kourentzes.com\/forecasting\/wp-json\/wp\/v2\/posts\/905"}],"collection":[{"href":"https:\/\/kourentzes.com\/forecasting\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kourentzes.com\/forecasting\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kourentzes.com\/forecasting\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kourentzes.com\/forecasting\/wp-json\/wp\/v2\/comments?post=905"}],"version-history":[{"count":0,"href":"https:\/\/kourentzes.com\/forecasting\/wp-json\/wp\/v2\/posts\/905\/revisions"}],"wp:attachment":[{"href":"https:\/\/kourentzes.com\/forecasting\/wp-json\/wp\/v2\/media?parent=905"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kourentzes.com\/forecasting\/wp-json\/wp\/v2\/categories?post=905"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kourentzes.com\/forecasting\/wp-json\/wp\/v2\/tags?post=905"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}<!-- WP Super Cache is installed but broken. The constant WPCACHEHOME must be set in the file wp-config.php and point at the WP Super Cache plugin directory. -->