Time Series Analysis using SAS prepared by John Fahey (former Load Forecaster at NSPI) and Voytek Grus (former Sales and Revenue Forecaster at BC Gas Inc.)

Slides:



Advertisements
Similar presentations
Statistical Time Series Analysis version 2
Advertisements

FINANCIAL TIME-SERIES ECONOMETRICS SUN LIJIAN Feb 23,2001.
SMA 6304 / MIT / MIT Manufacturing Systems Lecture 11: Forecasting Lecturer: Prof. Duane S. Boning Copyright 2003 © Duane S. Boning. 1.
Time Series Analysis -- An Introduction -- AMS 586 Week 2: 2/4,6/2014.
Filtering the data. Detrending Economic time series are a superposition of various phenomena If there exists a « business cycle », we need to insulate.
DSCI 5340: Predictive Modeling and Business Forecasting Spring 2013 – Dr. Nick Evangelopoulos Exam 1 review: Quizzes 1-6.
Use of Business Tendency Survey Results for Forecasting Industry Production in Slovakia Use of Business Tendency Survey Results for Forecasting Industry.
Applied Econometric Time Series Third Edition
Time Series Building 1. Model Identification
Forecasting using Non Linear Techniques in Time Series Analysis – Michel Camilleri – September FORECASTING USING NON-LINEAR TECHNIQUES IN TIME SERIES.
STAT 497 APPLIED TIME SERIES ANALYSIS
Business Forecasting Chapter 10 The Box–Jenkins Method of Forecasting.
Time Series Analysis Autocorrelation Naive & Simple Averaging
1 Time Series Forecasting: The Case for the Single Source of Error State Space Model J. Keith Ord, Georgetown University Ralph D. Snyder, Monash University.
Forecasting 5 June Introduction What: Forecasting Techniques Where: Determine Trends Why: Make better decisions.
Time series analysis - lecture 5
Data Sources The most sophisticated forecasting model will fail if it is applied to unreliable data Data should be reliable and accurate Data should be.
1 Spreadsheet Modeling & Decision Analysis: A Practical Introduction to Management Science, 3e by Cliff Ragsdale.
Financial Analysis, Planning and Forecasting Theory and Application By Alice C. Lee San Francisco State University John C. Lee J.P. Morgan Chase Cheng.
Materials for Lecture 13 Purpose summarize the selection of distributions and their appropriate validation tests Explain the use of Scenarios and Sensitivity.
Part II – TIME SERIES ANALYSIS C2 Simple Time Series Methods & Moving Averages © Angel A. Juan & Carles Serrat - UPC 2007/2008.
1 Econometrics 1 Lecture 12 Checking Stationarity:Dealing with Numbers.
Demand Estimation & Forecasting
R. Werner Solar Terrestrial Influences Institute - BAS Time Series Analysis by descriptive statistic.
Applied Business Forecasting and Planning
Forecasting using trend analysis
Box Jenkins or Arima Forecasting. H:\My Documents\classes\eco346\Lectures\chap ter 7\Autoregressive Models.docH:\My Documents\classes\eco346\Lectures\chap.
Traffic modeling and Prediction ----Linear Models
Winter’s Exponential smoothing
The Forecast Process Dr. Mohammed Alahmed
Forecasting and Statistical Process Control MBA Statistics COURSE #5.
Time-Series Analysis and Forecasting – Part V To read at home.
TIME SERIES by H.V.S. DE SILVA DEPARTMENT OF MATHEMATICS
Copyright © 2012 Pearson Education, Inc. All rights reserved. Chapter 10 Introduction to Time Series Modeling and Forecasting.
1 Spreadsheet Modeling & Decision Analysis: A Practical Introduction to Management Science, 3e by Cliff Ragsdale.
1 Appendix B: A Primer of Time Series Forecasting Models B.1 A Primer of Time Series Forecasting Models.
Copyright © 2014, 2011 Pearson Education, Inc. 1 Chapter 27 Time Series.
Time Series Analysis and Forecasting
It’s About Time Mark Otto U. S. Fish and Wildlife Service.
John G. Zhang, Ph.D. Harper College
Introduction to Time Series Analysis
Big Data at Home Depot KSU – Big Data Survey Course Steve Einbender Advanced Analytics Architect.
Copyright © 2011 Pearson Education, Inc. Time Series Chapter 27.
Copyright © 2005 by the McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin Managerial Economics Thomas Maurice eighth edition Chapter 7.
Time Series Analysis and Forecasting. Introduction to Time Series Analysis A time-series is a set of observations on a quantitative variable collected.
Auto Regressive, Integrated, Moving Average Box-Jenkins models A stationary times series can be modelled on basis of the serial correlations in it. A non-stationary.
Dynamic Models, Autocorrelation and Forecasting ECON 6002 Econometrics Memorial University of Newfoundland Adapted from Vera Tabakova’s notes.
1 Chapter 5 : Volatility Models Similar to linear regression analysis, many time series exhibit a non-constant variance (heteroscedasticity). In a regression.
Irwin/McGraw-Hill © Andrew F. Siegel, 1997 and l Chapter 14 l Time Series: Understanding Changes over Time.
Forecasting is the art and science of predicting future events.
Components of Time Series Su, Chapter 2, section II.
Lecture 2 Stephen G Hall Time Series Forecasting.
Times Series Forecasting and Index Numbers Chapter 16 Copyright © 2014 by The McGraw-Hill Companies, Inc. All rights reserved.McGraw-Hill/Irwin.
Managerial Decision Modeling 6 th edition Cliff T. Ragsdale.
Financial Analysis, Planning and Forecasting Theory and Application
Energy Consumption Forecast Using JMP® Pro 11 Time Series Analysis
Time Series Analysis By Tyler Moore.
Operations Management Contemporary Concepts and Cases
Financial Econometrics Lecture Notes 2
Deirdre Syms, George Xia Macomb Community College November 5, 2015
CHAPTER 16 ECONOMIC FORECASTING Damodar Gujarati
A Weighted Moving Average Process for Forecasting “Economics and Environment” By Chris P. Tsokos.
How to select regressors and specifications in Demetra+?
Automatic Forecasting with R
Time Series Analysis and Forecasting
Chapter 8 Supplement Forecasting.
Time Series Analysis and Seasonal Adjustment
WHY WE FILTER TO IDENTIFY THE RELATIONSHIP
Load forecasting Prepared by N.CHATHRU.
BOX JENKINS (ARIMA) METHODOLOGY
Presentation transcript:

Time Series Analysis using SAS prepared by John Fahey (former Load Forecaster at NSPI) and Voytek Grus (former Sales and Revenue Forecaster at BC Gas Inc.) for SAS user group, Halifax February 6, 2009

Overview A little bit about Times Series Analysis in general. Statistical tools available in SAS to conduct Analysis. Empirical example using SAS

What is Time Series Analysis? Time Series - a sequence of data points, measured typically at successive times. Times Series Analysis is a collection of statistical techniques used to understand time series by trying to find an internal mechanism that explains their behavior. –Series decomposition; trend, cyclicality, seasonality, irregularity (random effect) –A central idea to Time series analysis is that it is a statistical (stochastic) process but it has not always been this way… Time series analysis ≠ Forecasting Applications

A little bit of history… –Time a mysteries concept – TS considered a deterministic concept –XIX century – explain TS in terms of trigonometric fcns (fourier series). –1927 – Udny Yule introduced statistical approach (sun-spot studies) –1950’s and 60’s regression with error modeling (econometrics) –1960’s state space models (Kalman filter or Bayesian Forecasting) –Mid 1970’s Box Jenkins introduced ARIMA models Other: multivarate time series, non-linear models, bi- spectra

Approaches to time series analysis. Analysis in time domain. –Trend extrapolation: use linear, polynomials, & sine waves functions for trend extrapolation. (regression and auto regression) –Moving Averages: fit in polynomial of order p to the last (2m+1) points. –Exponential smoothing Winters, Holt-Winters, Harrison (additive vs multiplicative models) –ARIMA models (differencing, stationarity, correlograms) Dynamic regression (arimax) –Statespace / structural models: decompose series into trends, cycle, season, and white noise. –Mulitvariate time series – feedback loop effect –Non-linear models: poly-spectra, bi-linear, random coefficients etc. Analysis in frequency domain – –spectrum analysis (periodograms, harmonics) –Wavelet analysis

Introduction: TS 3 stage process with 6 Analytical Steps Data Screening Trends, seasonal effect, outliers Adjustments Transformations, Trend removal, etc Identifications Examine serial correlation structure Estimation Estimate parameters Model Checking Goodness of fit, residuals Forecasting

Identification: Correlogram of SACF (non-stationary series)

Identification: Correlogram of SACF (stationary series)

TS Analysis using SAS SAS procedures –Analysis in time domain: Trend extrapolation: proc autoreg, proc reg, proc forecast Box Jenkins: proc arima. Trend decomposition: proc X11, proc satespace, proc ucm. Multivariate analysis: proc varmax. –Analysis in frequency domain: proc spectra. SAS/ETS Time Series Forecasting System –Window-based pull-down menus environment (Solutions/Analysis/Time Series Forecasting System) Enterprise Guide 3.0 –Point and click SAS Matrix programming language.

How to get started? -SAS help -Chapter 34 of “Getting started with time series forecasting” gives a good overview of TS forecasting system using drop down windows. -Provides outline of the forecasting process -Specify data inputs -Provide a valid time ID -Select and Fit a forecasting model for each series -Produce the forecasts -Save your work -Concept of time and date measurement in SAS.

Some Literature Time Series Third Edition Sir Maurice Kendall and J Keith Ord (1990) Classical and Modern Regression with Applications Raymond H. Myers (1986) Applied Linear Regression by Sanford Weisberg ( 1985) SAS Help Examples

Questions?