Forecasting methods applied to engineering management



Similar documents
Forecasting in supply chains

Ch.3 Demand Forecasting.

Sales forecasting # 2

Time series Forecasting using Holt-Winters Exponential Smoothing

A FUZZY LOGIC APPROACH FOR SALES FORECASTING

Demand Forecasting LEARNING OBJECTIVES IEEM Understand commonly used forecasting techniques. 2. Learn to evaluate forecasts

16 : Demand Forecasting

Forecasting the first step in planning. Estimating the future demand for products and services and the necessary resources to produce these outputs

IDENTIFICATION OF DEMAND FORECASTING MODEL CONSIDERING KEY FACTORS IN THE CONTEXT OF HEALTHCARE PRODUCTS

Studying Achievement

Package SCperf. February 19, 2015

Production Planning. Chapter 4 Forecasting. Overview. Overview. Chapter 04 Forecasting 1. 7 Steps to a Forecast. What is forecasting?

Analysis of algorithms of time series analysis for forecasting sales

Time Series Analysis of Aviation Data

ARMA, GARCH and Related Option Pricing Method

Univariate and Multivariate Methods PEARSON. Addison Wesley

Smoothing methods. Marzena Narodzonek-Karpowska. Prof. Dr. W. Toporowski Institut für Marketing & Handel Abteilung Handel

ADVANCED FORECASTING MODELS USING SAS SOFTWARE

A comparison between different volatility models. Daniel Amsköld

Objectives of Chapters 7,8

Time Series Analysis

Traffic Safety Facts. Research Note. Time Series Analysis and Forecast of Crash Fatalities during Six Holiday Periods Cejun Liu* and Chou-Lin Chen

Simple Methods and Procedures Used in Forecasting

Section A. Index. Section A. Planning, Budgeting and Forecasting Section A.2 Forecasting techniques Page 1 of 11. EduPristine CMA - Part I

Time Series Analysis and Forecasting Methods for Temporal Mining of Interlinked Documents

Machine Learning in Statistical Arbitrage

Industry Environment and Concepts for Forecasting 1

Integrated Resource Plan

Outline: Demand Forecasting

TIME SERIES ANALYSIS

Theory at a Glance (For IES, GATE, PSU)

Forecasting Methods. What is forecasting? Why is forecasting important? How can we evaluate a future demand? How do we make mistakes?

Time Series Analysis

Time Series Analysis and Forecasting

2) The three categories of forecasting models are time series, quantitative, and qualitative. 2)

A COMPARISON OF REGRESSION MODELS FOR FORECASTING A CUMULATIVE VARIABLE

3. Regression & Exponential Smoothing

11. Time series and dynamic linear models

Simple Linear Regression Inference

Module 6: Introduction to Time Series Forecasting

Least Squares Estimation

8. Time Series and Prediction

Financial TIme Series Analysis: Part II

Week TSX Index

Demand Forecasting When a product is produced for a market, the demand occurs in the future. The production planning cannot be accomplished unless

Chapter 4: Vector Autoregressive Models

TIME SERIES ANALYSIS

5. Multiple regression

Advanced Forecasting Techniques and Models: ARIMA

A Study on the Comparison of Electricity Forecasting Models: Korea and China

Readers will be provided a link to download the software and Excel files that are used in the book after payment. Please visit

Some Quantitative Issues in Pairs Trading

COMBINING THE METHODS OF FORECASTING AND DECISION-MAKING TO OPTIMISE THE FINANCIAL PERFORMANCE OF SMALL ENTERPRISES

ITSM-R Reference Manual

Exponential Smoothing with Trend. As we move toward medium-range forecasts, trend becomes more important.

FOCUS FORECASTING IN SUPPLY CHAIN: THE CASE STUDY OF FAST MOVING CONSUMER GOODS COMPANY IN SERBIA

State Space Time Series Analysis

A Regional Demand Forecasting Study for Transportation Fuels in Turkey

Analysis of Bayesian Dynamic Linear Models

Time Series Analysis

USE OF ARIMA TIME SERIES AND REGRESSORS TO FORECAST THE SALE OF ELECTRICITY

Time Series and Forecasting

CHAPTER 11 FORECASTING AND DEMAND PLANNING

Comparison of sales forecasting models for an innovative agro-industrial product: Bass model versus logistic function

Generating Random Numbers Variance Reduction Quasi-Monte Carlo. Simulation Methods. Leonid Kogan. MIT, Sloan , Fall 2010

INCREASING FORECASTING ACCURACY OF TREND DEMAND BY NON-LINEAR OPTIMIZATION OF THE SMOOTHING CONSTANT

Testing for Granger causality between stock prices and economic growth

Forecasting in STATA: Tools and Tricks

Slides Prepared by JOHN S. LOUCKS St. Edward s University

Identification of Demand through Statistical Distribution Modeling for Improved Demand Forecasting

Java Modules for Time Series Analysis

Time Series Analysis: Basic Forecasting.

A Wavelet Based Prediction Method for Time Series

Booth School of Business, University of Chicago Business 41202, Spring Quarter 2015, Mr. Ruey S. Tsay. Solutions to Midterm

Time Series Analysis

Baseline Forecasting With Exponential Smoothing Models

HETEROGENEOUS AGENTS AND AGGREGATE UNCERTAINTY. Daniel Harenberg University of Mannheim. Econ 714,

Introduction to General and Generalized Linear Models

Estimating an ARMA Process

2.2 Elimination of Trend and Seasonality

Confidence Intervals for the Difference Between Two Means

Agenda. Managing Uncertainty in the Supply Chain. The Economic Order Quantity. Classic inventory theory

MGT 267 PROJECT. Forecasting the United States Retail Sales of the Pharmacies and Drug Stores. Done by: Shunwei Wang & Mohammad Zainal

Trend and Seasonal Components

Estimating Volatility

AUTOMATION OF ENERGY DEMAND FORECASTING. Sanzad Siddique, B.S.

Demand Management Where Practice Meets Theory

Moving averages. Rob J Hyndman. November 8, 2009

Outline. Role of Forecasting. Characteristics of Forecasts. Logistics and Supply Chain Management. Demand Forecasting

STRATEGIC CAPACITY PLANNING USING STOCK CONTROL MODEL

5. Linear Regression

A Comparative Study of the Pickup Method and its Variations Using a Simulated Hotel Reservation Data

Sales and operations planning (SOP) Demand forecasting

Department of Mathematics, Indian Institute of Technology, Kharagpur Assignment 2-3, Probability and Statistics, March Due:-March 25, 2015.

Example: Credit card default, we may be more interested in predicting the probabilty of a default than classifying individuals as default or not.

10.2 Series and Convergence

Course Supply Chain Management: Inventory Management. Inventories cost money: Reasons for inventory. Types of inventory

NTC Project: S01-PH10 (formerly I01-P10) 1 Forecasting Women s Apparel Sales Using Mathematical Modeling

Wooldridge, Introductory Econometrics, 3d ed. Chapter 12: Serial correlation and heteroskedasticity in time series regressions

Fitting Subject-specific Curves to Grouped Longitudinal Data

Transcription:

Forecasting methods applied to engineering management Áron Szász-Gábor Abstract. This paper presents arguments for the usefulness of a simple forecasting application package for sustaining operational and strategic engineering management and provides the description to create it. Section 1 contains the clarification of some basic terms and concepts for the present paper, like the importance of management seen as a package of essential decision-making instruments for the engineering sciences. In section 2 criteria for selecting the appropriate forecasting method for a studied problem are presented. Eight forecasting methods are proposed for implementing, as well. In section 3 forecast quality indicators are discussed. MATLAB is proposed as a programming platform for the forecasting instrument application. M.S.C. 2000: 60G18, 62M10, 90B50, 91B84, 97D99. Key words: decision making, engineering management, components of time series, self-designed forecasting tools, Matlab. 1 Introduction The growing complexity and diversity of any business environment permanently generates problems, with solutions based on making and applying decisions. The limited character of material, financial and human resources implies the responsibility for reaching the objectives by finding the most favorable resource allocation and usage conditions. This is why almost all the management science disciplines propose efficient decision making methods. Forecasting is mainly used in the alternative analysis and result evaluation steps. The most efficient approach is research and analysis completed with experience. Much more cheaper than experimenting, research and analysis main characteristic is that it can deliver a model to simulate the problem. The mostly used solution is simulating the problem s variables in mathematical terms and relations, forecasting being here a very useful instrument. Proceedings of The 4-th International Colloquium Mathematics in Engineering and Numerical Physics October 6-8, 2006, Bucharest, Romania, pp. 161-166. c Balkan Society of Geometers, Geometry Balkan Press 2007.

162 Áron Szász-Gábor 2 Proposed Forecasting Methods It is generally accepted that the following criteria should be studied when choosing a forecasting method - see also Zäpfel 1996, p. 96): the accuracy of the forecast; the fineness of reactions; the stability; the calculation time and the memory needed therefore; the ways of influencing the process by the user. Tempelmeier 1992, p. 34-105) proposes the following time series - forecasting method associations: for time series with no seasonal variations with a relatively constant level - gliding averages and first order exponential smoothing; with an increasing or decreasing trend - linear regression, second order exponential smoothing or Holt s method modified second order exponential smoothing). For time series with seasonal variations the best suited methods are the decomposition of time series Ratio-to-Moving-Average), Winters method and the multiple linear regression. Other classifications can be also found in forecasting-related publications. The calculus of linear regression is a statistical method used to quantify the functional link between a dependent variable and one or more) independent variables. As a special case of multiple regressions, the linear regression is suitable for approximating the evolution of a time series, represented as linear. Let A t be the observed time series, with n elements t = 1, n). One can write, if the time series is almost linear: A t = b 0 + b 1 t + ɛ t Using linear regression, the coefficients b 0, b 1 can be calculated, so that the norm of the vector ɛ 1, ɛ 2,..., ɛ n ) is minimal. In conclusion, at a certain moment, the forecasting equation is: F k = b 0 + b 1 k. The weighted averages method uses the weighted average of the last n periods from the available time series. The value n is defined during the decision process, normally being a small value, 3 or 4. The name mobile originates in the fact that the considered data set shifts/glides along the time series. The elements weights can be equal for all periods, or also different. The condition is that the sum of the weights be equal to 1. If we suppose that the number of elements of the time series A i is N, then the mobile averages also form a time series F i with N n elements, according to the following: k n F k+1 = p i A i where n < k N, p i = 1 i=k n 1 Here p i are the weights, A i is the time series and F i are the forecasted values. The exponential smoothing method is more complex than the mobile averages method. Here the deviations of more recent values have a weight higher than the errors from a more distant past. In practice, all values older than the forecasted value are taken into account. This method is characterized by a relative ease of calculus and by a reduced number of pre-calculated values for the current forecast. The formula for exponential smoothing is: F t = αa t 1 + 1 α)f t 1 where F t is the forecast for period t, A t 1 is the value of the time series element from the previous period, F t 1 the forecast for the previous period and α [0; 1] the smoothing coefficient. To initialize F t 1 the value of A t 2 is used. For α values like 0.1 or 0.2 are usually used. Higher values of α would mean giving a higher weight to recent elements of the time series, smaller values of α would assure higher weights for older values. The software package should also contain the modified double exponential smoothing, also known as Holt s method. This method is suitable especially for very

Forecasting methods applied to engineering management 163 dynamic data sets, without seasonal variations. In practice, the double exponential smoothing means using the first order exponential smoothing twice - the first order exponential smoothing applied to the time series of the first order averages obtained using the method described above). This way weighted averages of the first order averages are obtained. S t 1 = αa t 1 + 1 α)s t 2; S t 2 = βs t 2 + 1 β)s t 3 From the upper two equations we obtain: F t = 2S t 1 S t 2 where F t is the forecast for period t, A t 1 the value of the time series element from the previous period, S t the first order average at the end of period t, S t the second order average at the end of period t and α and β the smoothing coefficients. For initializing A 1 the value S 2 = S 1 = A 1 is used. Normally α and β can be freely chosen and usually are values like 0.1 or 0.2. The adaptive exponential smoothing is best suited for forecasts based on a large set of data, without seasonal influence. In this case the smoothing coefficient α is calculated using the forecast error from the previous steps, according to the formula: α t+1 = Et M t where E t = βa t F t ) + 1 + β)e t 1 and M t = β A t F t + 1 β)e t 1. Hence, the forecasting equation is F t+1 = F t + α t A t F t ). The notations are the same as in the methods described before. The modifiable variable is α, with values usually around 0.1 or 0.2. In many cases the granularity of the time series is not sufficient to have a complete view of the past used as a base for the forecast. For some data sets with sudden variations in short periods, undocumented by the values of the time series, a fractal interpolation is suitable to point out the potential variations. A forecast can be made using the new time series applying one of the classic forecasting methods, or the process can be further refined using fractal interpolation. The simplest way to interpolate a function xt), when the points t i, x i ), i = 0, 1,..., N are known starts with a system ) of iterated ) functions. ) ) t an 0 t en W n = + x c n 0 x f n where the coefficients a n, c n, e n and f n are determined from the following conditions, for n = 1, 2, )..., N ) ) ) t0 tn 1 tn tn W n =, W x 0 x n =, the result being the following n 1 x N x n calculus equations: W n t) t = t t 0) t N t t 0) n + t t n) t 0 t N ) t n 1 W n x) x = t t n 1) t n t n 1 ) x n + t t n ) t n 1 t n ) x n 1 in which W n x) = x is determined by a linear interpolation function in t) between the points t n 1, x n 1 ) and t n, x n ). For better emphasizing the variations in a time series, a variant of the fractal interpolation algorithm has been developed, which fractal interpolates a time series using a geometric method. This method copies the initial form of the time series on every interval of the initial time series, keeping the geometric proportions of the initial sections, and can be also implemented. In statistics, an autoregressive integrated moving average ARIMA) model is a generalization of the autoregressive model with a mobile average ARMA). These models are adapted to the time series to better understand the data or to make a

164 Áron Szász-Gábor forecast on the future points of the time series. The model is generally referred to as ARIMAp, d, q), where p, d and q are natural numbers and represent the order of the autoregressive part p), the integrated part d), and the mobile average part q). For a time series X t where t is an integer and X t are real numbers) an ARMAp, q) model is given by: 1 p φ i L i )X t = 1 + q θ i L i )ɛ t where L is the lag operator, φ i are the parameters of the autoregressive part of the model, θ i are the parameters of the moving average part and ɛ t are errors. The errors ɛ t are generally supposed to be independent variables, identically distributed according to a normal distribution with zero mean: ɛ t N0, σ 2 ), where σ 2 is the variance. The ARMA model is generalized by adding a parameter d to form the ARIMAp, d, q) model 1 p φ i L i )1 L) d X t = 1 + q θ i L i )ɛ t where d is a positive integer if d is zero, the model would be equivalent to an ARMA model). The fact that not all parameter selections lead to good models has also to be taken into consideration. Particularly, if the model has to be stationary, then the parameters have to respect the conditions. Of course, there are also a few well-known special cases, for instance an ARIMA0, 1, 0) model given by X t = X t 1 +ɛ is a simple random walk. A number of variations of the ARIMA model are used for various applications. In econometrics, an ARCH autoregressive conditional heteroskedasticity) model, elaborated by Engle in 1982, considers the variance of the term error as a function of the variance of the errors of the previous periods. The ARCH method compares the error s variance with the square of the previous period s errors and is often used to model financial time series which present variable volatility in time. Concretely, let ɛ t be the revenues or revenue residues, the net value of a medium process) and let s assume that ɛ t = σ t z t, where z t iid0, 1) and where the series σ 2 t are modeled by σ 2 t = α 0 + α 1 ɛ 2 t 1 +... + α p ɛ 2 t p, α 0 > 0 and α i 0, i > 0. If we presume the existence of an ARMA model for the error s variance, then the model is a GARCH model generalized autoregressive conditional heteroskedasticity, Bollerslev 1986)). In this case, the GARCHp, q) model is given by σ 2 t = α 0 +α 1 ɛ 2 t 1+... + α p ɛ 2 t p + β 1 σ 2 t 1 +... + β q σ 2 t q. Generally, when heteroskedasticity is tested in econometric models, the best test is the white test. However, in the case of time series, the best test is Engle s ARCH test. 3 Implementing the Forecasting Tools Programs written for MATLAB run on various operating systems, therefore it is the ideal environment to create a forecasting application with didactic purpose, as well as for small enterprises to create proprietary forecasting tools for their specific needs. To assure the quality of a forecast evaluating the qualities of the used forecasting methods may prove useful - before and during the calculus process, as well. We define as a forecasting error the difference between the real value A t achieved in period t and the forecasted value F t e t = A t F t ).

Forecasting methods applied to engineering management 165 The forecasting error isn t a useful measure for classifying the effectiveness of a forecasting method, but the sum of errors offers information on the polarization BIAS) of the forecasted values. Many other error supervision alternatives are also used to calculate the level and dispersion of forecasting errors. This way, the calculus of the Mean Absolute Deviation MAD) is used to quantify the dispersion and thus the credibility of the method; the Mean Squared Error MSE) is used to emphasize the mean distance of the forecasted values compared to the real values and the Coefficient of Variance CV) is useful for easing the comparison of different data sets forecasts. For a good forecasting method the error values should fluctuate around zero - therefore a tracking signal can provide information on that: SIG t = t e i MAD t = n t e i t e i A good alternative to the software written for MATLAB is FreeFore Autobox), which can be used for comparison purposes. The solution offered by FreeFore is a time series analysis instrument, whose results can be used to choose one of the 15 implemented forecasting methods. Still, FreeFore allows manually selecting the method to be used. 4 Conclusion The proposed set of forecasting methods has been implemented using MATLAB, tests have been carried out using various data sets, such as retail stock data presenting seasonal variations, daily exchange rates on a long term and sales volumes with a trend and no seasonal variations. The values forecasted coincided in most cases with the ones provided by FreeFore, the free software using the Autobox forecasting engine. This is a positive argument for implementing forecasting software with a didactic purpose during the management education of engineers. Creating an automated forecasting model could be a useful extension of the proposed software package. As for small engineering enterprises, self-programmed software on the base of MATLAB can provide flexibility of the application at a low cost. References [1] Adya, M. e.a., Automatic identification of time series features for rule-based forecasting, Int. Journal of Forecasting 17 2001), 143-157. [2] Armstrong, S., Combining forecasts: the end of the beginning or the beginning of the end?, Int. Journal of Forecasting 5 1989), 585-588. [3] Armstrong, S., Principles of Forecasting, Kluwer Academic Publishers, Norwell MA, 2001. [4] Baker, M., Sales forecasting, The IEBM Encyclopedia of Marketing, Int. Thompson Business Press, 1999, p. 278-290. [5] Szász-Gábor, Á., Programmpaket zum Management einer Firma durch quantitative Schätzungsmethoden, Lucrare de Diplomă, Universitatea Politehnica Bucureşti, 2004.

166 Áron Szász-Gábor [6] Tempelmeier, H., Material-Logistik: Grundlagen der Bedarfs- und Losgrößenplanung in PPS-Systemen, 2. Auflage, Springer, Berlin, 1992. [7] Yokuma, T., Armstrong, S., Beyond accuracy: comparison of criteria used to select forecasting methods, Int. Journal of Forecasting 111995), 591-597. [8] Zäpfel, G., Grundzüge des Produktions- und Logistikmanagement, Walter de Gruyter, Berlin, New York, 1996. Author s address: Áron Szász-Gábor University Politehnica of Bucharest, Splaiul Independenţei 313, RO-060042 Bucharest, Romania. e-mail: szgaron@gmail.com