<?xml version="1.0" encoding="UTF-8"?>
<!--Generated by Squarespace Site Server v5.11.81 (http://www.squarespace.com/) on Fri, 25 May 2012 08:25:39 GMT--><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0"><channel><title>Forecasting for Business - Blog</title><link>http://blog.lokad.com/journal/</link><description></description><lastBuildDate>Wed, 23 May 2012 11:55:32 +0000</lastBuildDate><copyright></copyright><language>en-US</language><generator>Squarespace Site Server v5.11.81 (http://www.squarespace.com/)</generator><item><title>Whitepaper on Out-of-Shelf Monitoring Technology released</title><category>business</category><category>documentation</category><category>insights</category><category>oos</category><category>retail</category><category>shelfcheck</category><dc:creator>Matthias Steinberg</dc:creator><pubDate>Wed, 23 May 2012 11:54:40 +0000</pubDate><link>http://blog.lokad.com/journal/2012/5/23/whitepaper-on-out-of-shelf-monitoring-technology-released.html</link><guid isPermaLink="false">106266:941347:16389198</guid><description><![CDATA[<p>Few aspects of retailing are as fundamental as <strong>fully stacked shelves</strong>, and few concerns rank higher with an ever more demanding customer than product availability. Regardless, <strong>on-shelf availability</strong> remains a huge challenge for the industry. Growing, more dynamic product portfolios, staff and cost cuts combined with an increasingly complex supply chain have increased the challenge.</p>
<p><a href="http://www.lokad.com/GetFile.aspx?File=/Products/Shelfcheck/Whitepaper%20Introduction%20to%20Out-of-shelf%20Monitoring%20Systems.pdf"><img src="http://blog.lokad.com/storage/WhitepaperOOSMonitoring-250x323.png" alt="Cover of the OOS whitepaper by Lokad" style="float:left;margin-right:20px" /></a>While shelf availability is a top concern for customers and retailers alike, even the Tier I retailers today mostly rely on manual checks by store staff. This puts a large burden on employees, and response times to out-of-shelf situations are slow.</p>
<p>However, grocery retailers a crossed Europe and the US have started to explore technology that can help address the problem. With this in mind, we have published a <strong><a href="http://www.lokad.com/GetFile.aspx?File=/Products/Shelfcheck/Whitepaper%20Introduction%20to%20Out-of-shelf%20Monitoring%20Systems.pdf">whitepaper</a> on out-of-shelf monitoring technology</strong> which gives an overview of</p>

<ul>
<li>Objectives of out-of-shelf monitoring systems</li>
<li>Introduction to the technology </li>
<li>Definition of performance characteristics</li>
<li>Quantification of system capabilities and limitations</li>
</ul>

<p>Are we missing some interesting aspects of this type of technology, or do you have experience with OOS monitoring systems you want to share? Please let us know in the comments.</p>]]></description><wfw:commentRss>http://blog.lokad.com/journal/rss-comments-entry-16389198.xml</wfw:commentRss></item><item><title>ROI = Return On Inventory?</title><category>business</category><category>insights</category><category>insights</category><category>inventory optimization</category><category>roadmap</category><category>roadmap</category><category>roi</category><category>working capital</category><dc:creator>Matthias Steinberg</dc:creator><pubDate>Wed, 16 May 2012 12:00:00 +0000</pubDate><link>http://blog.lokad.com/journal/2012/5/16/roi-return-on-inventory.html</link><guid isPermaLink="false">106266:941347:16216559</guid><description><![CDATA[<p>ROI stands of course for <a href="http://en.wikipedia.org/wiki/Return_on_investment">return on investment</a>. However, the idea that <strong>every euro or dollar &lsquo;invested&rsquo; in inventory brings a certain return</strong> in terms of profits is a powerful thought. When looking at inventory from this angle, two questions arise:</p>
<ul>
<li>Are profits earned by a product versus the capital invested in stocking it (i.e. ROI) similar over the product portfolio?</li>
<li>If the ROIs of the various products are heterogeneous &ndash; how can the overal ROI delivered by the inventory be maximized?</li>
</ul>
<p><img style="float: left; margin-right: 10px;" src="http://blog.lokad.com/storage/ROI-Illustration1-400x350.png" alt="ROI meter" /> As you will have guessed, the answer to the first question is a clear &lsquo;NO&rsquo;. The return generated by a product for the euros invested in stocking it differs vastly from product to product. Two aspects have a major impact.</p>
<p>First, the <a href="http://en.wikipedia.org/wiki/Gross_margin">gross margin</a> of a product directly affects the ROI. This is obvious, and product managers naturally try to build a portfolio with high margins in mind. However, many other considerations come into play such as the coverage of the product portfolio for example. Adding more products to the portfolio is often also a strategy for growth.</p>
<p>The second aspect is more subtle, but equally important: <strong>The amount of stock that is required to provide a desired availability (i.e. <a href="http://www.lokad.com/salescast-service-level.ashx">service level</a>) varies significantly among products.</strong> The main driver here is the volatility of demand - the higher the uncertainty of the future demand, the higher the inventory level required to assure a given service level.</p>
<p>As an example, lets imagine two products with the same gross margin that sell the same number of units during the year, thus generating the same amount of annual gross profit. However, product A sells the same amount each week with a high certainty, while product B is much more erratic with no sales for weeks and large orders in others. To achieve the same availability or <a href="http://www.lokad.com/salescast-service-level.ashx">service level</a> for both products, the safety stock for product B will be a lot higher than for product A, where very little uncertainty and therefore <a href="http://www.lokad.com/calculate-safety-stocks-with-sales-forecasting.ashx">safety stock </a>requirement is given. As a result, product B requires much more units in stock than product A to achieve the same annual profit. The ROI for product A is therefore significantly higher.</p>
<p><img style="float: right;" src="http://blog.lokad.com/storage/ROI-Illustration2-400x250.png" alt="Inventory is money" />Businesses continually work on maximizing their&nbsp;<a href="http://en.wikipedia.org/wiki/Return_on_Capital_Employed">return on capital employed&nbsp;</a>(ROCE). Inventory is a significant part of the capital invested by most retailers, and therefore an important opportunity for optimization. The good news is that<strong> </strong>the potential for<strong> optimizing the ROI of your inventory by&nbsp;</strong><strong>taking advantage of the heterogeneous ROIs across your catalog is large</strong>.</p>
<p>The latter is done by finding the optimal service level at which an SKU produces the best ROI within the constraint of a set inventory budget. As a result availability and revenue can be increased for a given inventory budget, or cash can be released from inventory while maintain the overall availability.</p>
<p>The <strong>analysis behind this optimization however is not trivial</strong> given the non-linear correlation between service level and inventory levels. Additionally, a set of &lsquo;strategic&rsquo; constraints such availability goals for certain products need to be taken into account.<span style="color: black;">&nbsp;</span></p>
<p>This is a challenge which we plan to take on in the near future, the <strong>goal being a fully automated ROI optimization</strong> over the product portfolio for a given working capital sum. As an output, the system will determine service levels per SKU that give the highest availability (and therefore revenues) for a chosen inventory budget.</p>
<p><strong>Excessive inventory reduces the return on invested capital, but too little inventory diminishes profits</strong> as well. The optimal inventory level is therefore a trade-off between stock-out cost and inventory cost, and falling too far on either side of the optimum will negatively impact your business. Our plans for service level optimization will leverage our forecasting technology. <strong>Stay tuned.</strong></p>]]></description><wfw:commentRss>http://blog.lokad.com/journal/rss-comments-entry-16216559.xml</wfw:commentRss></item><item><title>Sparsity: when accuracy measure goes wrong</title><category>accuracy</category><category>accuracy</category><category>pinball</category><category>retail</category><category>sparse</category><category>store</category><category>time series</category><dc:creator>Joannes Vermorel</dc:creator><pubDate>Tue, 08 May 2012 11:09:37 +0000</pubDate><link>http://blog.lokad.com/journal/2012/5/8/sparsity-when-accuracy-measure-goes-wrong.html</link><guid isPermaLink="false">106266:941347:16172667</guid><description><![CDATA[<p>Three years ago, we were publishing <a href="http://blog.lokad.com/journal/2009/4/22/overfitting-when-accuracy-measure-goes-wrong.html">Overfitting: when accuracy measure goes wrong</a>, however overfitting is far from being the only situation where simple accuracy measurements can be <strong>very misleading</strong>. Today, we focus on a very error-prone situation: <strong>intermittent demand</strong> which is typically encountered when looking at <strong>sales at the store level</strong> (or Ecommerce).</p>

<p>We believe that <strong>this single problem alone</strong> has prevented most retailers to move toward advance forecasting systems at the store level. As with most forecasting problems, it's <a href="http://blog.lokad.com/journal/2011/10/20/out-of-shelf-can-explain-14-of-store-forecast-error.html">subtle</a>, it's <a href="http://blog.lokad.com/journal/2011/4/1/business-is-up-but-forecasts-are-down.html">counterintuitive</a>, and <a href="http://blog.lokad.com/journal/2010/11/19/fallacies-in-data-cleaning-for-short-term-sales-forecasts.html">some companies</a> charge a lot to bring poor answers to the question.</p>

<p><img src="http://blog.lokad.com/storage/intermittent-behavior-001.png" alt="Illustration of intermittent sales" style="float: left; margin-right:10px" /></p>

<p>The most popular error metrics in sales forecasting are the <a href="http://en.wikipedia.org/wiki/Mean_absolute_error">Mean Absolute Error</a> (MAE) and the <a href="http://en.wikipedia.org/wiki/Mean_absolute_percentage_error">Mean Absolute Percentage Error</a> (MAPE). As a general guideline, we suggest to <a href="http://www.youtube.com/watch?v=j3c2NETWk2Y">stick with the MAE</a> as the MAPE behaves very poorly whenever time-series are not smooth, that is, all the time, as far retailers are concerned. However, there are situations where MAE too behaves poorly. <strong>Low sales volumes</strong> fall in those situations.</p>

<p>Let's review the illustration here above. We have an item sold over 3 days. The number of unit sold over the first two days is zero. On the third day, one unit get sold. Let's assume that the demand is, in fact, of exactly 1 unit every 3 days. Technically speaking, it's a <a href="http://en.wikipedia.org/wiki/Poisson_distribution">Poisson distribution</a> with &lambda;=1/3.</p>

<p>In the following, we compare two forecasting models:</p>

<ul>
<li>a flat model <em>M</em> at 1/3 every day (the <em>mean</em>).</li>
<li>a flat model <em>Z</em> at <strong>zero</strong> every day.</li>
</ul>

<p>As far inventory optmization is concerned, the model zero (Z) is <strong>downright harmfull</strong>. Assuming that <a href="http://www.lokad.com/calculate-safety-stocks-with-sales-forecasting.ashx">safety stock analysis</a> will be used to compute a reorder point, a zero forecast is very likely to produce a reorder point at zero too, causing <strong>frequent stockouts</strong>. An accuracy metric that would favor the model zero over more <em>reasonable</em> forecasts would be behaving rather poorly.</p>

<p>Let's review our two models against the MAPE (*) and the MAE.</p>

<ul>
<li><em>M</em> has a MAPE of 44%.</li>
<li><em>Z</em> has a MAPE of 33%.</li>
<li><em>M</em> has a MAE of 0.44.</li>
<li><em>Z</em> has a MAE of 0.33.</li>
</ul>

<p>(*) The classic definition of MAPE involves a division by zero when the actual value is zero. We assume here that the actual value is replaced by 1 when at zero. Alternatively, we could also have divided by the forecast (instead of the actual value), or use the <a href="http://en.wikipedia.org/wiki/SMAPE">sMAPE</a>. Those changes make no difference: the conclusion of the discussion remains the same.</p>

<p>In conclusion, here, <strong>according to both the MAPE and the MAE, model zero prevails</strong>. </p>

<p>However, one might argue that this is simplistic situation, and it does not reflect the complexity of a real store. <strong>This is not entirely true</strong>. We have performed <strong>benchmarks over dozens of retail stores</strong>, and usually the winning model (according to MAE or MAPE) is the <strong>model zero</strong> - the model that returns always zero. Futhermore, this model typically <em>wins</em> by a <strong>comfortable margin</strong> over all the other models. </p>

<p>In practice, <strong>at store level, relying either on MAE or MAPE</strong> to evaluate the quality of forecasting models is <strong>asking for trouble</strong>: the metric favors models that return zeroes; the more zeroes, the better. This conclusion holds for about every single store we have analyzed so far (minus the few high volume items that do not suffer this problem).</p>

<p>Readers who are familar with accuracy metrics might propose to go instead for the <a href="http://en.wikipedia.org/wiki/Mean_squared_error">Mean Square Error</a> (MSE) which will not favor the model zero. This is true, however, MSE when applied to erratic data - and sales are store level <em>are erratic</em> - is not numerically stable. In practice, any <a href="http://en.wikipedia.org/wiki/Outlier">outlier</a> in the sales history will vastly skew the final results. This sort of problem is THE reason why statisticians have been working so hard on <a href="http://en.wikipedia.org/wiki/Robust_statistics">Robust statistics</a> in the first place. No free lunch here.</p>

<h3>How to assess store level forecasts then?</h3>

<p>It took us <strong>a long, long time, to figure out a satifying solution</strong> to the problem of quantifying the accuracy of the forecasts at the store level. Back in 2011 and before, we were essentially cheating. Instead of looking at daily data points, when the sales data was too sparse, we were typically switching to weekly aggregates (or even to monthly aggregates for extremely sparse data). By switching to longer aggregation periods, we were artificially increasing sales volumes <em>per period</em>, hence making the MAE usable again.</p>

<p>The breakthrough came only a <a href="http://blog.lokad.com/journal/2012/3/12/quantiles-inventory-optimization-20.html">few months ago</a> through quantiles. In essence, the enlightenment was: <strong>forget the forecasts, only reorder points matter</strong>. By trying to optimize our <em>classic</em> forecasts against metrics X, Y or Z, we were trying to <strong>solve the wrong problem</strong>.</p>

<p><em>Wait! Since <a href="http://www.lokad.com/reorder-point-definition.ashx">reorder points</a> are computed based on the forecasts, how could you say forecasts are irrelevant?</em></p>

<p>We are not saying that forecasts and forecast accuracy are irrelevant. However, we are stating that only the <strong>accuracy of the reorder points themselves</strong> matter. The forecast, or whatever other variable is used to compute reorder points, cannot be evaluated on its own. Only accuracy of the reorder points need and should be evaluated.</p>

<p>It turns out that <strong>a metric to assess reorder points exists</strong>: it's the <a href="http://www.lokad.com/pinball-loss-function-definition.ashx">pinball loss function</a>, a function that has been known by statisticians for decades. Pinball loss is vastly superior not because of its mathematical properties, but simply because <strong>it fits the inventory tradeoff</strong>: too much stocks vs too much stockouts.</p>
]]></description><wfw:commentRss>http://blog.lokad.com/journal/rss-comments-entry-16172667.xml</wfw:commentRss></item><item><title>Video: Quantile Forecasts - Part 2</title><category>docs</category><category>insights</category><category>insights</category><category>quantiles</category><category>video</category><category>video</category><dc:creator>Joannes Vermorel</dc:creator><pubDate>Wed, 02 May 2012 05:00:42 +0000</pubDate><link>http://blog.lokad.com/journal/2012/5/2/video-quantile-forecasts-part-2.html</link><guid isPermaLink="false">106266:941347:16061733</guid><description><![CDATA[<p>Last week, we published the <a href="http://blog.lokad.com/journal/2012/4/25/video-quantile-forecasts-part-1.html">Quantile Forecasts - Part 1</a> video; here comes the Part 2. In the previous video, we discussed what quantiles were about. In short, it's a new way to look at the inventory optimization mechanism itself.</p>

<p>In Part 2, we provide some non-technical insights why quantile forecasts outperforms classic ones in three usual situations.</p>

<p>Video summary (7min46):</p>
<ul>
<li>High service levels</li>
<li>Intermittent demand</li>
<li>Spiky demand</li>
</ul>

<p>Don't hesitate to post questions in comments.</p>

<iframe width="640" height="390" src="http://www.youtube.com/embed/FBrvYAxBo4w?rel=0&amp;hd=1&amp;modestbranding=1" frameborder="0" allowfullscreen></iframe>]]></description><wfw:commentRss>http://blog.lokad.com/journal/rss-comments-entry-16061733.xml</wfw:commentRss></item><item><title>Video: Quantile Forecasts - Part 1</title><category>insights</category><category>quantiles</category><category>video</category><category>video</category><dc:creator>Joannes Vermorel</dc:creator><pubDate>Wed, 25 Apr 2012 09:24:25 +0000</pubDate><link>http://blog.lokad.com/journal/2012/4/25/video-quantile-forecasts-part-1.html</link><guid isPermaLink="false">106266:941347:15987485</guid><description><![CDATA[<p>Quantile forecasts offer a <a href="http://blog.lokad.com/journal/2012/3/12/quantiles-inventory-optimization-20.html">radically new</a> and better way to compute optimal reorder points. Here is our first video about this little supply chain breakthrough.</p>

<p>Video summary (6min25):</p>
<ul>
<li>What are quantiles?</li>
<li>How do quantiles work?</li>
<li>What are the advantages of quantiles?</li>
</ul>

<p><i>Stay tuned for more.</i></p>

<iframe width="640" height="390" src="http://www.youtube.com/embed/MqbzQDelvE4?rel=0&amp;hd=1&amp;modestbranding=1" frameborder="0" allowfullscreen></iframe>]]></description><wfw:commentRss>http://blog.lokad.com/journal/rss-comments-entry-15987485.xml</wfw:commentRss></item><item><title>Out-of-shelf trilemma</title><category>insights</category><category>insights</category><category>on shelf availability</category><category>oos</category><category>out-of-shelf</category><category>retail</category><category>retail</category><dc:creator>Joannes Vermorel</dc:creator><pubDate>Sat, 14 Apr 2012 09:05:49 +0000</pubDate><link>http://blog.lokad.com/journal/2012/4/14/out-of-shelf-trilemma.html</link><guid isPermaLink="false">106266:941347:15836867</guid><description><![CDATA[<p><img style="float: left;" src="http://blog.lokad.com/storage/Icon-Shelfcheck-160x140.png" alt="Shopping Cart logo" /> Most people are familiar with the notion of dilemma when two possibilities are offered neither of which being acceptable. <a href="http://www.lokad.com/calculate-safety-stocks-with-sales-forecasting.ashx">Safety stock analysis</a>&nbsp;is a classical mathematical dilemma: you can&nbsp;<strong>choose between more stocks or more stockouts</strong>, yet both of them generate extra costs.</p>
<p>However, it exists situations where the trade-off is more complex in the sense there are more than 2 unfavorable options to balance. When there are <strong>3 unfavorable options</strong>&nbsp;to be balanced, the situation is called a <a href="http://en.wikipedia.org/wiki/Trilemma">trilemma</a>.</p>
<p>Out-of-shelf (OOS) monitoring,&nbsp;<a href="http://www.lokad.com/shelfcheck-on-shelf-availability-optimization.ashx">ala Shelfcheck</a>, is facing a trilemma when it comes to the <em>quality</em>&nbsp;of the alerts being delivered:</p>
<ul>
<li><strong>Sensibility</strong>, the percentage of OOS problems being captured.</li>
<li><strong>Precision</strong>, the percentage of true alerts within all OOS alerts.</li>
<li><strong>Latency</strong>, the delay between then start of the OOS problem and the alert.</li>
</ul>
<p><strong>Pick any two</strong>, but you can't have them all. In fact, for any given demand forecasting accuracy, improving any of those 3 metrics come at the expense of the 2 other metrics.</p>]]></description><wfw:commentRss>http://blog.lokad.com/journal/rss-comments-entry-15836867.xml</wfw:commentRss></item><item><title>Quantiles = Inventory Optimization 2.0</title><category>accuracy</category><category>forecasting</category><category>quantiles</category><category>release</category><category>subscriptions</category><category>web services</category><dc:creator>Joannes Vermorel</dc:creator><pubDate>Mon, 12 Mar 2012 08:00:35 +0000</pubDate><link>http://blog.lokad.com/journal/2012/3/12/quantiles-inventory-optimization-20.html</link><guid isPermaLink="false">106266:941347:15386892</guid><description><![CDATA[<p><img src="http://blog.lokad.com/storage/tau-logo.png" alt="Quantile Logo" style="float:left; margin-right:20px" /> Getting more accurate forecasts, that <a href="http://www.lokad.com/accuracy-gains-(inventory).ashx">turn into profits</a>, is the No1 priority for Lokad. However, demand forecasting has been extensively researched for more than a half a century, and each <strong>0.1% of extra accuracy</strong> is typically nothing less than a <strong>uphill battle</strong>.</p>

<p><em>Sometimes though, we make a breakthrough.</em> Today, we are announcing the most significant <strong>technology upgrade</strong> of Lokad since its launch <a href="http://blog.lokad.com/journal/2006/11/28/lokad-gets-live.html">6 years ago</a>: the immediate availability of <strong><a href="http://www.lokad.com/quantile-forecasting-technology.ashx">quantile forecasts</a></strong>.</p>

<p>Quantiles are <strong>disruptive</strong> in the sense that in many situations they make classic forecasts <strong>plain obsolete</strong> as far inventory optimization is concerned - for retail, wholesale and manufacturing businesses.</p>

<p>We have identified 3 situations where quantiles really shine:</p>

<ul>
<li>High <a href="http://www.lokad.com/service-level-definition-and-formula.ashx">service levels</a> at 90% and above.</li>
<li>Intermittent demand (slow mover's).</li>
<li>Bulk orders (spiky demand).</li>
</ul>

<p>In those situations, benchmarks against our own classic forecasting technology indicate that quantile forecasts typically bring either <strong>20% less inventory or 20% less stockouts</strong>.</p>

<blockquote>
  <p>Extraordinary claims require extraordinary evidence. <em>Carl Sagan</em></p>
</blockquote>

<p>However, the many benchmarks that we have made so far with our prospects and clients indicate that our <em>classic</em> forecasting technology is already ahead of the competition; but with quantile forecasts, it's whole new level of inventory optimization that can be achieved. </p>

<p>Don't hesitate to <a href="http://app.lokad.com/register">put quantiles to the test</a>.</p>

<h3>The story behind the quantile upgrade</h3>

<p>Quantile forecasting (also called <a href="http://www.lokad.com/quantile-regression-(time-series)-definition.ashx">quantile regression</a>) has been around for decades among academic circles. Then, in finance, analysts have been extensively using quantiles for <a href="http://en.wikipedia.org/wiki/Value_at_risk">Value at Risk</a> (VaR) analysis since the late 1980s. </p>

<p>At Lokad, quantiles have been around for a long time as well. For example, back in 2009, <a href="http://www.lsta.upmc.fr/BIAU/bp.pdf">Sequential Quantile Prediction of Time Series</a>. <em>IEEE Transactions on Information Theory, March 2011, vol. 57, n°3</em> has been published by one of us. However, until very recently, quantiles were <strong>very mistakenly</strong> considered a mathematical distraction (business-wise) rather than a <strong>mission critical</strong> concept. </p>

<p>What did hold us back was not lacking insights in statistics, but lacking insights in the profound relationship between <a href="http://www.lokad.com/reorder-point-definition.ashx">quantiles and inventory optimization</a>. This insight was triggered, mostly out of dumb luck, when a client did ask us to figure out a formula to compute <a href="http://www.lokad.com/service-level-definition-and-formula.ashx">optimal service levels</a> for her inventory.</p>

<h3>A breakthrough yes, but a late one</h3>

<p>This quantile breakthrough is only very <em>relative</em> in the sense that quantiles have been already applied successfully for decades in other trades. However, there is one aspect that partially explains this late arrival: quantile models typically require about <strong>10x more processing power</strong> compared to classic forecasting models. Without <a href="http://www.lokad.com/forecasting-technology.ashx">cloud computing</a>, we would not have been able to put quantiles in production, while preserving an aggressive <a href="http://www.lokad.com/pricing.ashx">pricing</a>.</p>
]]></description><wfw:commentRss>http://blog.lokad.com/journal/rss-comments-entry-15386892.xml</wfw:commentRss></item><item><title>How much do you get for 1% extra accuracy?</title><category>accuracy</category><category>business</category><category>forecasting</category><category>insights</category><category>insights</category><category>inventory</category><category>supply chain</category><dc:creator>Joannes Vermorel</dc:creator><pubDate>Mon, 20 Feb 2012 17:03:57 +0000</pubDate><link>http://blog.lokad.com/journal/2012/2/20/how-much-do-you-get-for-1-extra-accuracy.html</link><guid isPermaLink="false">106266:941347:15114498</guid><description><![CDATA[<script type="text/x-mathjax-config">
  MathJax.Hub.Config({tex2jax: {inlineMath: [['$','$'], ['\\(','\\)']]}});
</script>

<script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>

<p><p><span class="full-image-float-left ssNonEditable"><span><img src="http://blog.lokad.com/storage/cristal-ball.jpg"></span></span></p>

<p>One of the problems that comes with being specialists of a subject is that you tend to take for granted what is obscure for anyone but your peers. At Lokad, despite our best efforts, we are no exception, especially when it comes to forecasting...</p>

<p>Recently, we realized that we had never provided any in-depth <strong>quantitative assessment of the financial gains generated by an increase of the forecasting accuracy</strong>, which is about the <em>raison d'être</em> for the company. Furthermore, after investigating the web, we realized that other forecasting vendors (<a href="http://www.lokad.com/forecasting-software-competition.ashx">competitors</a>) were rather fuzzy too about the financial rewards that could be achieved through better forecasts.</p>

<p>However, it's not <em>that</em> complicated. With the following variables:</p>

<ul>
<li>$D$ the turnover (total annual sales).</li>
<li>$m$ the gross margin.</li>
<li>$\alpha$ the <em>cost of stockout to gross margin</em> ratio.</li>
<li>$p$ the service level achieved with the current error level (and current stock level).</li>
<li>$\sigma$ the forecast error of the system in place, expressed in MAPE (mean absolute percentage error).</li>
<li>$\sigma_n$ the forecast error of the new system being benchmarked (hopefully lower than $\sigma$).</li>
</ul>

<p>The <strong>yearly benefit $B$ of going for the new forecasting system</strong> is given by:</p>

<p>$$B = D (1 - p) m \alpha \frac{\sigma - \sigma_n}{\sigma}$$</p>

<p>For the proof of this result, check the <a href="http://www.lokad.com/accuracy-gains-(inventory).ashx">full length article</a>.</p>
]]></description><wfw:commentRss>http://blog.lokad.com/journal/rss-comments-entry-15114498.xml</wfw:commentRss></item><item><title>Optimal service level and order quantity</title><category>docs</category><category>supply chain</category><category>technical</category><dc:creator>Joannes Vermorel</dc:creator><pubDate>Wed, 25 Jan 2012 10:47:30 +0000</pubDate><link>http://blog.lokad.com/journal/2012/1/25/optimal-service-level-and-order-quantity.html</link><guid isPermaLink="false">106266:941347:14724031</guid><description><![CDATA[<p><span class="full-image-float-left ssNonEditable"><span><img src="http://blog.lokad.com/storage/lssc-v1-icon-131x114.png?__SQUARESPACE_CACHEVERSION=1327487993902" alt="" /></span></span>In the inventory optimization literature, one of the most recurring concepts is the <strong>service level</strong>, i.e. the desired probability of not hitting a stock-out situation. The service level expresses the tradeoff between <em>too much inventory </em>and <em>too many stock-outs<strong>.&nbsp;</strong></em>However, <strong>experts remain typically vague when it comes to choose service level values</strong>; a pattern also followed by most inventory software products...</p>
<p>That's why we have spent a bit of time to craft a formula that gives&nbsp;<a href="http://www.lokad.com/service-level-definition-and-formula.ashx">optimal service levels</a>. Naturally, the <em>optimality</em>&nbsp;is not obtained without assumptions. However, we believe those are reasonable enough to preserve the efficiency of the formula for most businesses.</p>
<p>Then, another subject, that receives too little attention, is the <strong>optimal order quantity</strong>: the quantity to be ordered in order to minimize the combination of purchase costs, carrying costs, shipping costs, etc. As of January 2012, it's fascinating to notice that <strong>most of the industry still relies on the Wilson formula</strong> <a href="http://en.wikipedia.org/wiki/Economic_order_quantity">devised back in 1913</a>. Yet, this formula comes with strong assumptions that do not make much sense any more for the supply chain of the 21st century.</p>
<p>Thus, we have designed another <a href="http://www.lokad.com/economic-order-quantity-eoq-definition-and-formula.ashx">economic order quantity<em> </em>formula</a> that emphasizes <strong>volume discounts</strong>&nbsp;(instead of a flat ordering cost) for larger purchases. The formula (or rather the approach) is fairly general, and could be applied to any pricing structure, including non-linear situations where specific quantities are <em>favored</em>&nbsp;because they matche the size of a crate or a pallet.</p>
<p><em>Both situations are illustrated with Excel sheets (so you don't even need Lokad to get started).</em></p>]]></description><wfw:commentRss>http://blog.lokad.com/journal/rss-comments-entry-14724031.xml</wfw:commentRss></item><item><title>Big data in retail, a reality check</title><category>bigdata</category><category>business</category><category>insights</category><category>insights</category><category>market</category><category>retail</category><dc:creator>Joannes Vermorel</dc:creator><pubDate>Tue, 03 Jan 2012 10:12:58 +0000</pubDate><link>http://blog.lokad.com/journal/2012/1/3/big-data-in-retail-a-reality-check.html</link><guid isPermaLink="false">106266:941347:14419897</guid><description><![CDATA[<p><span class="full-image-float-right ssNonEditable"><span><img src="http://blog.lokad.com/storage/shopping-basket.png?__SQUARESPACE_CACHEVERSION=1325585801668" alt="" /></span></span>Cloud computing being so 2011, <strong>big data</strong> is going to be a <strong>key IT buzzword for 2012</strong>. Yet, as far we understand our retail clients, there is one data source that holds above 90% of total information value in their possession: <strong>market basket data</strong> (tagged with fidelity card information when available).</p>
<p>For any mid-large retail network, the <em>informational</em>&nbsp;value of market basket data simply dwarfs about all other alternative data sources, may it be:</p>
<ul>
<li><strong>In-store video data</strong>, which remain difficult to process, and primarily focused on security.</li>
<li><strong>Social media data</strong>, which are very noisy and reflect as much <a href="http://www.cs.wm.edu/~srgian/paper/acsac10.pdf">bot implementations</a>&nbsp;than human behaviors.</li>
<li><strong>Market analyst&rsquo;s reports</strong>, which require the scarcest resource of all: management attention.</li>
</ul>
<p>Yet, beside basic sales projections (aka sales per product, per store, per region, per week &hellip;), we observe that, as of January 2012, most retailers are <strong>doing very little out of their market basket data</strong>. Even forecasting for inventory optimization is typically nothing more than a moving average variant at the store level. More elaborate methods are used fore warehouses, but then, retailers are not leveraging basket data anymore, but past warehouse shipments.</p>
<p>Big Data vendors promise to bring an unprecedented level of data processing power to their clients to let them harness all the potential of their big data.<em> Yet, is this going to bring profitable changes to retailers?</em> Not necessarily so.</p>
<p>The <strong>storage capacity sitting <em>on display</em> on the shelves of an average hypermarket</strong> with +20 external drives in display (assuming 500GB per drive) typically <strong>exceeds the raw storage needed to persist a whole 3 years of history of a 1000 stores network</strong> (i.e. 10TB of market basket data). Hence, raw data storage is not a problem, or, at least, not an expensive problem. Then, data I/O (input/output) is a more challenging matter, but again, by choosing an adequate data representation (the details would go beyond the scope of this post), it&rsquo;s hardly a challenge as of 2012.</p>
<p>We observe that <strong>the biggest challenge posed by Big Data is simply manpower requirements</strong> to do anything <em>operational</em>&nbsp;with it. Indeed, the data is primarily big in the sense that the company resources, to run the Big Data software and to implement whatever suggestions come out of it, are thin.</p>
<p><em>Producing a wall of metrics out of market basket data is easy; but it&rsquo;s is much harder to build a set of metrics worth the time being read considering the hourly costs of employees.</em></p>
<p>As far we understand our retail clients, the <em>manpower</em> constraint alone explains why so little is being been done with market basket data on an ongoing basis: while CPU has never been to cheap, staffing has never been so expensive.</p>
<p>Thus, we believe that <strong>Big Data successes in retail will be encountered by lean solutions that treat, not processing power, but people, as the scarcest resource of all.</strong></p>]]></description><wfw:commentRss>http://blog.lokad.com/journal/rss-comments-entry-14419897.xml</wfw:commentRss></item><item><title>Roadmap for 2012</title><category>business</category><category>community</category><category>insights</category><category>roadmap</category><dc:creator>Joannes Vermorel</dc:creator><pubDate>Tue, 29 Nov 2011 10:00:59 +0000</pubDate><link>http://blog.lokad.com/journal/2011/11/29/roadmap-for-2012.html</link><guid isPermaLink="false">106266:941347:13901324</guid><description><![CDATA[<p><span class="full-image-float-left ssNonEditable"><span><img src="http://blog.lokad.com/storage/compass.jpg?__SQUARESPACE_CACHEVERSION=1322559695148" alt="" /></span></span>For the third year (see the <a href="http://blog.lokad.com/journal/2011/1/13/roadmap-for-2011.html">2011</a> and <a href="http://blog.lokad.com/journal/2009/10/28/roadmap-for-2010.html ">2010</a> editions), we will share some insights about the future developments of Lokad.</p>
<h3>Forecasting Technology</h3>
<p>Since the very beginning, <strong>forecasting accuracy</strong> has been the foremost priority of Lokad. Over 2011, we have extensively leveraged Windows Azure (our cloud computing platform) to develop forecasting models that would have been completely out of reach without the capabilities of the cloud.</p>
<p>We have made <strong>progress over patterns as simple as seasonality, trends or product life cycles</strong>. Those patterns are supposed to be well-known for decades, but the more we learn by looking at the data of our growing customer base, the more we realize that we are only scratching the surface.</p>
<p>In 2012, we are planning to dedicate efforts on <strong>forecasts at the point-of-sale level</strong> for both retail networks and eCommerce. This effort will boost the development of <a href="http://www.lokad.com/shelfcheck-on-shelf-availability-optimization.ashx">Shelfcheck</a>.</p>
<p>Then, we will also explore alternative ways to make <strong>a better use of <a href="http://www.lokad.com/guide-for-tags-and-events.ashx">tags and events</a></strong>. More and more of our clients are now capable of feeding our forecasting engine with high-quality tags and events, which offer more opportunities to refine forecasts.</p>
<h3>Pricing</h3>
<p>The Lokad pricing for forecast consumption hasn&rsquo;t changed since November 2009, and we don&rsquo;t expect any significant change for 2012 apart from minor adjustments. However Shelfcheck will benefit from a distinct pricing, not directly bound to the forecast consumption.</p>
<h3>Salescast</h3>
<p>Over 2011, our webapp delivering inventory optimization <a href="http://blog.lokad.com/journal/2011/8/18/major-ui-refresh-for-salescast.html">has grown</a> to a relatively <strong>mature and stable product</strong>. Contrary to what we announced last year, we have finally opted against the idea of importing <a href="http://www.lokad.com/salescast-excel-as-data-repository-will-hurt-your-company.ashx">data <em>from</em> Excel</a> &nbsp;Instead, the majority of our users are now using our <a href="http://www.lokad.com/salescast-db-schema.ashx">intermediate SQL format</a> which offers a simple and reliable path to achieve complete automation with a minimum of efforts.</p>
<p>For the year to come, we will <strong>polish Salescast further</strong>, especially around the intermediate SQL format. Indeed, we feel that database administrators still struggle too much to import their data in Salescast.&nbsp;For example, we will provide better and more explicit errors messages.</p>
<h3>Shelfcheck</h3>
<p>Shelfcheck is our latest product, only announced <a href="http://blog.lokad.com/journal/2011/6/19/shelfcheck-on-shelf-availability-optimizer-announced.html">a few months ago</a>&nbsp;, that focuses on <strong>on-shelf availability optimization</strong> for retail networks.</p>
<p>At this point, a beta version of Shelfcheck is already in production on multiple stores in Europe. We plan to bring Shelfcheck <strong>out of its beta during 2012</strong>. Processing the ongoing sales stream of a large retail network at low costs is a tremendous challenge (even with the cloud). In addition, we want to establish Shelfcheck as the technology delivering the <a href="http://blog.lokad.com/journal/2011/8/2/two-kpis-for-your-oos-detector.html">most accurate OOS alerts</a> (out-of-shelf) of the market.</p>
<h3>Hub</h3>
<p>The &ldquo;Hub&rdquo; is the webapp in charge of managing <a href="http://app.lokad.com/">registrations and subscriptions</a>. Over 2011, we haven&rsquo;t invested much effort on this webapp, and now, it feels somewhat <em>antiquated</em>, especially when compared to the more polished user interface of Salescast. Thus, in 2012, we plan to extensively refactor the Hub to simplify the management of users and subscriptions.</p>
<p><em>This roadmap isn't carved in stone. Don't hesitate to voice your opinion.</em></p>]]></description><wfw:commentRss>http://blog.lokad.com/journal/rss-comments-entry-13901324.xml</wfw:commentRss></item><item><title>Out-of-shelf can explain 1/4 of store forecast error</title><category>insights</category><category>insights</category><category>on shelf availability</category><category>oos</category><category>osa</category><category>retail</category><dc:creator>Joannes Vermorel</dc:creator><pubDate>Thu, 20 Oct 2011 07:00:37 +0000</pubDate><link>http://blog.lokad.com/journal/2011/10/20/out-of-shelf-can-explain-14-of-store-forecast-error.html</link><guid isPermaLink="false">106266:941347:13310982</guid><description><![CDATA[<p>The notion of <a href="http://blog.lokad.com/journal/2011/9/7/video-accuracy-in-sales-forecasting.html">forecasting accuracy</a>&nbsp;is subtle, <a href="http://blog.lokad.com/journal/2009/4/22/overfitting-when-accuracy-measure-goes-wrong.html"><em>really</em> subtle</a>. It's common sense to say that if <em>the closer the forecasts from the future, the better</em><strong>, </strong>and yet common-sense can be <strong>plain wrong</strong>.</p>
<p>With the launch of <a href="http://www.lokad.com/shelfcheck-on-shelf-availability-optimization.ashx">Shelfcheck</a>, our on-shelf availability optimizer, we have started to <strong>process a lot more data at the point of sales level</strong>, trying to automatically detect out-of-shelf (OOS) issues.Over the last few months, our <strong>knowledge about OOS pattern has significantly improved</strong>, and today this knowledge is being recycled into our core forecasting technology.</p>
<p>Let's illustrate the situation. The graph below represents the daily aggregated sales at the store level for a given product. The store is open 7/7. A seven-day forecast is produced at the end of the week 2, but an OOS occurs in the middle of the week 3. Days marked with black dots have <em>zero</em>&nbsp;sales.</p>
<p><span class="full-image-block ssNonEditable"><span><img src="http://blog.lokad.com/storage/oos-impact-on-accuracy.png?__SQUARESPACE_CACHEVERSION=1318869909775" alt="" /></span></span></p>
<p>In this situation, the forecast is fairly accurate, but because of the OOS problem, the direct comparison of <em>sales</em>&nbsp;<em>vs forecasts</em>&nbsp;look like as if the forecast was significantly overforecasting the sales, which is not the case, at least not on the non-OOS days. The overforecast measurement is an <em>artifact</em>&nbsp;caused by the OOS itself.</p>
<p>So far, it seems that OOS can only degrade the <em>perceived</em>&nbsp;forecasting accuracy, which it does not seem too bad because <em>presumably</em>&nbsp;all forecasting methods should be equally impacted. After all, not forecasting model is able to anticipate the OOS problem.</p>
<p><strong>Well, OOS can do a lot worse that just degrade the forecasting accuracy, OOS can also <em>improve</em> it.</strong></p>
<p>Let have a look at the graph to illustrate this. Again, we are looking at daily sales data, but this time the OOS problem starts on the very last day of week 2.</p>
<p><span class="full-image-block ssNonEditable"><span><img src="http://blog.lokad.com/storage/oos-impact-on-accuracy-overfit.png?__SQUARESPACE_CACHEVERSION=1318957331949" alt="" /></span></span></p>
<p>The <strong>forecast for the week 3 is zero the whole week</strong>. The forecasting model is <em>anticipating the duration of the OOS</em>. The forecast is not entirely accurate because on the last day of week 3, replenishment is made and sales are non-zero again.</p>
<p>Obviously, a forecasting model that anticipates the duration of the OOS issue is extremely accurate as far the numerical comparison <em>sales vs forecasts</em>&nbsp;is concerned. Yet, <strong>does it really make sense?</strong>&nbsp;No, obviously it does not. We want to forecast the <em>demand</em>&nbsp;not sales <em>artifacts</em>.&nbsp;Worse, a zero forecast can lead to a zero replenishment which, in turn, extend the actual duration of the OOS issue (and increase further the <em>accuracy</em>&nbsp;of our OOS-enthusiast forecasting model). This is obviously not a desirable situation, no matter how good the forecast happens to be&nbsp;from a naive numerical viewpoint.</p>
<p><strong>Bad case of <em>OOS overfitting</em></strong></p>
<p>We have found that the situation illustrated by the 2nd graphic is <strong>far from being </strong><em style="font-weight: bold;">unusual</em>. Indeed, with 8% on-shelf unavailability (a typical figure in retail) and a rough 30% MAPE on daily forecasts, OOS situations typically account for 8% x 100 / 30 &asymp;&nbsp;27% &asymp;&nbsp;<strong>1/4 of the total forecast error being measured</strong>. Indeed, by definition of MAPE, a non-zero forecast on zero-sale day (OOS) generates a 100% error.</p>
<p>Because the fraction of the error caused by OOS is significant, we have found that a simple heuristic such as "<em>if last day has zero sales on a top seller product, then forecast zero sales for 7 days"</em>&nbsp;may reduce the forecast error from a few percents by directly leveraging the OOS pattern. Obviously, very few practitioners would explicitly put such a rule among their forecasting models, but even a moderately complex linear autoregressive model may <em>learn</em>&nbsp;this pattern to a significant extend, and thus overfit OOS.</p>
<p>Naturally, <a href="http://www.lokad.com/shelfcheck-on-shelf-availability-optimization.ashx">Shelfcheck</a> is here to help on those OOS matters. <em>Stay tuned</em>.</p>]]></description><wfw:commentRss>http://blog.lokad.com/journal/rss-comments-entry-13310982.xml</wfw:commentRss></item><item><title>Video: introduction to Salescast</title><category>salescast</category><category>video</category><category>video</category><dc:creator>Joannes Vermorel</dc:creator><pubDate>Mon, 26 Sep 2011 10:00:43 +0000</pubDate><link>http://blog.lokad.com/journal/2011/9/26/video-introduction-to-salescast.html</link><guid isPermaLink="false">106266:941347:12815113</guid><description><![CDATA[<p>Since Salescast now benefits from an <a href="http://blog.lokad.com/journal/2011/8/18/major-ui-refresh-for-salescast.html">extensively improved user interface</a>, we have decided to produce a new video introduction as well.</p>
<p><iframe width="640" height="390" src="http://www.youtube.com/embed/-zMDT18Ep_w?rel=0&amp;hd=1&amp;modestbranding=1" frameborder="0" allowfullscreen></iframe></p>
<p><em>Again, special thanks to Ray Groover for the voice over.</em></p>]]></description><wfw:commentRss>http://blog.lokad.com/journal/rss-comments-entry-12815113.xml</wfw:commentRss></item><item><title>Seasonality illustrated</title><category>forecasting</category><category>forecasting</category><category>insights</category><category>insights</category><dc:creator>Joannes Vermorel</dc:creator><pubDate>Mon, 19 Sep 2011 10:00:41 +0000</pubDate><link>http://blog.lokad.com/journal/2011/9/19/seasonality-illustrated.html</link><guid isPermaLink="false">106266:941347:12814220</guid><description><![CDATA[<p>Seasonality is one of the <strong>strongest statistical pattern</strong> that can be leveraged to refine forecasts. Below, 4 time-series aggregated at the weekly level (159 weeks). Historical data are in red and forecasts are in purple. Vertical gray markers indicate January 1st.</p>
<p><span class="full-image-block ssNonEditable"><span><img src="http://www.lokad.com/GetFile.aspx?File=/Support/Glossary/seasonality-small.png&amp;__SQUARESPACE_CACHEVERSION=1315822588899" alt="" /></span></span></p>
<p>When illustrating seasonality, everyone (Lokad's included) tend to use <strong>long time-series</strong>, much like the first three series here above. Indeed, it's more <em>visual</em> and more <em>appealing</em>.</p>
<p>However, long time-series do not represent your&nbsp;<em>usual</em>&nbsp;situation. On average consumer goods have a lifespan of no more than 3 or 4 years. Thus, long time-series are typically a small minority in your dataset. Worse, those long time-series might be <em>outliers</em>&nbsp;that do not reflect the behavior of other <em>shorter-lived</em> products.</p>
<p>Here above, the&nbsp;<strong>short 4th time-series</strong>&nbsp;is a&nbsp;<strong>much more representative case</strong>&nbsp;with less than 1 year of data. In such a situation, however, it's much less clear how seasonality can be leveraged. The Lokad trick to do that consists of using multiple time-series analysis.</p>
<p>Learn more on our <a href="http://www.lokad.com/definition-seasonality.ashx">seasonality definition</a> article.</p>]]></description><wfw:commentRss>http://blog.lokad.com/journal/rss-comments-entry-12814220.xml</wfw:commentRss></item><item><title>Video: How the Forecasting Engine works?</title><category>forecasting</category><category>insights</category><category>video</category><category>video</category><dc:creator>Joannes Vermorel</dc:creator><pubDate>Tue, 13 Sep 2011 07:00:08 +0000</pubDate><link>http://blog.lokad.com/journal/2011/9/13/video-how-the-forecasting-engine-works.html</link><guid isPermaLink="false">106266:941347:12786011</guid><description><![CDATA[<p>Questions about <em>under the hood</em>&nbsp;details of Lokad are <a href="http://blog.lokad.com/journal/2009/7/7/favorite-forecasting-models.html">frequent</a>. We have recently added a big <a href="http://www.lokad.com/forecasting-technology-faq.ashx">FAQ</a> to our <em>Forecasting Technology</em>&nbsp;section. Today, we are releasing a new video that give the <strong>big picture on how our forecasting engine is working</strong>.</p>
<p><iframe width="640" height="385" src="http://www.youtube.com/embed/WIZBVu0vH9Y?modestbranding=1&hd=1" frameborder="0" allowfullscreen></iframe></p>
<p>Again, special thanks to Ray Grover for the voice over.</p>]]></description><wfw:commentRss>http://blog.lokad.com/journal/rss-comments-entry-12786011.xml</wfw:commentRss></item></channel></rss>
