Professional Documents
Culture Documents
Demand Forecasting
- A study at Alfa Laval in Lund
Bachelor Thesis, FE 3583, 15hp Spring 2008 Authors: Hana Klimsova, 780329 Stacey Lobban, 740819 Tutor: Peter Berling Examinator: Petra Andersson
SUMMARY
Vxj University, School of Management and Economics, FE3583, Spring 2008 Authors: Hana Klimsova and Stacey Lobban Tutor: Peter Berling Title: Demand Forecasting- A study at Alfa Laval in Lund Background: Accurate forecasting is a real problem at many companies and that includes Alfa Laval in Lund. Alfa Laval experiences problems forecasting for future raw material demand. Management is aware that the forecasting methods used today can be improved or replaced by others. A change could lead to better forecasting accuracy and lower errors which means less inventory, shorter cycle times and better customer service at lower costs. Purpose: The purpose of this study is to analyze Alfa Lavals current forecasting models for demand of raw material used for pressed plates, and then determine if other models are better suited for taking into consideration trends and seasonal variation. Delimitations: Due to the large number of articles that go into the production of plate heat exchangers, this study will only focus on forecasting of selected raw material (coils or sheets) demand for pressed plates. Method: This is an action research study using an interpretive scientific perspective, a deductive approach, and a quantitative research strategy. The scientific credibility of the study will hinge on providing a workable solution for the studied companys problem. Conclusion: The companys current error evaluation method differs greatly from theory and is probably wrong. Forecasting of raw material demand can be improved by using better input data. Of the 12 items tested, triple exponential smoothing provided the lowest forecasting error in 8 of the cases. Future Work: In our demand forecasting analyses, we adjusted each smoothing constant to come up with the best error accuracy for individual items. For future studies, one might use the same smoothing constants across all products to see if these can be standardized so that forecasting work can be done even more efficiently and effectively. Keywords: Alfa Laval, demand forecasting, time series analysis, moving average, exponential smoothing, autocorrelation, forecasting accuracy, plate heat exchangers
ACKNOWLEDGEMENTS
This Batchelor Thesis has been written during Spring 2008 and is a result of hard work and dedication. It would not have been possible without support and constructive feedback from a number of people. First of all, we would like to take this opportunity to give thanks and show gratitude to our tutor, Peter Berling, for his guidance and substantial feedback throughout the entire process. Furthermore, we are grateful for the additional guidance of our examinator, Petra Andersson, for her suggestions on how to structure our thesis. We would also like to express our gratitude to Ivan Kruzela, associate professor at Malm University, for his conceptual and moral support. In addition, our appreciation goes to our opponents, who have given us constructive criticism and support in finalizing our thesis. We also appreciate the feedback of our fellow seminar members. Finally, our gratitude goes to all the people who took time to help us perform our research, including all interviewees at Alfa Laval OM-CP unit: Tobias Augustsson, Martin Jnsson, and Lars Hedberg. They provided essential value in the development of our thesis by sharing their knowledge and always made themselves available to answer countless questions and provide feedback throughout various stages of the process. Vxj, May 2008
Hana Klimsova
Stacey Lobban
TABLE OF CONTENTS
SUMMARY.............................................................................................................................. 2 ACKNOWLEDGEMENTS.................................................................................................... 3 TABLE OF CONTENTS........................................................................................................ 4 1. Introduction ......................................................................................................................... 7 1.1 Background........................................................................................................................ 7 1.2 Alfa Laval - company presentation.................................................................................. 9 1.3 Problem discussion .......................................................................................................... 11 1.4 Problem questions ........................................................................................................... 12 1.5 Purpose............................................................................................................................. 12 1.6 Delimitations .................................................................................................................... 12 1.7 Time plan ......................................................................................................................... 13 1.8 Definition of Concepts..................................................................................................... 13 1.9 Disposition........................................................................................................................ 14 2. Methodology ...................................................................................................................... 16 2.1 Scientific perspective - Positivism vs. Interpretivism .................................................. 16 2.1.1 Our perspective - Interpretivism ................................................................................ 16 2.2 Scientific approach Deductive vs. Inductive .............................................................. 17 2.2.1 Our scientific approach - Deductive .......................................................................... 17 2.3 Research strategy Quantitative vs. Qualitative ......................................................... 17 2.3.1 Our research strategy - Quantitative ......................................................................... 18 2.4 Research method - Action Research.............................................................................. 18 2.4.1 Our motivation of research method ........................................................................... 20 2.5 Data Collection- Theoretical and Empirical................................................................. 21 2.5.1 Our data collection method........................................................................................ 21 2.6 Scientific Credibility ....................................................................................................... 22 2.6.1 Our choice of scientific credibility ............................................................................. 23
2.7 Summary of Methodology .............................................................................................. 24 3. Theory ................................................................................................................................ 25 3.1 Demand forecasting - Subjective and Objective........................................................... 25 3.1.1 Subjective forecasting approach ................................................................................ 25 3.1.2 Objective forecasting approach ................................................................................. 26 3.1.3 Summary of subjective and objective approaches...................................................... 27 3.2 Time series analysis......................................................................................................... 28 3.3 Definition of Time Series Behaviours ............................................................................ 28 3.4 Models for Time Series Forecasting .............................................................................. 30 3.4.1 Moving average.......................................................................................................... 31 3.4.2 Exponential smoothing............................................................................................... 32 3.4.3 Autocorrelation .......................................................................................................... 36 3.5 Evaluating forecasting accuracy .................................................................................... 36 3.6 Theoretical framework ................................................................................................... 39 4. Empirical............................................................................................................................ 40 4.1 Reintroduction of Alfa Laval ......................................................................................... 40 4.2 Interviewees ..................................................................................................................... 41 4.3 Ordering Raw Material at Alfa Laval........................................................................... 41 4.3.1 How an order is placed .............................................................................................. 41 4.3.2 How forecasting of raw material demand is done ..................................................... 42 4.3.3 What the forecast sent to suppliers is based on ......................................................... 42 4.3.4 Forecasting accuracy calculations ............................................................................ 42 4.3.5 Six Sigma .................................................................................................................... 43 4.3.6 Results of poor forecasting at Alfa Laval................................................................... 43 4.4 Current forecasting models ............................................................................................ 44 4.4.1 Summary of the forecasting methods used by Alfa Laval........................................... 46 4.5 Items to be analyzed ........................................................................................................ 46 4.6 Gathering of data ............................................................................................................ 47 5. Analysis .............................................................................................................................. 49 5.1 Foundation of analysis .................................................................................................... 49 5.2 Raw material analyzed.................................................................................................... 50 5.3 The analytical process..................................................................................................... 51
5.4 Summary and discussion of analysis ............................................................................. 60 6. Conclusion.......................................................................................................................... 63 6.1 Results .............................................................................................................................. 63 6.2 Reflections ........................................................................................................................ 64 6.3 Client Validity.................................................................................................................. 65 6.4 Future work ..................................................................................................................... 65 REFERENCES ...................................................................................................................... 66 APPENDIX 1 - Interview questions APPENDIX 2 - Historical data (one item) APPENDIX 3 and 4 - Raw material analysis (one item) APPENDIX 5 - Analysis of evaluating method
1. Introduction
he introduction chapter is intended to provide an overview of the subject, motivation, and process of this thesis. It opens with a background of forecasting, giving the reader insight to the important role of forecasting for demand. Thereafter is a presentation of the company. Subsequently, this chapter leads to a discussion of the problem, followed
1.1 Background
Forecasting Forecasting plays an integral role in our daily lives. We make decisions about what to wear the next day or what to pack for a trip based on weather forecasts. We decide when to make investments based on forecasts or listen to traffic reports to determine which route to take to work in the morning. Of course, not everything can be accurately forecasted. Sometimes forecasts are accurate; most often they are not. Similarly forecasting plays an important role in business operations. All business planning is based on forecasts, sales of existing and new products, requirements and availability of raw materials, capacity requirements to name a few.1 Larger firms employ forecasting for different purposes and for different levels (in terms of time, product and market) compared to smaller ones. The type of industry impacts the forecasting methods as well. Manufacturing firms use more complex techniques than service firms. Uncertainty and environmental turbulence are also issues to be considered, as there is a correlation between environmental turbulences and judgmental adjustments of quantitative forecasting techniques.2 A companys operations and production managements main focus is to forecast product demand. Even though it is very likely that demand will be random in most circumstances,
forecasting methods are still of value. Although some portions of the demand process may be unpredictable, other portions may be predictable. Trends, cycles, and seasonal variation
1 2
Such
forecasting outcomes are important information for the use of purchasing raw material. As goods move from raw material processors through to manufacturers and further down the supply chain to the end customer, extensive coordination is required among ordering, demand forecasting and inventory decisions at every level.4 The importance of demand forecasting manifests itself in the purchasing function and can have a strong influence a companys competitive advantage. Over-purchasing not only negatively affects inventory and storage space, but also spending on unnecessary procurement activities. On the other hand, under-purchasing can cause a shortage in raw material, which could cause interruptions in the manufacturing process and lead to unfinished or delayed products.5 Good demand forecasting helps to find the right balance. Along with improving forecasting accuracy, there should be an overall strategy of demand management. This would include making an increasingly larger proportion of product demand firm while at the same time decreasing the percentage of products that have to be forecasted.6 To predict future demand accurately is crucial for effective purchasing planning since it leads to customer satisfaction and decreasing costs. Many companies invest in expensive forecasting software that use statistical methods, however their forecasts are often adjusted by using personal judgment and market knowledge to improve accuracy.7 Many times business managers make the comment: If only we could do a better job of forecasting demand. This statement is based on the fact that they too often experience unnecessarily high errors in their forecasts. Accurate forecasting is a real problem at many companies.8 Improving forecast accuracy is the goal, but one must also take into consideration that there are limits. The better forecast always includes some measure of the forecast error.9
Alfa Laval also experiences the same problem of forecasting for future demand. The managers here are aware of the fact that the forecasting methods they use today can be improved or replaced by others. A change could lead to better forecasting accuracy and lower
3 4
Nahmias, S. (2005:53) Fenstermacher, K., & Zeng, D. (2000:4) 5 Kengpol, A., Kaoien, P., & Touminen, M., (2007:1605) 6 Martin, J. (2008:231) 7 Fildes, R. & Goodwin, P. (2007:42) 8 Lapide, L. (2007:16) 9 Nahmias, S. (2005:51)
errors which means less inventory, shorter cycle times and better customer service at lower costs. These factors will play an important role in the company gaining competitive advantages and flexibility.
Today the company has about 10,000 employees of whom many are
located in Sweden, India, Denmark, USA and France. Almost 50 per cent of total sales are made in Europe, 30 per cent in Asia and 20 per cent in North and South America.11 Alfa Laval in Lund Alfa Lavals facility in Lund specializes in the production of plate heat exchangers in different sizes and types depending on the purpose of use. The company offers both standardized plates and those made according to customer specifications. This facility is comprised of mainly two divisions: CU (Component Unit) and SU (Supply Unit). Both divisions are divided into two business units. This study will focus on one business unit, OM - CP (Operation Manufacturing - Component Unit Plates). This unit is responsible for ordering and receiving raw material (a variety of metals - stainless steel, titanium, etc.) in form of coils or sheets to be cut and pressed into plates of different technical parameters and characteristics. After that they are welded or outfitted with gaskets to become finished plates. These plates are delivered to the SU (Supply Unit), of which there are several worldwide locations, where they are assembled; the plates are put together with frames to form the final product plate
10 11
heat exchangers. These are quality controlled and prepared for delivery to an end customer. In the below value added chain, this studys focus will be on unit highlighted in red.
Suppliers
Component Unit - CU
Supply Unit - SU
OM - SE (Supply Equipment)
End customer
Figure 1.1: Alfa Lavals Value Added Chain.
10
12
11
By evaluating the present situation and answering these and other questions, we hope to suggest more appropriate forecasting methods for Alfa Laval.
1.5 Purpose
The purpose of this study is to analyze Alfa Lavals current forecasting models for demand of raw material used for pressed plates, and then determine if other models are better suited for taking into consideration trends and seasonal variation.
1.6 Delimitations
Due to the large number of articles that go into the production of plate heat exchangers, this study will only focus on forecasting of raw material (coils or sheets) demand for pressed plates (those classified by Alfa Laval as A or B products using the ABC classification system).
12
13
1.9 Disposition
The thesis will be organized as follows (see Figure 1.2): Chapter 2 The Methodology chapter describes the scientific research approach chosen for this study. Furthermore it presents methods used for data collection and empirical findings. The chapter concludes by summarizing the chosen method and discussing the validity and reliability of the study. Chapter 3 The Theory chapter provides relevant theories applied to our study. We will discuss different theories for forecasting of future demand using time series analysis. At the end of the chapter we set up an analysis model based on applicable theories. Chapter 4 The Empirical Findings chapter describes the current order process and demand forecasting for raw material. It also presents the current forecasting techniques used by Alfa Laval and introduces the raw material selection for this study. Chapter 5 The Analysis chapter tests various forecasting methods using the historical data provided in Appendix 2. From theory and empirical evidence, we propose other forecasting methods for raw material demand taking into consideration trends and seasonal variations. Chapter 6 The Conclusion and recommendation chapter presents a review of the study and proposes forecasting recommendations to Alfa Laval. The proposals are based on theory, our data observations, and interviews with people involved in the OM-CP business unit. Recommendations for future studies give feasible ideas for studies of demand forecasting in this or another closely related subject area.
14
Introduction Chapter 1
Methodology Chapter 2
15
2. Methodology
n this chapter we describe the methodology choices for this study. Areas covered include scientific perspective, scientific approach, and research strategy. Next the action research method is described and the manner in which data was collected.
Thereafter we present scientific credibility of the thesis. At the end is a summary of methodological choices.
16
Bryman, A & Bell, E. (2007:581) Bryman, A & Bell, E. (2007:14) 19 Bryman, A & Bell, E. (2007:13) 20 Bryman, A & Bell, E. (2007:427) 21 Greenwood, D. (1998:77)
17
likened to qualitative research, it can employ the gathering of both qualitative and quantitative data.22 Data collection can include such things as analyzing documents, participant observation recordings, unstructured and structured interviews, case studies23, written description of meetings and interviews (can be given to participants to validate information gathered), a collection of documents related to the situation, or a diary of objective impressions24.
22 23
Bryman, A. & Bell, E. (2007:429) http://www.web.net/~robrien/papers/arfinal.html#_Toc26184652 (2008-04-15) 24 Bryman, A. & Bell, E. (2007:429) 25 Bryman, A. & Bell, E. (2007:40) 26 Bryman, A. & Bell, E. (2007:428) 27 Argyris, C., et al. (1985, preface x) 28 Greenwood, D., et al. (1998: 75-76)
18
There is a special kind of question that action researchers ask in order to identify the particular research design, to name a couple: 29 How can I improve my personal practice? How can I improve my understanding of this?
This is because action research is a type of practitioner research that works as a tool to help improve professional activities in various types of workplaces.30 A quality criteria used to judge how good the theory is will focus on its ability to provide a practical solution in reallife situation.31 Greenwood goes further to argue that it is far more likely than conventional forms of social research to produce reliable and useful interpretations of social phenomena because the research validity can be tested in action.32
29 30
Mc Niff, J. (1996:16) Mc Niff, J. (1996:7) 31 Greenwood, D., et al. (1998:19) 32 Greenwood, D., et al. (1998:54)
19
Action research can be considered as a process that contains five phases: diagnosing, action planning, action taking, evaluating, and specifying learning.33
33
Susman, G. (1981:146)
20
34 35
Yin, R. (2003:86) Bryman, A.. (2007: 328-333) 36 Bryman, A.. (2007: 334-336)
21
37 38
Mc Niff, J. (1996:106) ibid (1996: 107) 39 Greenwood, D., et al. (1998:80-81) 40 Mc Niff, J. (1996:108)
22
Some forms of validation:41 Self - validation: Researcher should be able to show to his own satisfaction that he has been done the things he set out to do. Up-liner validation: To show to managers and authorities that an intervention has been done to improve the practice and the way of working could be adopted. Client validation: The intervention should contribute to improvement of quality of clients life. Academic validation: This validation is done by the academic community in terms of whether it agrees that the researcher has contributed to a new knowledge.
41
Mc Niff, J. (1996:108)
23
24
3. Theory
he theory chapter aims to present different methods for forecasting demand. We discuss two types of demand forecasting: subjective and objective. Next we identify behaviors that impact time series analyses. It is followed by several well-known
methods to evaluate forecasting error. Subsequently, a theoretical framework is provided to summarize the connection between the theories.
42 43
Kalekar, P., (2004:1) Nahmias, S. (2005:51) 44 Martin, J. (2008:222) 45 Armstrong, J. (2001:22) 46 Nahmias, S. (2005:55-56)
25
Customer surveys These surveys or questionnaires, if properly conducted, can indicate future trends and oscillating preference patterns.
Jury of executive opinion If there is no past history data (such as for a new product) then expert opinions can be used as a source of information to derive a forecast. These opinions are collected from individual sources in several ways. One is for the person assembling the information to interview the managers directly, the second is to hold a group meeting for the managers to come to a consensus.
Delphi method This is similar to the jury of executive opinion in that it is based on expert opinions. It differs in that the managers are individually surveyed - no group meeting - so that no personality can influence another in the group.
In short, subjective technique can encompass simply asking for managers opinions, polling an organizations sales force, or bringing people together who have knowledge of a particular customer segment.47
47 48
26
based on various factors such fiscal policies, agricultural performance, etc (independent variables). In this study we will focus on the objective forecasting approach using times series analysis. This analysis model is further discussed under section 3.2 Time series analysis.
Objective Approach Used when situation is stable and historical data exist (e.g. existing products, current technology) Involves mathematical techniques Time series models Causal models
51 52
27
53 54
Armstrong, J. (2001:209) Kalekar, P., (2004:2) 55 Nahmias, S. (2005:57) 56 Crum, C., (2003:32) 57 Lapide, L., (1999:29) 58 Nahmias, S. (2005:58-59)
28
Cycles Variations similar to seasonality except the length and magnitude of the cycle may vary. For example: a long-term economic business cycle that may be present in addition to seasonal fluctuations.
Randomness - A series where data shows no recognizable pattern. One can generate patterns purely at random that often appear to have structure.
29
Double exponential smoothing (Holts method) Triple exponential smoothing (Winters method) Autoregressive integrated moving average (ARIMA) models
Figure 3.2: Major Time Series Models
Of these models, the following appear in the empiric and analysis of this study: Moving average (and weighted moving average) models, Simple exponential smoothing, Double exponential smoothing, and Triple exponential smoothing.
30
Ft = (1/N)*
i = t -N
The formula represents a one-step-ahead forecast. Dt = observed values of demand during periods of time t (Dt, t 1) N = number of all past observations di = value of all past demand observations
Source: Nahmias, S. (2005:64)
59 60
31
Weighted moving average A weighted moving average adjusts the moving average method to reflect fluctuations more closely by assigning weights to the most recent data, meaning that the older data is usually less important. weights.63 Forecast in period t : Ft = (*(Dt-1+ + Dt-3) + *(Dt-4++ Dt-6) + *(Dt-7 +...+ Dt-12))/12
62
The weights lie between 0.0 and 1.0 for a total of 1.0. The higher the
weight, then the higher importance we place on more recent data; similarly, for lower
Simple exponential smoothing Simple exponential smoothing constructs the forecast as a combination of previous demand weighted by a smoothing parameter . The larger the , the more heavily recent demand will be weighted in a forecast. This is good for short-range forecasting; usually a month into the future.65 The smaller the , the more heavily past demand will be weighted and forecasts are more stable. Therefore, having a value of between 0.1 and 0.2 generally represents a stable forecast and is recommended for production planning purposes.66 A drawback to simple exponential smoothing is that it is not designed to forecast time series exhibiting trend or seasonal behaviours.
62 63
http://www.smetoolkit.org/smetoolkit/en/content/en/416/Demand-Forecasting, 2008-04-29 http://shmula.com/308/forecasting-unweighted-and-weighted-moving-average-model, 2008-04-29 64 Nahmias, S. (2005:66) 65 Kalekar, P., (2004:3) 66 Nahmias, S. (2005:69)
32
Formula:
Ft = *Dt-1 + (1-)*Ft-1
That is: New forecast = (Current observation of demand) + (1 - )(Last forecast)
Smoothing constant:
0< 1
Source: Nahmias, S. (2005:66)
Double exponential smoothing (Holts method) Double exponential smoothing, Holts method, is designed to track time series with linear trend. In other words, it is best used when data shows a pattern of trend. It works like simple exponential smoothing except that two components, level of the time series (expressed as the intercept) and trend (expressed as the slope), must be updated each period. Below is a figure demonstrating an intercept and slope. The green line represents demand, red represents forecast. An example of the slope and intercept are shown at the tail end of the forecast.
Sales
Intercept
Slope
A drawback using this analysis, similar to simple exponential smoothing, is how to first get the method started. The best way to combat this is to establish a set of initial periods as a
33
starting point and use regression analysis to make estimates of the slope and intercept using the starting point data.67 Also this method does not consider seasonal behaviours.
Ft, t+ = St + Gt
St = the value of the intercept at time t Gt = the value of the slope at time t Note: When the smoothing constant is close to 1.0, more weight is given to recent observations (quick dampening). When it is close to 0.0, relatively less weight is given to recent observations (slow dampening). 68 Triple exponential smoothing (Winters method) Winters method is built on the previous Holt method and is designed to handle time series base, trend, and seasonal behaviours by using three smoothing parameters: to smooth base, to smooth trend, and to smooth seasonality.69 This method provides an advantage in that it is easy to update as new data is received.70 The following model is assumed:
Dt = ( + Gt)*Ct + t
67 68
34
There is the base signal or intercept at time t = 0 excluding seasonality, Gt is the trend or slope component, Ct is the multiplicative seasonal component i period t, and the error term is expressed as t.71 To initiate the model, one must obtain a building block of estimates for the series, the slope and the seasonal factors. It is suggested that one must have at least two seasons of data to initiate the model; however, it is not the only way to start.72 Seasonal factors could be determined by a moving average method, or by using the slope and intercept values as proposed in Holts double exponential smoothing model. A drawback to using this model is that the calculations become tedious since one has to test many combinations of the three parameters. In addition, there is no assurance that the best values of the smoothing parameters based on past data will be the best values to use in future forecasts. The best assurance in this scenario is to choose smoothing parameters between 0.1 and 0.2.73 Formula:
Smoothing constant:
Ft = the forecast made in period t for any future period t + , it assumes tN St = smoothes the base forecast; the current level of deseasonalized serie Gt = smoothes the trend forecast
71 72
35
3.4.3 Autocorrelation
Before using Winters method, it is recommend to first test for autocorrelation. Autocorrelation is the correlation of a time series with its own past and future values.74 In other words, the autocorrelation function helps test for the presence of patterns, seasonality. For example, if low values in historical data tend to be followed by low values two periods later, then the series exhibit a positive autocorrelation. A positive autocorrelation denotes the presence of seasonality and therefore triple exponential smoothing method is recommended. Under the right circumstances it may outperform simpler forecasting methods. A negative autocorrelation would denote the lack of seasonality; therefore triple exponential smoothing would not be recommended. At least 72 periods of observation are recommended in order to get a reasonable estimate using the autocorrelation function. 75 An autocorrelation is calculated as some value between -1 and +1. The value +1 indicates strong positive autocorrelation; -1 indicates strong opposite (negative) autocorrelation; 0 means no autocorrelation.76
Rn =COR(Dt, Dt-n) = COV(Dt, Dt-n)/(STD(Dt)*STD(Dt-n)) COV = covariance of Dt and Dt-n STD = standard deviation of Dt and Dt-n
Source: Hoff, J. (1983:280)
et = Ft - Dt
74
36
There are three often-used measurements of forecasting accuracy MAD, MSE, and MAPE. Although MAD and MSE are most commonly used, MAD is usually preferred because it does not require squaring. MAPE is a measurement not dependent on the magnitude of the values of demand. 77 1. MAD (mean absolute deviation) measures average absolute deviation of forecast from actuals. It is the average of all forecast errors divided by n periods. All errors are treated as a positive value.78
n
2. MSE (mean squared error) measures variance of forecast error. It is the average of the sum of the squared errors divided by n periods.79 This method puts more weight to large errors.80
n
3. MAPE (mean absolute percentage error) measures absolute error as a percentage of the forecast. It is the average of all the ratios 100ei/Di, where Di is the value of demand and ei is the forecast error at period i divided by n periods.81
n
As mentioned earlier, one should have an unbiased forecast. To that end, there are different ways of tracking a forecast method. One of them is to graph the values of forecast error ei over time. Forecast errors should fluctuate randomly above and below zero if the method is unbiased. Another method is to sum all the forecast errors, ei. If the value of this moves too far away from zero (either above or below), it indicates that the forecasting method is
77 78
Nahmias, S. (2005:60) Hoff, J.C. (1983:262) 79 ibid (1983:272) 80 Andersson, G. (1994:206) 81 Hoff, J.C. (1983:263)
37
biased.82 MAPE puts less weight to large forecast errors than MSE. It is useful to use for comparing between different time series because the error is divided by corresponding demand value.83
82 83
38
Demand forecasting
Objective (Mathematical)
Time Series Models of Analysis -Simple Moving Average -Weighted Moving Average -Simple Exponential Smoothing -Double Exponential Smoothing (Holts method) -Triple Exponential Smoothing (Winters method)
39
4. Empirical
a short reintroduction of the company; followed by information about the current ordering process for raw materials, demand forecasting, and forecast and error evaluation models currently used at Alfa Laval. Then we introduce the items to be analyzed and discuss how data was gathered.
his chapter contains the empirical data collected throughout the action research study at Alfa Laval in Lund. The questions can be seen in Appendix 1. We begin with
40
4.2 Interviewees
We received assistance from Tobias Augustsson, Martin Jnsson, and Lars Hedberg of the OM-CP unit throughout this study.
41
42
Calculation: Each month is the forecast value for the next 12 months divided by 4 in order to get a 3 month forecast. This value is then compared to real demand (delivery from stock) during the past 3 months. Next, the error is expressed as a percentage of the forecast. There is a limit for accepted forecast error. It should have an accuracy of 30 %. In Jeeves, the values falling within the limit are classified as 0 and those exceeding the limit as 1. See Appendix 5 for further explanation and analysis of Alfa Lavals accuracy evaluation method. Alfa Lavals formula for estimating the forecast error as a percentage (%):
et =((D3m F3m)/F3m)*100
et = forecast error in period t
D3m = Demand (Delivery from Stock) - sum of the past three months F3m = Forecast - usage one year ahead divided by four
43
2. Gunnesbo (G-BO) weighted moving average in the same manner as resundsvg method the most weight is placed on the last three months. We have found no evidence of this method being used. Forecast in period t: Ft = (*(Dt-1+ + Dt-3) + *(Dt-4++ Dt-6) + *(Dt-7 +...+ Dt-9) + + *(Dt-10 +...+ Dt-12))/12
Weighted factors:
44
3. RAK straight moving average the weight is distributed evenly on all the twelve past periods. Forecast in period t: Ft = (*(Dt-1+ + Dt-12))/12 Weighted factor: =1
4. Exponential smoothing the forecast in period t is the weighted average of the forecast in period t-1 and the current value of demand in period t-1. Ft = *(Dt-1+ (1- )*Ft-1 Smoothing constant: = 0,1
However, this method, though available in Jeeves is not used. Note: Theory dictates that the smoothing constant values should be >0 and <1 and that the average of weighted factors should be 1.
45
46
Raw Material Item Number 3 105 208 310 413 487 590 693 796 899 973 1014 1117 1220 1266 1369 1473
Current Forecasting Method Rak -vg -vg -vg -vg Rak -vg Rak -vg -vg -vg -vg -vg Rak Rak -vg Rak
Raw Material Item Number 1577 1681 1784 1806 1827 1906 2009 2103 2207 2229 2332 2410 2513 2591 2713 2816 2846
Current Forecasting Method -vg Rak -vg Rak Rak -vg Rak Rak Rak Rak -vg -vg Rak -vg Rak Rak Rak
Figure 4.3: Current forecasting methods for selected raw material items
47
The historical data we gathered and sorted are presented in Appendix 2 and have the following characteristics: Observations of only one phenomena demand of raw material items based on past values of Delivered from Stock Historical data is chronologically sorted (ie: 2001 - 2008) The quantity of available past data varies (ie: varied numbers of observation) Several zero (0) values are presented (ie: recorded as 0 delivered from stock)
After the historical data for demand of raw material was obtained and chronologically sorted, it was of great importance to identify patterns (seasonality, trend) in data. This will be discussed further in Chapter 5.
48
5. Analysis
n the analysis chapter we use various forecasting theories to analyze demand for raw material items presented in the empirical chapter. We will seek to offer options of
theoretical model that can provide better forecasting accuracy in practical applications.
Note: Due to the huge amount of data produced during our study, the Appendix 2, 3 and 4 in this report will present the analysis of one raw material item only to illustrate our approach. The data and the complete analysis of all items are included on the CD.
49
Raw Material Item Number 3 105 208 310 487 590 693 796 1117 1266 2410 2513
Current Forecasting Method Rak -vg -vg -vg Rak -vg Rak -vg -vg Rak -vg Rak
Figure 5.1: Raw material item numbers and current forecasting methods
50
Step 2 Where demand is positive in most periods and there were some 0periods, these periods were corrected to an average of the before and after period, or as a multiple-period average. The reason for correcting 0periods is because they would otherwise disrupt the formula for
51
computing the forecasting accuracy (MAPE). Another reason is that the time series methods require more or less constant demand. As seen below, the new demand data to be used for analysis appears under the column Data Correction. See enclosed CD for complete data for all raw material items.
Step 3 After each raw material item was scrubbed and 0 periods corrected, a diagram was created of the demand data to show if a trend or season in demand exists. If a trend exists, this is a good indication that Holts method ought to be used. (see Figure 5.4)
Delivery from Stock (Item Nr.3)
60000
50000
40000
Pcs
30000
20000
10000
0 1 5 9 13 17 21 25 29 33 37 41 45 49 53 57 61 65 69 73 77 81 85 89 93 97 Months
Figure 5.4: Delivery from stock (raw material item nr. 3) with increasing linear trend
52
Step 4 We then programmed time series methods formulas and autocorrelation into an excel spreadsheet. Each of the twelve raw material items is analyzed by each of the six methods: Moving average, Simple exponential smoothing, Double exponential smoothing, Rak, -vg, and Triple exponential smoothing (see enclosed CD). Recall that Rak and -vg are methods currently being used at Alfa Laval. All the six forecasting methods are programmed in excel to work automatically. However, some adjustments have to be made in order for the methods to perform correctly for each specific item. Such adjustments are: The demand data must be pasted to the column Delivered from Stock. This applies to each method. If required, the parameter and number of periods (n) have to be adjusted. To start the Single and Triple exponential smoothing methods, initial values are required. To start the value, for single exponential smoothing, we take the average of the ten first demand observations; and for triple exponential smoothing, we take the demand average of two separate seasons (V1, V2). After the initial data are selected, the different parameters such as smoothing constants (, , and ) have to be tested in order to get the demand forecast with the lowest error. A snapshot of one of the analyzing methods, a moving average, of one raw material item is in Figure 5.5.
53
Before triple exponential smoothing (Winters method) is applied, we use an autocorrelation test of the data looking for evidence of seasonality. With autocorrelation we test if a relationship between the data exists. By removing the trend from data we can see if there is some other pattern left such as seasonality or just pure randomness (See Appendix 3). If seasonality exists, the correlation should not be 0. Then Winters method can be recommended.
54
Step 5 Evaluating forecast error As mention above, depending on the method applied, we then had to adjust alpha, beta, and gamma (smoothing constants) and use MAD, MAPE, and MSE to determine the lowest forecast error of each method for each item. To evaluate the single, double exponential smoothing, -vg and Rak methods we calculate the value of MAD, MSE and MAPE both on one-month and three-month bases (see Figure 5.6). Since the moving average analysis doesnt require a smoothing constant, we tested different n - step ahead moving averages in order to determine which of them gives us the lowest error.
Figure 5.6: Snapshot of MAD, MSE and MAPE in double exponential smoothing analysis
55
Evaluating Alfa Lavals forecasting methods (-vg and Rak) We used three alternatives to evaluate Alfa Lavals forecasting methods: 1. Alfa Lavals internal error evaluation method for forecast accuracy: Each month is the forecast value for the next 12 months divided by 4 in order to get a 3 months forecast. This value is then compared to delivery from stock values (real demand) during the past 3 months. Next, the error is expressed as a percentage of the forecast. *Note: It seams this evaluation method is probably incorrect. In Appendix 5 we provide a detailed mathematical analysis of the methods in order to demonstrate the incorrectness of this method. This is the reason why we compute the forecast accuracy using another method (explained below) based on the theory as presented in the Theory Chapter 3.5. 2. Theory based error evaluation (1 month): In the second alternative, we divide the one-year ahead forecast by 12 in order to get forecast in period t. Next the forecast is compared to the real demand in period t. 3. Theory based error evaluation (3 months): The last alternative is the same as the previous but calculated on a three month basis. *When Alfa Laval evaluates the forecasting accuracy, the forecast error is divided by the value of the forecast - not by the demand value as the common practice dictates. (See Appendix 3 - MAPE (/D) and MAPE (/F)). The result of using this method is demonstrated in Figure 5.7. The figure is explained below.
Item_no Fct_usage_one_yr_ah_DIV_4 sum_three_month compare diff Late
XXX
4327,5
680
0,842865
3647,5
56
As previously mentioned in the Empirical Chapter 4.3.4, Alfa Laval evaluates the forecast accuracy (%) using following formula:
et =((D3m F3m)/F3m)*100
et = forecast error in period t
D3m = Demand (Delivery from Stock) - sum of the past three months F3m = Forecast - usage one year ahead divided by four Using the values presented in Figure 5.7, we obtain the following result:
57
Step 6 For each analysis, we created a graph showing both demand and forecast in order to visually asses how closely the forecast followed demand. (see Figure 5.8 and enclosed CD) We also graph the forecast error over time in order to determine if the method is unbiased. As we explained in the Theory Chapter 3.5, the method is unbiased when the forecast error fluctuate randomly above and below zero.
50000
30000
20000
10000
0 1 4 7 10 13 16 19 22 25 28 31 34 37 40 43 46 49 52 55 58 61 64 67 70 73 76 79 82 85 88 91 94 97 Months
Figure 5.8: Graph showing forecast and demand in upward trend. Forecast made by double exponential smoothing (2exp)
58
Step 7 After a raw material item was analyzed using each method, we then created a summary chart to evaluate error accuracy of all methods applied. See Appendix 4 - Raw Material Analysis (Analysis table). In Figure 5.9 below, the orange highlighted value is our observation of the lowest forecasting error. However, depending on other factors in a real life situation, another of the evaluations of accuracy (MAD, MAPE, MSE) may be more appropriate to Alfa Laval.
Note: 3 months MAPE evaluation is provided for comparison since it is a measurement used at Alfa Laval.
59
95752687 235368856 1,12E+08 7517 11858 8121 33 39360646 4214 36 24968106 3237 39 34870514 4670 39 16 11 66815561 31394540 6266 4319 15 10
36908608 15783089 4382 2860 17 11 78422544 35771303 7278 4968 19 14385157 2275 16 13 6199812 1544 11
Figure 5.10: Summary of the raw material items and the best forecasting methods
60
According to the summary above, the forecasting methods providing the lowest errors are Alfa Lavals methods (Rak and -vg). The reason for this result is that the evaluating method of forecasting accuracy employed by Alfa Laval is not correct. (See Appendix 5). Using the evaluating method, corresponding to the common practice, reveals the fact that other time series analysis methods provide better results. (See Appendix 3 and 4) According to the theory presented in Theory Chapter 3.4, one would expect that the best forecasting method should be determined with the help of following rules of thumb: 1) The moving average and single exponential smoothing forecasting methods should be used if the data exhibits no trend. 2) Double exponential smoothing (Holts method) accounts for a trend in the time series data. 3) Triple exponential smoothing is an appropriate forecasting method if the data exhibits seasonal pattern with or without trend. However, the result of analyzing the 12 raw material items using time series forecasting methods is in contrast to our expectations. In the summary above, five periods moving average gives the lowest forecast error for items 3, 590 and 2513 despite the fact that all of them exhibit slightly increasing trend. Moving average is supposed to lag behind the trend. Items 1266 and 2410 exhibit very high forecast error compared to other items. The reason is the character of the historical data. They have many zero values, which had to be adjusted manually by averaging observations. This negatively impacts the performance of the forecasting methods. Item number 1117 exhibits a lot of varying demand over time. Using triple exponential smoothing gives low error by 35% (MAPE). However, the relatively low error leads to negative forecast values, which are not desirable. Trying different smoothing constants in order to eliminate the negative values doesnt help the situation. We decided to manipulate smoothing constants at double exponential smoothing instead. Using this method guarantees the positive forecast values even if the forecast error is very high, 90% (MAPE).
61
Altogether we tested six forecasting methods, inclusive of Alfa Lavals methods, on 12 raw material items. The triple exponential smoothing method provides the lowest forecasting error in 8 out of 12 cases. This result contradicts theory, which states this method is successful with data that has seasonal pattern, which is not our case. We carefully examined the available historical data spotted by graphing in order to answer the following question: Why dont these forecasting methods work according to theory? According to theory, presented in Theory Chapter 3.2, the time series forecasting methods require more constant demand over time. Our historical data, based on delivered from stock values, in most of the cases dont comply with this requirement. The only method that seems to have the ability to cope with our data is triple exponential smoothing. The method is based on three smoothing constants (, , ), which can be manipulated in order to get the lowest forecast error. The combination of high value of and law value of provides the best result. This probably makes the method more flexible to provide better results than the other methods.
62
6. Conclusion
suggestions for continued research. Finally are our reflections concerning the writing of this thesis, and then some observations on conducting the data analysis, client validity, and future work.
his chapter concludes our findings and answers our research questions. We address the validity of our research and give recommendations to Alfa Laval. Then we provide
6.1 Results
We begin this chapter with a reminder to the reader of the research questions posed at the beginning of this thesis and the response. 1) How does Alfa Laval currently forecast for demand? For the selected raw materials evaluated in this study, we have found evidence that Alfa Laval currently uses two of four internally devised forecasting models. The two models are internally referred to as Rak - which resembles Straight Moving Average; and -vg - which resembles Weighted Moving Average. The disadvantage of using these models is that they are not the best tools to consider trends or seasonality, which are exhibited in some of the raw materials analyzed. This lack of adequate measurement contributes to the 50% accuracy Alfa Laval is currently experiencing. Additionally, it was observed that Alfa Lavals current error evaluation method differs greatly from theory and is probably incorrect, since the formula is comparing the future data with the past data. Furthermore, Alfa Laval divides the forecast error by the value of the forecast - not by the value of demand as theory and common practice dictate. Our recommendation is to compare the demand data at period t to the forecast data at the same time period t. In order to get the most reliable result of the forecasting method, the forecasting error should be related to the demand instead of to the forecast.
63
2) How can the demand forecasting for raw material purchases be improved and which method/methods results in lower forecasting errors while taking into consideration trends and seasonal variations? The demand forecasting for raw material purchases can be improved by using other input data than Delivery from Stock. Currently, all forecasting is based on the Delivery from stock values. Doing so leads to some periods (months) with zero values in the input data. The zero values signify there is no raw material delivered from stock. However, it does not mean there werent any orders placed in that particular month. The zero problem will be solved at most of the cases using placed orders as a source of input data instead of Delivery from stock values. This will also lead to better knowledge about the real demand. As mentioned in the analysis, we tested four standard forecasting methods as well as two of Alfa Lavals own methods on 12 raw material items. The triple exponential smoothing method provides the lowest forecasting error in 8 out of 12 cases. However, this is based on the Delivered from Stock data. If the analysis had been based on different input, other methods could have been more appropriate, but in this situation, triple exponential smoothing seemed to provide the greatest flexibility.
6.2 Reflections
A great amount of time was required to create Excel spreadsheet functions to be able to use the forecasting methods. To make the analysis as simple a process as possible we tried to express all formulas in a user friendly way before doing the analyses so that only historical data and other parameters needed to be pasted in and adjusted as necessary. This was a quality control effort to make sure that opportunities for human error were at a minimum. Because Alfa Laval records historical data in Jeeves in a way that suits their own business and administrative needs and not to aid forecasting, it was time consuming to make data suitable for the purpose of this study (for example: current forecasting error per each raw material studied). It required looking in different places of the ERP system, collecting the information, and then sorting, recalculating and analyzing it. 64
65
REFERENCES
Literature: Andersson, G. & Jorner U. & gren A., Regressions- och tidsserieanalys, Studentlitteratur, 1994 Bryman, A. & Bell, E.,Business Research Methods, Oxford University Press, 2007. Greenwood, D. & Morten, L., Introduction to Action Research, Sage Publications, 1998. Grundy, S. Three Modes of Action Research, Deakin University Press, Geelong, 1982. Hoff John C. A Practical Guide to Box-Jenkins Forecasting, Wadsworth, 1983 Nahmias, S., Production and Operations Analysis, McGraw-Hill Irwin, 2005. Yin, R., Case Study Research: Design and Methods, Sage Publications, 2003.
E-books: Argyris,C., Putnam, R., Smith, D. Action Science Concepts, Methods, and Skills for Research and Intervention, Jossey-Bass Inc., Publishers, 1985. Armstrong, J., Principles of Forecasting. A Handbook for Researchers and Practitioners, Kluwer Academic Publishers, 2001. Crum, C., Demand Management Best Practices: Process, Principles, and Collaboration, J. Ross Publishing, 2003. McNiff Jean, You and Your Action Research Project, Routledge Falmer Publisher, 1996.
Articles: Fawcett, S. & Fawcett, S., The firm as a value-added system: Integrating logistics, operations and purchasing, 1995 Fenstermacher, K. & Zeng, D., Know Your Supply Chain, Eller College of Business and Public Administration, University of Arizona Fildes, R., Goodwin, P., Forecasting, Financial Management Caspian Publisher, 2007 Kalekar, P., Time Series Forecasting Using Holt-Winters Exponential Smoothing, December 6, 2004 Kengpol, A., Kaoien, P., & Touminen, M., A Procurement Planning Improvement by Using Linear Programming and Forecasting Models, PICMET, 2007
66
Lapide, L., New Developments in Business Forecasting, The Journal of Business Forecasting, Winter 1998-99 Lapide L., Dont just measure forecast errors, The Journal of Business Forecasting, Graceway Publishing Comapny, February 2007 Martin, J., Operational Excellence: Using Lean Six Sigma to Translate Customer Value through Global Supply Chains, 2008 Susman, G., Planned Change: Prospects for the 1980s, Management Science, Vol. 27. No.2, 1981. Zotteri, G., Kalchschmidt, M., Forecasting practices: Empirical evidence and framework for research, International Journal of Production Economics, January 2007 Other: www.alfalaval.com http://www.web.net/~robrien/papers/arfinal.html#_Toc26184652 2008-04-15 http://www.scu.edu.au/schools/gcm/ar/arr/arow/rmasters.html 2008-04-15 http://www.smetoolkit.org/smetoolkit/en/content/en/416/Demand-Forecasting2008-04-29 http://shmula.com/308/forecasting-unweighted-and-weighted-moving-average-model, 200804-29 http://openforecast.sourceforge.net/docs/net/sourceforge/openforecast/models/DoubleExpone ntialSmoothingModel.html, 2008-05-23 http://64.233.183.104/search?q=cache:aYWnjh43K6oJ:www.ltrr.arizona.edu/~dmeko/notes_ 3.pdf ,2008-05-23 Demand Forecasting Time Series Models, power point presentation by Professor S. Lawrence, College of Business Administration, University of Colorado, USA Alfa Laval Annual Report 2006 Interviews with Martin Jnsson and Tobias Augustsson at Alfa Laval
Figures: Figure 1.1: Alfa Lavals Value Added Chain Figure 1.2: Disposition of Study Figure 2.1: Action Research - Core Characteristics Figure 2.2: Cyclical Process of Action Research Figure 2.3: Summary of methodology Figure 3.1: Summary of qualitative and quantitative forecasting approaches
67
Figure 3.2: Major Time Series Models Figure 3.3: Intercept and Slope Figure 3.4: Theoretical framework Figure 4.1: Current order and forecasting process
Figure 4.2: Summary of the forecasting methods used by Alfa Laval Figure 4.3: Current forecasting methods for selected raw material items Figure 5.1: Raw material item numbers and current forecasting methods Figure 5.2: Historical demand data - snapshot Figure 5.3: Historical demand with corrected values Figure 5.4: Delivery from stock (raw material item nr. 3) with increasing linear trend Figure 5.5: Snapshot of moving average analysis Figure 5.6: Snapshot of double exponential smoothing analysis Figure 5.7:Forecast accuracy, 01/ 2007 Figure 5.8: Graph showing forecast and demand in upward trend. Forecast made by double exponential smoothing (2exp) Figure 5.9: Analysis of raw material items Figure 5.10: Summary of the raw material items and the best forecasting methods
List of Abbreviations
CU SU OM-CP MAPE MAD MSE Component Unit Supply Unit Operation Manufacturing - Component Unit Plates Mean Absolute Percentage Error Mean Absolute Deviation Mean Squared Error
68
69
APPENDIX 2 - Historical data (one item) APPENDIX 3 and 4 - Raw material analysis (one item)
This report contains historical data and raw material analysis for one item only. The complete results can be found on the enclosed CD
70
et =((D3m F3m)/F3m)*100
et = forecast error at period t (three months)
D3m = Demand (Delivery from Stock) - sum of the past three months F3m = Forecast - usage one year ahead divided by four Forecast for the next three months is: Ft3m = (2*(12+11+10) + 1*(9+8+7) + 0,5*(6+5+4+3+2+1)) / 4 Let us call (12+11+10) for a and 1*(9+8+7) + 0,5*(6+5+4+3+2+1) for b Than we can write Ft3m as (2a+b) / 4 D3m is (12+11+10) = a Formula for the forecast evaluation is: (D3m-Ft3m) / Ft3m Substituting in the formula we obtain: (a -(2a+b) / 4) / ((2a+b) / 4) = ((4a -2a - b) / 4) / ((2a +b) / 4) = (2a-b) / (2a+b) It means that the evaluation method is probably incorrect; formula is comparing the forecasted future data (next three months 13, 14 and 15) to the past data (months 10, 11 and 12). There is no indication of how accurate the prediction Ft3m is, it should be compared to recorded real data in months 15, 14 and 13 which it forecasts.
1 2 3 4 5 6 7 8 9 10 D3m 11 e/F3m = (D3m-F3m)/F3m 12 13 Forecast F3m 14 (2a+b)/4 15
71
72