Processing math: 100%

Saturday, February 23, 2013

Time Series Analysis

Trend Line - OLS

  •  It has four major assumptions
    • line
    • normal distribution
    • equal variance
    • serial correlation (looking at the area of volatility)
  • if not linear - transformation should occur. and anything transformed should revert it back to the original.
Autoregression
  • regressing data against itself  - lags (for an example of how to in excel, see autoregression.xlsm)
  • Sample model: AR(2):yt=b0+b1yt1+b2yt2+error
Moving Average
  • Sample model: MA(2):yt=e0+a1et1+a2et2
  • the e's are the errors of an internal model.
ARMA
  • Combination of both AR and MA Model
  • Sample model: ARMA(2,2):yt=b0+b1yt1+b2yt2+e0+a1et1+a2et2
  • AR(1):yt=b0+b1yt1+error
    • b1<1 - no problem. It stays stationary even if there are shocks.
    • b1=1 - shocks has permanent effect in the time series model.
    • b1>1 - not stationary. It explodes or decays.
  • Covariance stationary
    • mean is constant over time
    • variance and covariance is constant over time
  • MA(1):yt=e0+a1et1
    • the errors are artifacts of another model and its always brand new.
  • Box-Jenkins
    • AR
      • ACF - decay to 0
      • PACF -drops to 0
    • MA
      • ACF - drops to 0
      • ACF - decay to 0
  • Parsimony - important, how good is the forecast?
  • AIC and BIC - choosing the model with the lowest value
  • Random walk
    • Model: yt=yt1+e
    • if the first differences is a white noise process.
Integrated Model
  • If we difference it twice, we must go back twice after.
  • ARIMA(p, d, q) model - AR(p), integration at d, MA(q)
Business Modelling
  • MA - Kathang isip lamang because of the errors
  • AR - is based on observable values
  • Rule of thumb - 50 observations
Random walk with Drift
  • An AR model:  AR(2):yt=b0+b1yt1+b2yt2+error
  • it is a random walk with trend
Mean Reversion
  • MPT Application: Variance = wTσw (sensitivity analysis on variancesensitivity.xlsx)
  • must be homoscedastic
  • not work on negatives
GARCH
  • Conditional Heteroscedasticity applies
  • Model:  GARCH(1,1):ht=α0+α1r2t1+β1ht1
EWMA

No comments:

Post a Comment