Time-series Analysis Forecasting 03

download Time-series Analysis Forecasting 03

of 26

Transcript of Time-series Analysis Forecasting 03

  • 8/10/2019 Time-series Analysis Forecasting 03

    1/26

    MinisterofFinance

  • 8/10/2019 Time-series Analysis Forecasting 03

    2/26

  • 8/10/2019 Time-series Analysis Forecasting 03

    3/26

    Introduction

    OverviewComponents of time series

    Analysis

    Smoothing techniques

    Trend analysis

    Measuring seasonal effect

    Forecasting

    Time-series forecasting with regression

    Application

    3

  • 8/10/2019 Time-series Analysis Forecasting 03

    4/26

    Recall Regression Model: independent variable

    : dependent variable

    Time-series:- Definition: Variable measured overtime in sequential order

    - Independent variable: Time

    4

  • 8/10/2019 Time-series Analysis Forecasting 03

    5/26

    Example:

    5

  • 8/10/2019 Time-series Analysis Forecasting 03

    6/26

  • 8/10/2019 Time-series Analysis Forecasting 03

    7/26

    Long-term

    trend

    (T)

    Cyclical

    effect

    (C)

    Seasonal

    effect

    (S)

    Random

    variation

    (R)

    7

  • 8/10/2019 Time-series Analysis Forecasting 03

    8/26

    + Long-term trend: Smooth pattern withduration > 1 year

    8

  • 8/10/2019 Time-series Analysis Forecasting 03

    9/26

    + Cyclical effect: wavelike pattern about along-term trend, duration > 1 year, usuallyirregular

    Cyclesaresequencesofpointsabove & belowthe trendline

    Time

    Volu

    me

    9

  • 8/10/2019 Time-series Analysis Forecasting 03

    10/26

  • 8/10/2019 Time-series Analysis Forecasting 03

    11/26

    + Random variation: irregular changes that wewant to remove to detect other components

    Time

    Volum

    e

    Random

    variation that

    does not repeat

    11

  • 8/10/2019 Time-series Analysis Forecasting 03

    12/26

  • 8/10/2019 Time-series Analysis Forecasting 03

    13/26

    Example ofMovingaverage:

    Period

    t yt

    3-period

    MA

    4-period

    MA

    4-period centred

    MA

    1 12 - - -

    2 18 15.33 - -

    3 16 19.33 17.5 18.13

    4 24 19.00 18.75 18.50

    5 17 19.00 18.25 19.38

    6 16 19.33 20.5 20.13

    7 25 20.67 19.75 -

    8 21 - - -13

  • 8/10/2019 Time-series Analysis Forecasting 03

    14/26

    Trend analysis

    Techniques

    Linear model:

    yt = 0 + 1t +

    Polinomial

    model

    Purpose Isolate thelong-term trend

    14

  • 8/10/2019 Time-series Analysis Forecasting 03

    15/26

  • 8/10/2019 Time-series Analysis Forecasting 03

    16/26

    Forecast of trend & seasonality:

    Ft

    = [ 0

    + 1

    t ] SIt

    where:

    Ft = forecast for period t

    SIt = seasonal index for period t

    16

  • 8/10/2019 Time-series Analysis Forecasting 03

    17/26

  • 8/10/2019 Time-series Analysis Forecasting 03

    18/26

    18

  • 8/10/2019 Time-series Analysis Forecasting 03

    19/26

    Reasons:

    - CPI is measured over time (monthly)

    - 3 components exist

    Technique: Time-series forecasting with

    regression

    19

  • 8/10/2019 Time-series Analysis Forecasting 03

    20/26

    Random

    variation in 2008CPI peaks in

    Feb

    20

  • 8/10/2019 Time-series Analysis Forecasting 03

    21/26

    Trend analysis

    Using Excel, the trend line is:yt= 100.551 + 0.016 t

    y = 100.551 + 0.016 t

    21

  • 8/10/2019 Time-series Analysis Forecasting 03

    22/26

    Calculate MAt: Mulplicative model:

    yt= Ttx Ct x St x Rt

    MAt= Tt x Ct

    Yt Ttx Ct x St x Rt

    MAt Tt x Ct

    Calculate average of St x RtS

    t

    St is adjusted SIt, so that

    average SIt= 1

    Measuring seasonal effect

    =

    22

  • 8/10/2019 Time-series Analysis Forecasting 03

    23/26

  • 8/10/2019 Time-series Analysis Forecasting 03

    24/26

  • 8/10/2019 Time-series Analysis Forecasting 03

    25/26

    Forecast CPI in 2010

    25

  • 8/10/2019 Time-series Analysis Forecasting 03

    26/26

    - Long term trend:slightincreaseinCPI

    -Seasonal effect: peak inFeb.

    y = 100.551 + 0.016 t

    Forecasted

    CPI