{"id":584,"date":"2014-08-05T19:46:05","date_gmt":"2014-08-05T19:46:05","guid":{"rendered":"http:\/\/kourentzes.com\/forecasting\/?p=584"},"modified":"2014-11-02T20:21:53","modified_gmt":"2014-11-02T20:21:53","slug":"choosing-parameters-for-crostons-method-and-its-variants","status":"publish","type":"post","link":"https:\/\/kourentzes.com\/forecasting\/2014\/08\/05\/choosing-parameters-for-crostons-method-and-its-variants\/","title":{"rendered":"Choosing parameters for Croston&#8217;s method and its variants"},"content":{"rendered":"<p style=\"text-align: justify;\">Although Croston&#8217;s method and its variants are popular for intermittent demand time series, there have been limited advances in identifying how to select appropriate smoothing parameters and initial values. From the one hand this complicates forecasting for organisations, and from the other hand it does not permit automation. Recent <a title=\"On Intermittent Demand Model Optimisation and Selection\" href=\"http:\/\/kourentzes.com\/forecasting\/2014\/06\/11\/on-intermittent-demand-model-optimisation-and-selection\/\">research<\/a> investigated various cost functions for optimising these methods and found two newly proposed ones, namely the MSR and MAR, for Mean Squared and Absolute Rate, to perform better than conventional squared or absolute error based cost functions. The argument for the new cost functions, in a nutshell, is that these methods produce a <strong>demand rate forecast<\/strong>, rather than <strong>a demand size forecast<\/strong> and therefore using error based cost functions is inappropriate.<\/p>\n<p style=\"text-align: justify;\">The resulting parameters were found to be close to the ones suggested by the literature. The same paper looked at whether constraining the parameters helped and found minimal differences. Optimising the demand size and interval parameters separately was found to be beneficial, as well as optimising the initial values of demand and interval (or demand probability for the case of TSB). When all these findings were used in practice there were substantial improvements in inventory performance terms, as discussed in detail in the paper.<\/p>\n<p style=\"text-align: justify;\">I have put together a simulator to illustrate how the various methods and cost functions work. All functions are from the <a title=\"Intermittent demand forecasting package for R\" href=\"http:\/\/kourentzes.com\/forecasting\/2014\/06\/23\/intermittent-demand-forecasting-package-for-r\/\">tsintermittent<\/a> package for R.<\/p>\n<p><iframe loading=\"lazy\" id=\"IntermittentDemo\" style=\"border: none; width: 100%; height: 710px;\" src=\"http:\/\/kourentzes.shinyapps.io\/shinyIntermittent\/\" width=\"300\" height=\"710\" frameborder=\"0\"><\/iframe><\/p>\n<p style=\"text-align: justify;\"><span style=\"color: #999999;\">Update: If minimum and maximum aggregation levels are equal, an ADIDA forecast with automatic model selection (using iMAPA) is now produced correctly.<\/span><\/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=\"Automatic robust estimation for exponential smoothing: perspectives from statistics and machine learning\" href=\"https:\/\/kourentzes.com\/forecasting\/2020\/06\/04\/automatic-robust-estimation-for-exponential-smoothing-perspectives-from-statistics-and-machine-learning\/\" rel=\"bookmark\">Automatic robust estimation for exponential smoothing: perspectives from statistics and machine learning<\/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<\/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>Although Croston&#8217;s method and its variants are popular for intermittent demand time series, there have been limited advances in identifying how to select appropriate smoothing parameters and initial values. From the one hand this complicates forecasting for organisations, and from the other hand it does not permit automation. Recent research investigated various cost functions for\u2026 <span class=\"read-more\"><a href=\"https:\/\/kourentzes.com\/forecasting\/2014\/08\/05\/choosing-parameters-for-crostons-method-and-its-variants\/\">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":[14,54,22,27,23,53],"_links":{"self":[{"href":"https:\/\/kourentzes.com\/forecasting\/wp-json\/wp\/v2\/posts\/584"}],"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=584"}],"version-history":[{"count":0,"href":"https:\/\/kourentzes.com\/forecasting\/wp-json\/wp\/v2\/posts\/584\/revisions"}],"wp:attachment":[{"href":"https:\/\/kourentzes.com\/forecasting\/wp-json\/wp\/v2\/media?parent=584"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kourentzes.com\/forecasting\/wp-json\/wp\/v2\/categories?post=584"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kourentzes.com\/forecasting\/wp-json\/wp\/v2\/tags?post=584"}],"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. -->