# Demand forecasting

Demand forecasting is a field of predictive analytics which tries to understand and predict customer demand to optimize supply decisions by corporate supply chain and business management. Demand forecasting methods are divided in two major categories, qualitative and quantitative methods. Qualitative methods are based on expert opinion and information gathered from the field, while quantitative methods use data, and especially historical sales data, as well as statistical techniques from test markets. Demand forecasting may be used in production planning, inventory management, and at times in assessing future capacity requirements, or in making decisions on whether to enter a new market.

## Methods

### Qualitative assessment

Forecasting demand based on expert opinion. Some of the types in this method are,

### Others are as follows

1. Time series projection methods
2. Causal methods

## Calculating demand forecast accuracy

Calculating demand forecast accuracy is the process of determining the accuracy of forecasts made regarding customer demand for a product. Understanding and predicting customer demand is vital to manufacturers and distributors to avoid stock-outs and maintain adequate inventory levels. While forecasts are never perfect, they are necessary to prepare for actual demand. In order to maintain an optimized inventory and effective supply chain, accurate demand forecasts are imperative.

### Calculating the accuracy of supply chain forecasts

Forecast accuracy in the supply chain is typically measured using the Mean Absolute Percent Error or MAPE. Statistically MAPE is defined as the average of percentage errors.

Most practitioners, however, define and use the MAPE as the Mean Absolute Deviation divided by Average Sales, which is just a volume weighted MAPE, also referred to as the MAD/Mean ratio. This is the same as dividing the sum of the absolute deviations by the total sales of all products. This calculation ${\frac {\sum {|A-F|}}{\sum {A}}}$ , where A is the actual value and F the forecast, is also known as WAPE, Weighted Absolute Percent Error.

Another interesting option is the weighted ${\text{MAPE}}={\frac {\sum (w\cdot |A-F|)}{\sum (w\cdot A)}}$ . The advantage of this measure is that could weight errors, so you can define how to weight for your relevant business, ex gross profit or ABC. The only problem is that for seasonal products you will create an undefined result when sales = 0 and that is not symmetrical, that means that you can be much more inaccurate if sales are higher than if they are lower than the forecast. So sMAPE is also used to correct this, it is known as symmetric Mean Absolute Percentage Error.

Last but not least, for intermittent demand patterns none of the above are really useful. So you can consider MASE (Mean Absolute Scaled Error) as a good KPI to use in those situations, the problem is that is not as intuitive as the ones mentioned before.

### Calculating forecast error

The forecast error needs to be calculated using actual sales as a base. There are several forms of forecast error calculation methods used, namely Mean Percent Error, Root Mean Squared Error, Tracking Signal and Forecast Bias.