Determining Safety Stock with Uncertain Demand

Site: Saylor Academy
Course: BUS606: Operations and Supply Chain Management
Book: Determining Safety Stock with Uncertain Demand
Printed by: Guest user
Date: Saturday, September 28, 2024, 5:44 PM

Description

Read this article. It concludes by suggesting that errors in ordering safety stock can be affected by costs, time, and human error. What other factors should a company consider when ordering safety stock to avoid uncertainty?

ABSTRACT

Safety stock is that point, where the user finds a comfort zone between overstock and understock situation. It is defined as the buffer inventory have to be kept to deal with differences between supply and demand. There are different variables to be considered while determining safety stock. In this writing there is an effort to establish a model that include direct and indirect cost related to inventory. The inclusion of Ordering cost, holding cost, Product price, Time, Demand, Demand Variation, Lead time, Mean lead time, Errors in Forecasting, Deviation of lead time etc. are used in this model. This model works with economic order quantity, regression, and forecasting error calculation to estimate safety stock while reducing human judgment error in the calculation.

Keywords: Dependent Variables, Direct and Indirect Inventory Cost, Safety Stock, Uncertain Demand.


Source: Sharfuddin Lisan, https://thejournalofbusiness.org/index.php/site/article/view/1095/679
Creative Commons License This work is licensed under a Creative Commons Attribution 3.0 License.

Introduction

Inventory is always a big concern for any organization. Whether it is overstock or understock, which occurs often times, becomes a headache for managers. Therefore Inventory is regarded as liability in Supply chain Arena, as it bears a significant business cost. In 2008, firms operating in the United States spent $420 billion to maintain inventories valued at almost $2 trillion. In a survey of 190 producers, distributors and retailers, most of the respondents reported that improving their service level was the primary goal of their inventory management. In addition to that, stocking sufficient inventories, low storage costs which are usually influenced by stock rates – have to be ensured. To retain the balance, Safety-stock has to be maintained in order to satisfy requirements even when parameters such as the demand, replenishment times and replenishment quantities are volatile.

Safety stock is that point, where the user finds a comfort zone between overstock and understock situation. It is defined as inventory that absorbs various differences between supply and demand. Traditionally, safety stock is Safety inventory protects against inventory uncertainty by ensuring there is enough product available to maintain desired service levels. According to Haddley, Three main elements give rise to the differences between planned inventory and actual inventory levels:

  • demand deviations,
  • supply deviations,
  • inventory accuracy
These differences result from
  • Changes in the timing of customer purchases,
  • differences between average demand and actual demand,
  • fluctuations in demand, machine breakdowns,
  • employee absenteeism,
  • material shortages,
  • Product defects, etc.
  • Late delivery,
  • Short shipments,
  • Production delays,
  • Production yield differing from planned, and
  • Substandard materials and production.

And of course there could be many reasons causing inventory variability including but not limited to Procurement planning, Production and logistics activities etc.

Objective: The objective of the paper is to study the variables considered in the existing literature to determine safety stock and look for other areas that could be considered. Also, look for more comprehensive way to derive safety stock.

Research question: Safety stock is directly related to Demand of products. In an uncertain scenario, organizations has to forecast the demand. Besides, after forecasting, Organizations has to divide the forecasted data into acceptable quantity of orders that is also economical according to the organization resources. Economic order quantity (EOQ) is the one of the acceptable solutions for that. Therefore, we would like to include this methods into safety stock calculations and understand the applications.

And so, our question is: Are inclusions of (a) Forecasted Demand (b) forecasting error and (c) EOQ data could help to determine Safety stock more inclusively and accurately?

Implications: This paper will try to come up with a comprehensive safety stock model that could be used in uncertain demand scenario determination when mutually dependent variables are considered.

Literature review

Inventory control models in the research literature and in textbooks typically assume that the demand distribution and all its parameters are known. However, in practice such information is not available, and future demands have to be forecasted based on historical observations. No forecasting procedure produces perfect forecasts. For unbiased forecasting procedures, not only methodical forecasting but also continuous forecast errors calculation of demand is necessary.

There are many forecast method found in the literature. Surprisingly, some inventory textbooks do not mention forecasting at all and also they do consider to discuss the use of forecasts and errors consideration in the decision models. Some inventory textbooks, such as Silver, Pyke, and Peterson and Axsäter, do indicate that parameters have to be estimated in practical applications, and that the resulting forecast error should be taken into account. Some books considers per-period demand forecast errors (e.g. Estimated via Mean Squared Error, MSE, or Mean Absolute Deviation, MAD).

The lead time forecast errors can correlated and has been pointed out by some researchers. Silver et al. noted that the relationship between the forecast error during the lead time and that during the forecast interval. Beutel and Minner discuss a framework of least squares demand forecasting and inventory decision making.

A common approach to inventory decision making under un-known demand parameters is the Bayesian approach, which was initiated by Dvoretzky, Kiefer, and Wolfowitz, Scarf, Karlin, and Iglehart. Applications of Bayesian estimation in dynamic programming efforts are given by e.g. Azoury and Lariviere and Porteus. It has been found by them that specific, optimal order quantities are numerically tough to derive. This led to the development of heuristics, that essentially reduce multi-period problems to single-period problems, and typically assume a negligible lead time. Numerical Bayesian studies mainly involve single-parameter demand distributions, or, if the distribution has more than one parameter, impose that one or more parameters are known. Besides, Rajashree Kamath and Pakkala use a lognormal distribution with a known variance. This restriction is theoretically convenient, because it ensures that the posterior demand distribution is again (log) normal, but it is practically incorrect, as the variance has to be estimated as well.

A different approach is tried by Hayes, who introduces the method of minimizing the Expected Total Operating Cost, which follows from the sampling distribution of the parameter estimators. Janssen, Strijbosch, and Brekelmans seek the optimal 'upward biases' in the traditional stock level calculation via simulation. Similarly, Strijbosch and Moors consider a batch ordering (r, Q) policy under normally distributed demand with unknown parameters and zero lead time.

Lippman and McCardle examined the relationship between equilibrium inventory levels and the allocation rule. Along with them Netessine and Rudi established the uniqueness of the equilibrium for the n-product case, and extended the work of Parlar . Avsar and Gursoy treated the same condition on an infinite horizon. Ahn and Olsen worked on multiple periods with consideration of a subscription sale. Nettesine, Rudi, and Wang presented four scenarios of customers' backlogging and transfer behaviour in a dynamic environment.

Khmelnitsky and Gerchak analysed a continuous review policy by using a deterministic inventory model in which demand is a function of the instantaneous inventory level, where shortages are possible and production capacity is limited. Baker and Urban investigated the continuous, deterministic case of an inventory system in which the demand rate for an item is a function of that inventory level. Kelle and Silver identified a reorder point for purchasing new containers in which products are sold. Yuan and Cheung developed for this model a continuous review (s, S) policy with returns based on the sum of the on-hand stock and the number of items in the field.

Decroix and Neuts proposed an optimal order-up-to policy with regular and emergency replenishments for the case in which the regular order lead time is one period and the emergency lead time is zero. Whittemore and Saunders derived the optimal policy for the case in which the regular and replenishment lead times are multiples of the periodic review period. Rosenshine and Obee investigated a standing order inventory systemin which a constant quantity is received every period, and a fixed-size emergency order can be placed when the inventory falls below the reordering point.

Blumenfeld, Hall, and Jordan analysed the trade-off between expediting cost and safety stock cost. Emergency orders are considered to be sufficiently large to avoid stock outs and to be received with a zero lead time. Chiang and Gutierrez analysed inventory models in which the lead time is shorter than the periodic review period with a periodic review system. Teunter and Vlachos allowed more than one emergency order per review period. Alfredsson and Verrijdt showed the effectiveness of emergency flexibility, including transshipments from other retailers. Chartniyom et al. proposed a solution approach to avoiding stock outs that incorporates two options, lateral transshipment and emergency order.

Weiss proposed an optimal reorder point and order-up-to level with continuous review and a zero lead time. Kalpakam and Arivarignan investigated a model in which there is an exponential lifetime and a zero reorder point. Nahmias, Perry, and Stadje considered the condition in which the demand rate is not affected by the productlifetime.Avinadav and Arponen assumed that the demand rate increases in proportion to lifetime. Avinadav, Herbon, and Spiegel modelled demand that decreases in proportion to price and polynomially with lifetime.

There are other streams available in literatures. But in terms of safety stock, most of them considered it as inclusive effort while working with inventory as a whole. Moreover, an optimal policy has been proposed for considering the production system, the order sizes, the planning horizon etc. Considering all these, the authors some time focus on safety stock more or less. But still no one skips the specification of safety stock one way or another. However, they have common effort, making the models complex and realistic.

Safety stock calculations

However, Specifically in terms of safety stock, there are many safety stock calculating formulas. The following Equations are widely used. Safety stock (SS) is calculated using:

S S=k \sigma z

Where k is a safety factor parameter based on the distribution of the total demand in a lead time and σ z is the standard deviation of total demand in a lead time (Z). The demand in a lead time is a random sum (lead time) of random numbers (demand). Therefore, probability theory informs us that, when lead time and demand are uncorrelated, the standard deviation of total demand in a lead time is

\sigma_{z}=\sqrt{\mu_{t} \sigma_{d}^{2}+\mu_{d}^{2} \sigma_{t}^{2}}

Where,

\mu_{t} = mean lead time
\mu_{d} = mean demand
\sigma_{t} = standard deviation of time
\sigma_{d} = standard deviation of demand

Different textbooks, Inventory reviews and software are also following these rules.

Yamazaki, Shida, & Kanazawa define Safety stock is defined as inventory that absorbs various differences between supply and demand. These differences result from changes in the timing of customer purchases, differences between average demand and actual demand, fluctuations in demand, machine breakdowns, employee absenteeism, material shortages, product defects, etc. Traditionally, safety stock is given by

\mathrm{sS}=\mathrm{z} * \sigma \mathrm{t} * \sqrt{(\mathrm{T}+\mathrm{L})}
z: Safety factor
\sigma_{t}: Standard deviation of demand per unit time
T = Review period
L = Lead time

Another model is proposed by Scheidler & Workman, they proposed easier method to work with safety inventory. The equation is:

\text { Safety Stock= SS }_{\text {Demand }}+\mathrm{SS}_{\text {Supply }}+\mathrm{SS}_{\text {Strategic }}

\text { SS }_{\text { Demand }}=(1 \text {-Forecast Accuracy }) \times \text { Lead Time } = \text { Days of coverage needed }

\text { SS }_{\text { Supply }}=(1 \text {-Supplier on time delivery }) \times \text { Lead Time } = \text { Days of coverage needed }

\text { SS }_{\text { Strategic }} = \text { Days of coverage needed }

Eppen & Martin, proposed another method but close to Feller (1957). The core difference is Feller (1957) proposed root over the of multiplication addition of standard deviation and mean lead time and demand. Where Eppen & Martin did not use the root instead used multiple variables to compute safety stock

We use the following notation throughout.

Let

W = lead time demand, a continuous random variable,
X = demand during one time period, a continuous random variable,
Y = length of lead time in time periods, a discrete random variable,
w = lead time demand given period lead time,
\mu_{x} = mean demand during one time period,
 \mu_{y} = mean lead time,
\sigma_{x} = demand variance during one time period,
\sigma_{y} = lead time variance,
 \mu_{w} = \mu_{x} + \mu_{y}
 \sigma_{w}^{2}=\left(\sigma_{x}^{2}\right)\left(\mu_{y}\right)+\left(\sigma_{y}^{2}\right)\left(\mu_{x}\right)^{2}

In inventory literatures, there are many complex theories used, but in most of the cases, the users of the theories have hard time to understand and use the models. One of the main reasons is the inventory managers are busy of their daily operations. In a store or warehouse, there are multiple products. Most of the time it is not possible for them to use any complex formula to derive safety stock levels. Therefore there is need of using close to complex but simple but inclusion of different variable data used formula that will be beneficial for root level users.

In terms of Safety stock calculation, most of the time literatures use lead time and demand variation. But demand variation do no stay always same. Besides, Demand is not fixed most of the time. Therefore demand is uncertain. But we see little effort in demand forecasting efforts in the literature. Some authors considered demand errors seriously. But still comprehensive demand forecasting and error methods are not used in terms of safety stock calculations. As most of the calculations deal with certain data. Here our effort is to deal with uncertain data. In that case inclusion of demand forecasting is necessary.

Besides, Demand forecasting Economic order quantity could also be used to derive safety stock calculation. As EOQ is already recognized for assessing optimum safety stock, we could use this in our safety stock calculation. Although EOQ has some drawbacks, But still it is one of the most recognized formula to derive ultimate inventory. Besides, we will not use EOQ alone. Inclusion on other variables in an equation will reduce the error of the EOQ in our calculation.

Proposed model: Demand forecasting in uncertain scenario

In inventory demand, most of the cases data are interdependent. To deal with the mutually depended data, we work with linier or multi-linier regression. In our case linier regression will be used. If more variables are there multi-linier regression will be useful.

The regression formula is following:

b=\frac{\sum Y X-n \bar{Y} \bar{X}}{\sum X^{2}-n X^{2}}

a=\bar{D}-b X

D(F)=a+b X


1st step: Demand forecast using linier regression

In our case, Lead time and Demand are two interdependent factors. In our test case, we will consider following data for our study. It is hypothetical data.

SL. Lead time (X) Demand (Y) (F)Forecast
1 8 1200 ?
2 9 1000 ?
3 10 1500 ?
4 11 1300 ?
5 12 1100 ?
6 13 1000 ?
7 14 ? ← ?


In this case, lead time and demand are mutually dependent variables. We have data of 6 period. Lead time for 1st month is 8 days and demand was 1200. Same goes on with subsequent months. We will calculate the regression forecast of each period. In this way forecast of 7th period will derive, assuming the lead time is known, demand is unknown. In this way we will find the forecast of 7th period ans will regard as Forecasted Demand of period 7.


2nd step: Find out forecast error

After bringing the forecasted data, now it is time to work with forecast error. Generally, Error is the differences between the actual and forecast values, in equation, it is defined:

e_{t}=y_{t}+\hat{y}_{t}

However, We are working with popular method of forecasting Mean Absolute error (MAE), Sum of Squired Error (SSE), Mean squired Error (MSE), Squire root of MSE(RMSE).

Forecasts and error measures for a simple regression model

*Calculation A: Demand forecasting & Error calculation. Step 1 & 2.

3rd step: Deriving EOQ

EOQ:

The Economic Order Quantity (EOQ) formula is one of the most pervasive formulas in the business and engineering literature. It is the level of inventory that minimizes total inventory holding costs and ordering costs. Engineers study the EOQ formula in engineering economy classes and in industrial engineering classes. Business students study the EOQ formula in both finance and operations management classes. Sometimes the EOQ formula is studied for practical reasons as part of specific applications in inventory systems.

EOQ decision rules

These rules indicate what quantities could be ordered, so as to balance optimum the cost associated with them. Balancing the fixed costs per lot against the carrying costs is the basis for arriving at the economic order quantity. The development of the formula used the following assumptions:

  • Demand is continuous and constant (Le. rate of depletion of inventory is constant);
  • The process continues infinitely; and
  • There are no quantity constraints (on order quantity or storage capacity). Initially, the development also assumes the following (later these assumptions would be relaxed to develop variants of the basic rule):
  • Replenishment is instantaneous;
  • No shortages are allowed; and
  • Costs are time and quantity invariant.

The development uses the following is the notation:

Q = order quantity

h = inventory holding cost

K = order cost in dollars per order;

D = demand rate pieces per unit time (year); and

The rule is

 \mathrm{EOQ}=\frac{\sqrt{2 \mathrm{KD}}}{h}

For our case

Demand=Forecasted Demand of period 7= received from Calculation above.

Cost of Order= we assume in this case 1000

Cost of the product: we assume=1100

Carrying cost= we assume =20% of Purchase price.

 \mathrm{EOQ}=\frac{\sqrt{2 \mathrm{KD}}}{h}=\mathrm{EOQ}=\frac{\sqrt{2 \times 1100 \times 1000}}{220}=100

*Calculation B: EOQ calculation


4th step: Set review period

In this step, we have to set a review period. The review period is supposed to be set by the organization. As it depends on the policy, practice, supplier and capacity of organization.

In our case we are assuming, review period= 10 Days


5th step: Get mean absolute error

In this step, we will get mean absolute error to find the errors among actual demand and forecasting of different period. These will help to reduce the errors likely to happen in our forecasted 7th period.

 M A P E=\frac{\sum_{i=1}^{n}\left|y_{i}-x_{i}\right|}{\mathrm{n}}


6th step: Derive mean lead time

Lead time is another important factors in demand forecasting. In this step we are trying to get the central tendency or mean of lead time so far occurred during supply of a particular product. Lead time means the time took to receive the product after ordering in a specific time.

Mean lead time, \mu_{t}=\sum X / n


7th step: Derive standard deviation of Lead time

We use standard deviation of lead time to from lead time history so far and calculate the deviation of lead time happed so far. This also reduces the errors in lead time we are considering in our equation. In our case, 7th period lead time 12 days assumption error is minimized the standard deviation of lead time calculation.

Standard deviation of lead time, \sigma_{L} \mathrm{~T}=\frac{\sum_{i=1}^{N}\left(x_{i}-\bar{x}\right)^{2}}{N-1}


8th Step: Calculating all data altogether

The proposed model is mention below. The rational of this model is discussed later part of this writing.

\text { Safety Stock }=\frac{E O Q^{*}}{\text { Re view Period }}+\text { mean absolute error of demand } \times \text { mean lead time } \times \text { Standard deviation of lead time }

* EOQ after regression demand forecasted and error calculated demand

We can write this model, in short,

\text { Safety } \quad \text { Stock }=\frac{E O Q^{*}}{R}+M A E \times \mu t \times \sigma L

In our case, the calculation is:

=\frac{100}{10}+140 \times 9.71 \times 1.70==2476.05

*Calculation C: Safety stock calculation

Rational of the calculation

In our calculation, there are some reasons behind inclusion of all the formulas in Safety stock determination. We got the Demand from regression analysis as the demand was unknown for desired period. Besides Lead time and Demand are mutually dependent. Using the demand we calculate EOQ to get the specific amount to order each time by optimizing the inventory related costs. After that EOQ is divided by the review interval to get per day demand from EOQ, indicate optimum demand each day we need. Now, this amount is added with mean absolute error. As the error indicates missing amount in demand, could be positive or negative, it is added with in our calculation. Then the derived data is multiplied by mean lead time to get the demand of the lead time period. As lead time could vary, as we see it varied before in our case, we need to multiply the derived data with the standard deviation of lead time to reduce the error of lead time took so far before.

In our case, the result is 2476, which almost 2 times of our mean demand (1185). By looking at data, it supposed to acceptable safety stock as it indicates safe inventory amount for 2 periods considering the lead time. If unfortunately one time delivery fails, the safety stock is enough to support the interim period (1 failed delivery period+1 New order receive lead time period=2 period of inventory). Besides, Considering the Review period on 10 days (1 period) and average lead time of 10 days adds 20 days that is equals to 2 period of demand. Our Safety stock indicates this 2 period demand (20 days). Besides, as the demand data was derived from extensive analysis of Linier regression, Error calculation and EOQ analysis, we can expect the demand data contains less error in derived safety stock data.

Other calculations in the 'Calculation 1' chart. For example, Sample variance, Correlation, Square of correlation coefficient etc. was to calculate the validity of the data used in our model

Application

This safety stock model could be used in uncertain demand scenario determination when mutually dependent variables are considered. Besides, in other cases the model could be used in a trial basis to see the application. Here, the point to be noted that the, the model is still in theoretical format. It needs to be used in real life scenario.

Conclusion

This is a comprehensive model that considers different factors in safety stock determination both direct and indirect cost related. There is inclusion of Ordering cost, holding cost, Product price, Time, Demand, Demand Variation, Lead time, Mean lead time, Errors in Forecasting, Deviation of lead time etc. are considered in this safety stock calculation. Following this model, not only two factors (as we used demand and lead time), more than two factors could be used to determine safety stock. The best thing of this model is none of the data used are from human judgment, all the data are derived from different calculations we had before head.

There could be limitations in this model, just like every other model has. But the limitation could be corrected when applied in the real working scenario. This way this model will more purified and applicable to all users of safety stock.