Presentation is loading. Please wait.

Presentation is loading. Please wait.

1 Chapter 2 and 3 Forecasting Advanced Forecasting Operations Analysis Using MS Excel.

Similar presentations


Presentation on theme: "1 Chapter 2 and 3 Forecasting Advanced Forecasting Operations Analysis Using MS Excel."— Presentation transcript:

1 1 Chapter 2 and 3 Forecasting Advanced Forecasting Operations Analysis Using MS Excel

2 2 Forecasting is the process of extrapolating the past into the future Forecasting is something that organization have to do if they are to plan for future. Many forecasts attempt to use past data in order to identify short, medium or long term trends, and to use these patterns to project the current position into the future. Backcasting: method of evaluating forecasting techniques by applying them to historical data and comparing the forecast to the actual data. Forecasting

3 3

4 4 Forecasting Why Forecasting? Some Characteristics of Forecasts –Forecasts are seldom (hardly) perfect –Product family and aggregated forecasts are more accurate than individual product forecasts Assumptions of Forecasting Models –Information (data) about the past should be available –The pattern of the past will continue into the future

5 5 Steps to Forecasting Starts with gathering and recording information about the situation. Enter the data into a worksheet or any other business analysis tool Creation of graphs Examine the data and the graphs visually to get some understanding of the situation (judgmental phase) Developing hypotheses and models Try for alternative forecasting approaches and do ‘what- if’ analysis to check if the resulting forecast fits the data

6 6 Evaluation of Forecasting Model To judge how well a forecasting model fit the past observation, both precision and bias must be considered. Measuring the precision of a forecasting model: There are three possible measures used to evaluate precision of forecasting systems, each of them is based on the error or deviation between the forecasted and actual values: MAD, MSE, MAPE

7 7 Mean Absolute Deviation - MAD No direct Excel function to calculate MAD Excel: =ABS(AVERAGE (error range)) Evaluation of Forecasting Model

8 8 Mean Square Error - MSE Excel: =SQRT(SUM(error range)/COUNT(error range)) Evaluation of Forecasting Model ----------------------- Student activity --------------------------

9 9 Mean Absolute Percentage Error - MAPE Evaluation of Forecasting Model ----------------------- Student activity --------------------------

10 10 Which of the measure of forecast accuracy should be used?  The most popular measures are MAD and MSE.  The problem with the MAD is that it varies according to how big the number are.  MSE is preferred because it is supported by theory, and because of its computational efficiency.  MAPE is not often used.  In general, the lower the error measure (BIAS, MAD, MSE) or the higher the R2, the better the forecasting model

11 11 As it was discussed previously that neither MAD nor MSE gives an accurate indication of the validity of a forecast model. Thus, judgment must be used. Raw data sample should always be subjected to managerial judgment and analysis before formal quantitative techniques can be applied. Good Fit – Bad Forecast

12 12 Outlier may result from simple data entry errors. or sometime the data may be correct but can be considered as atypical observed values. Outlier may occur for example in time periods when the product was just introduced or about to be phased out. So experienced analyst are well aware that raw data sample may not be clear. a- Outlier P Demand data with an outlier

13 13 Cause-and-effect relationships should be examined before applying any quantitative analysis on the historical data sample. Examples of causes that may affect the patterns in data sample : 1- The data sample before a particular year may not be applicable because: - Economic conditions have changed - The product line was changed 2- Data for a particular year may not be applicable because: - There was an extraordinary marketing effort - A natural disaster prevented demand from occurring b- Causal data adjustment

14 14 The meaning of a “good fit” is subjective to the manager’s interpretation of the forecasting model. So before a forecast is accepted for action, quantitative techniques must be augmented by such judgmental approaches as decision conferencing and expert consultations. c- Illusory (misleading) patterns

15 15 -Company actions -Competitors actions -Industry demand -Market share -Company sales -Company costs -Environmental factors To prepare a valid forecast, the following factors that influence the forecasting model should be examined:

16 16 Forecasting Approaches 1- Qualitative Forecasting Forecasting based on experience, judgment, and knowledge. Used when situation is vague and little data exists. Example: new products and new technology 2- Quantitative Forecasting Forecasting based on data and models. Used when situation is ‘stable’ and historical data exist. Example: existing product, current technology

17 17 Judgmental/Qualitative Quantitative models Time SeriesCausal Moving average Exponential smoothing Trend projection Seasonal indexes Regression Curve fitting Econometric Market survey Expert opinion Decision conferencing Data cleaning Data adjustment Environmental factors Forecasting Approaches

18 18 Quantitative Forecasting Time Series Models: Time Series Model Year 2000 Sales Sales 1999 Sales 1998 Sales 1997 …… Casual Models: Causal Model Year 2000 Sales Price Population Advertising ……

19 19 Time Series Forecasting Is based on the hypothesis that the future can be predicted by analyzing historical data samples. –Assumes that factors influencing past and present will continue influence in future. –Obtained by observing response variable at regular time periods.

20 20 Time series model The Time series model can be also classified as Forecasting directly from the data value Moving average Weighted moving average Exponential smoothing Forecasting by identifying patterns in the past Trend projection Seasonal influences Cyclical influences

21 21 1- Moving Average Method - The forecast is the mean of the last n observation. The choice of n is up to the manager making the forecast - If n is too large then the forecast is slow to respond to change - If n is too small then the forecast will be over-influenced by chance variations -This approach can be used where a large number of forecasting needed to be made quickly, for example in a stock control system where next week’s demand for every item needs to be forecast Forecasting directly from the data value

22 22 Demand Forecast

23 23 Longer-period moving averages (larger n) react to actual changes more slowly ----------------------- Student activity --------------------------

24 24 When using a moving average method described before, each of the observations used to compute the forecasted value is weighted equally. In certain cases, it might be beneficial to put more weight on the observations that are closer to the time period being forecast. When this is done, this is known as a weighted moving average technique. The weights in a weighted MA must sum to 1. Weighted MA(3) = F t+1 = wt 1 (D t ) + wt 2 (D t-1 ) + wt 3 (D t-2 ) 2- Weighted Moving Average ----------------------- Student activity --------------------------

25 25 n = 3 F4 = ((w1* d1)+(w2 * d2)+ (w3 * d3))/(w1 + w2 + w3) Where w1, w2, w3 are weights and d1, d2 & d3 are demands. Many books on forecasting state that the sum of weights (w1+w2+w3) must be equal to 1. 2- Weighted Moving Average ----------------------- Student activity --------------------------

26 26 The exponential smoothing techniques gives weight to all past observations, in such a way that the most recent observation has the most influence on the forecast, and the older observation always has the less influence on the forecast. It is only necessary to store two values the last actual observation and the last forecast. Smoothing constant (  ) is the proportion of the difference between the actual value and the forecast. The value of the smoothing constant (  ) is needed to be included in the model in order to make the next period’s forecast. 3- Exponential Smoothing Exponential Smoothing can be calculated using the following formula: F2 =  *D1 +(1-  )*F1

27 27 Smoothing constant (  ) must set between 0 and 1. Normally the value of the smoothing constant is chosen to lie in the range 0.1 to 0.3. Typically, a value closer to 0 is used for forecasting demand that is changing slowly, however, value closer to 1 is used for forecasting demand that is changing more rapidly. There is no way to calculate F1 because each forecast is based on the previous forecasts. 3- Exponential Smoothing

28 28 How to select smoothing constant  Sensitivity analysis is an analysis used to test how sensitive the the forecast is to the change in alpha or smoothing constant. A general rule for selecting alpha is to perform scenario analysis and pick the value that produces a reasonable value for the MAD and a forecast that is reasonably close to the actual demand. 3- Exponential Smoothing

29 29 With trend-adjusted exponential smoothing, the trend is calculated and included in the forecast. This allows the forecast to be smoothed without losing the trend. Trend-adjusted exponential smoothing requires two parameters: the alpha value used by exponential smoothing and the beta value used to control how the trend component enters the model. Both values must be between 0 and 1. Fit1= F1 + T1 The formula to calculate the forecast component is : F2 = Fit1+  *(D1-Fit1) The formula to calculate the trend component is T2 = T1 +  *  *(D1-Fit1) 4- Trend – Adjusted Exponential Smoothing

30 30 ----------------------- Student activity --------------------------

31 31 Time series data are usually considered to consist of six component : 1.Average demand: is simply the long-term mean demand 2.Trend component : long term overall up or down movement. Changes due to population, technology, age, culture, etc. Typically several years duration. 3.Autocorrelation : is simply a statement that demand next period is related to demand this period 4.Seasonal component : periodic pattern of up and down fluctuations repeating every year. It is that portion of demand that follows a short-term pattern. Occurs within a single year 5.Cyclical component : is much like the seasonal component, only its period is much longer. Affected by business cycle, political, and economic factors. 6.Random component: random movements that follow no pattern. Due to unforeseen events. Short duration and non-repeating

32 32 Components of A Time Series Model Time Trend Random movement Time Cycle Time Seasonal pattern Demand Time Trend with seasonal pattern

33 33 There are two types of seasonal variation: Additive seasonal variation : Occurs when the seasonal effects are the same regardless of the trend. Multiplication seasonal variation : Occurs when the seasonal effects vary with the trend effects. It’s the most common type of seasonal variation Forecasting by identifying patterns in the past Cyclical and Seasonal Issues Seasonal Decomposition of Time Series Data

34 34 1.Computing seasonal indices requires data that match the seasonal period. If the seasonal period is monthly, then monthly data are required. A quarterly seasonal period requires quarterly data. 2.Calculate the centered moving averages (CMAs) whose length matches the seasonal cycle. The seasonal cycle is the time required for one cycle to be completed. Quarterly seasonality requires a 4-period moving average, monthly seasonality requires a 12-period moving average and so on. 3.Determine the Seasonal-Irregular Factors or components. This can be done by dividing the raw data by the corresponding depersonalized value. 4.Determine the average seasonal factors. In this step the random and cyclical components will be eliminated by averaging them. 5.Estimate next year’s total demand 6.Divide this estimate of total demand by the number of seasons, then multiply it by the seasonal index for that season Cyclical and Seasonal Issues Computing Multiplicative Seasonal Indices

35 35 Cyclical and Seasonal Issues Computing Multiplicative Seasonal Indices Step 2 = AVERAGE(B2:B5) Step 3 = B3/C3 Step 1 Step 4

36 36 Cyclical and Seasonal Issues Using Seasonal Indices to Forecast To forecast using seasonal indices 1- Compute the forecast using annual values. Any forecasting techniques can be used. 2- Use the seasonal indices to share out the annual forecast by periods

37 37 Cause-and-Effect Relationships -Causal forecasting seeks to identify specific cause-effect relationships that will influence the pattern of future data. Causes appear as independent variables, and effects as dependent, response variables in forecasting models. Independent variable Dependent, response variable Pricedemand Decrease in population decrease in demand Number of teenagerdemand for jeans -Causal relationships exist even when there is no specific time series aspect involved. -The most common technique used in causal modeling is least squares regression.

38 38 Linear Trend analysis It is noticed from this figure that there is a growth trend influencing the demand, which should be extrapolated into the future.

39 39 The linear trend model or sloping line rather than horizontal line. The forecasting equation for the linear trend model is Y =  +  X or Y = a + bX Where X is the time index (independent variable). The parameters alpha and beta ( a and b) (the “intercept” and “slope” of the trend line) are usually estimated via a simple regression in which Y is the dependent variable and the time index t is the independent variable. Linear Trend analysis

40 40 Linear Trend analysis Using a data table (what if analysis ) to determine the best-fitting straight line with the lowest MSE

41 41 Linear Trend analysis Simple Linear Regression Analysis Regression analysis is a statistical method of taking one or more variable called independent or predictor variable- and developing a mathematical equation that show how they relate to the value of a single variable- called the dependent variable. Regression analysis applies least-squares analysis to find the best- fitting line, where best is defined as minimizing the mean square error (MSE) between the historical sample and the calculated forecast. Regression analysis is one of the tools provided by Excel.

42 42 Simple Linear Regression Analysis

43 43

44 44 Linear Trend analysis Multiple Linear Regression Analysis Simple linear regression analysis use one variable (quarter number) as the independent variable in order to predict the future value. In many situations, it is advantageous to use more than one independent variable in a forecast.

45 45 Two factors that control the frequency of breakdown. So they are the independent variables. Y = a + bX1 + cX2 Intercept Slope 1 Slope2 Multiple Linear Regression Analysis

46 46 Multiple Linear Regression Analysis

47 47

48 48 Linear Trend analysis Quadratic Regression Analysis Quadratic regression analysis fits a second-order curve of the form Y = a + bX + cX 2 Quadratic regression is prepared by adding the squared value of the time periods. The coefficients in the quadratic formula are calculated again using regression, where time periods and the squared time periods are the independent variables and the demand remains the dependent variable.

49 49 Quadratic Regression Analysis

50 50 Quadratic Regression Analysis


Download ppt "1 Chapter 2 and 3 Forecasting Advanced Forecasting Operations Analysis Using MS Excel."

Similar presentations


Ads by Google