1 / 31

AAMP Training Materials

AAMP Training Materials. Asfaw Negassa (CIMMYT) & Shahidur Rashid (IFPRI) a.negassa@cgiar.org, s.rashid@cgiar.org. Module 3.1: Analyzing Price Seasonality. Objectives. Understand the role of seasonality analysis in economic time series data Review basic concepts of seasonality analysis

erma
Download Presentation

AAMP Training Materials

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. AAMP Training Materials AsfawNegassa (CIMMYT) & Shahidur Rashid (IFPRI) a.negassa@cgiar.org, s.rashid@cgiar.org Module 3.1: Analyzing Price Seasonality

  2. Objectives • Understand the role of seasonality analysis in economic time series data • Review basic concepts of seasonality analysis • Compute seasonal indices • Forecast future prices using seasonal indices

  3. Background • Why Seasonality Analysis? • Basic concepts

  4. Why undertake seasonality analyses? • Economic time series variables (e.g., prices, sales, purchase, etc.) are composed of various components • One of the critical components is seasonality, especially in cases of: • Agriculture production • Marketing of goods • Commodity pricing

  5. Why undertake seasonality analyses? • Understanding patterns of movement in time series variables is useful for making better forecasts in • Marketing decisions • When to buy? • When to sell? • How long to store? • Production decisions • Seasonality in rainfall (timing of different operations) • Seasonality in insect infestation (timing of insecticide application) • Food security interventions • Determine periods when households are most vulnerable (e.g., seasonal price highs) • Monitoring changes in households food security situations (e.g., deviations from known seasonal price patterns)

  6. Basic concepts • A time series variable (e.g., prices, sales, purchases, stocks, etc) is composed of four key components: • Long-term trends (T) • Seasonal components (S) • Cyclical components (C) • Irregular or random components (I) • These components, when examined individually can help to better understand the sources of variability and patterns of time series variables – hence time series decomposition

  7. Basic concepts • There are several ways of decomposing time series variables (e.g., additive model, multiplicative model) • The basic multiplicative model is given as: Pt = Tt x St x Ct x It Where: Pt is the time series variable of interest Tt is the long-term trend in the data St is a seasonal adjustment factor Ct is the cyclical adjustment factor It represents the irregular or random variations in the series

  8. Time series price variables Include long term, cyclical, seasonal and irregular trends

  9. Computing seasonal indices • There are several different techniques which are used to isolate and examine individually the different components of time series variables • Here we focus on the ratio-to-moving average method, which is commonly used

  10. Computing seasonal indices Step 1: Deseasonalizing • Remove the short-term fluctuations from the data so that the long-term and cyclical components can be clearly identified • The short-term fluctuations include both seasonal (St) patterns and irregular (It) components • The short-term fluctuations can be removed by calculating an appropriate moving average (MA) for the series • Assuming a 12-month period, the moving average for a time period t (MAt) is calculated as: MAt = (Pt– 6 + … + Pt + … + Pt+ 5) / 12

  11. Computing seasonal indices Step 1: Continued…. • For monthly data, the number of periods (12) is even and is not centered – need to center it • To center the moving averages, a two-period moving average is calculated as follows: CMAt = (CMAt + CMAt +1) / 2……… = Tt x Ct……... • Seasonal and irregular components are removed

  12. Centered Moving Average (CMA) Seasonal and irregular components removed

  13. Computing seasonal indices Step 2: Measuring the degree of seasonality • The degree of seasonality is measured by finding the ratio of the actual value to the deseasonalized value SFt = Pt / CMAt = Tt x St x Ct x It / Tt x Ct = St x It • Where SFt is the seasonal factor and others are defined as before.

  14. Seasonal Factor (SF) Actual price (P) / Deseasonalized price (CMA)

  15. Computing seasonal indices Step 3: Establishing average seasonal index • This is obtained by taking the average of seasonal factors for each season • Take the sum of SFs for the month of January and divide by the number of SFs for January over the entire data period • Pure seasonal index (S) obtained, irregular component removed • Note: the sum of indices for all months add-up to 12. • Issues: • Predictability of seasonal patterns • Changes in seasonal patterns

  16. Seasonal index (S): Multiple years Pure seasonal component (S) without irregular component

  17. Seasonal Index (S): One year The seasonal Index helps predict price extremes Seasonal High Seasonal Low

  18. Computing seasonal indices

  19. Completing the price decomposition • In order to complete the price decomposition, three components must be computed • Long term time trend of deseasonalized data (CMAT) • Cyclical Factor (CF) • Irregular Factor (I) • The combination of CMAT and S is a useful method for forecasting future prices

  20. Computing other components Step 4: Finding the long-term trend • The long-term trend is obtained from the deseasonalized data using OLS as follows: CMAt = a + b (Time) Where Time = 1 for the first period in the dataset and increases by 1 each month thereafter • Once the trend parameters are determined, they are used to generate an estimate of the trend value for CMAt for the historical and forecast period.

  21. Long term trend (CMAT) OLS on deseasonalized price (CMA)

  22. Computing other components Step 5: Finding the cyclical component (CF) • The CF is given as the ratio of centered moving average (CMAt) to the centered moving average trend (CMATt) as follows: CF = CMAt / CMATt = Tt x Ct x It / Tt =Ct

  23. Cyclical Factor (CF) Deseasonalized price (CMA) / Long-term trend (CMAT)

  24. Computing other components Step 6: Finding the irregular component (It) • The It is given as the ratio of seasonal factor (SF) to pure seasonal index (S) as follows: It = St It / St = It • This completes the decomposition

  25. Irregular component (I) Seasonal Factor (SF) / Seasonal Index (S)

  26. Forecasting using seasonality analysis • Forecasting time series variables • Prices for the next year can be forecasted • Timing of price changes • When will prices be low? • When will prices be high? • Magnitude of price level at specific future dates • Magnitude of temporal price differential (between seasonal high and low) • Is storage profitable?

  27. Forecasting using seasonality analysis • Two main ways of forecasting • Forecast monthly values by multiplying estimated average value for the next year by the seasonal index for each month– this assumes no significant trend, • First estimate the 12-month trend for deseasonalized data and then apply the seasonal index to forecast the actual prices for the next year Forecast Pt = Tt x St

  28. Forecasting using method 2 CMAT x S

  29. Forecasting limitations • The seasonal analysis is used under normal conditions and there are several factors which alter the seasonal patterns • Drought, floods, earthquake, etc. • Government policy changes • Abnormal years should not be included in the computation of seasonal indices

  30. Exercises • Open Module 3.1 Excel workbook • Read over the notes in the [NOTES] sheet • In [Dar Maize Price Analysis] sheet, replicate the outcomes in the [Tanzania Example] • First, calculate seasonality indices (MA, CMA, SF and S) • Then, forecast future prices (CMAT, CF, predicted price) • Make sure to understand what each component does • Don’t just copy and paste the formulas.

  31. References • Tschirley, David. 1995. Using microcomputer spreadsheets for spatial and temporal price analysis: an application to rice and maize in Ecuador. In Prices, Products, and people: Analyzing agricultural markets in developing countries (Scott, G., editor) International Potato Centre, Lima, Peru.

More Related