Intro to Time Series and Semester Review 3 Apr 2012 Dr. Sean Ho busi275.seanho.com Please download: 12-TheFed.xls 12-TheFed.xls Presentations next week!

Slides:



Advertisements
Similar presentations
Autocorrelation Functions and ARIMA Modelling
Advertisements

Assumptions underlying regression analysis
12.1: One-way ANOVA 8 Nov 2011 BUSI275 Dr. Sean Ho HW7 due tonight Please download: 18-Delivery.xls 18-Delivery.xls.
Forecasting Using the Simple Linear Regression Model and Correlation
Inference for Regression
Part II – TIME SERIES ANALYSIS C5 ARIMA (Box-Jenkins) Models
Chapter 13 Multiple Regression
Chapter 12 Multiple Regression
Final Review Session.
Lecture 24: Thurs. Dec. 4 Extra sum of squares F-tests (10.3) R-squared statistic (10.4.1) Residual plots (11.2) Influential observations (11.3,
Basic Business Statistics, 11e © 2009 Prentice-Hall, Inc. Chap 14-1 Chapter 14 Introduction to Multiple Regression Basic Business Statistics 11 th Edition.
Pengujian Parameter Koefisien Korelasi Pertemuan 04 Matakuliah: I0174 – Analisis Regresi Tahun: Ganjil 2007/2008.
Chapter Topics Types of Regression Models
Statistics for Business and Economics Chapter 11 Multiple Regression and Model Building.
Simple Linear Regression Analysis
Regression Diagnostics Checking Assumptions and Data.
Linear Regression Example Data
Ch. 14: The Multiple Regression Model building
© 2000 Prentice-Hall, Inc. Chap Forecasting Using the Simple Linear Regression Model and Correlation.
Review for Exam 2 Some important themes from Chapters 6-9 Chap. 6. Significance Tests Chap. 7: Comparing Two Groups Chap. 8: Contingency Tables (Categorical.
Chapter 7 Forecasting with Simple Regression
Review for Final Exam Some important themes from Chapters 9-11 Final exam covers these chapters, but implicitly tests the entire course, because we use.
Checking Regression Model Assumptions NBA 2013/14 Player Heights and Weights.
BOX JENKINS METHODOLOGY
Statistics for the Social Sciences Psychology 340 Fall 2013 Thursday, November 21 Review for Exam #4.
Inference for regression - Simple linear regression
STA291 Statistical Methods Lecture 27. Inference for Regression.
Hypothesis Testing in Linear Regression Analysis
Regression Method.
Ch8: Confidence Intervals 4 Oct 2011 BUSI275 Dr. Sean Ho Dataset description due tonight 10pm HW4 due Thu 10pm.
Choosing and using statistics to test ecological hypotheses
BPS - 3rd Ed. Chapter 211 Inference for Regression.
Statistics & Biology Shelly’s Super Happy Fun Times February 7, 2012 Will Herrick.
OPIM 303-Lecture #8 Jose M. Cruz Assistant Professor.
© 2003 Prentice-Hall, Inc.Chap 13-1 Basic Business Statistics (9 th Edition) Chapter 13 Simple Linear Regression.
Copyright © 2015 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the prior written consent of McGraw-Hill Education.
EQT 373 Chapter 3 Simple Linear Regression. EQT 373 Learning Objectives In this chapter, you learn: How to use regression analysis to predict the value.
Various topics Petter Mostad Overview Epidemiology Study types / data types Econometrics Time series data More about sampling –Estimation.
© 2000 Prentice-Hall, Inc. Chap The Least Squares Linear Trend Model Year Coded X Sales
Ch14: Linear Correlation and Regression 13 Mar 2012 Dr. Sean Ho busi275.seanho.com Please download: 09-Regression.xls 09-Regression.xls HW6 this week Projects.
Lecture 8 Simple Linear Regression (cont.). Section Objectives: Statistical model for linear regression Data for simple linear regression Estimation.
Ch15: Multiple Regression 12.1: One-way ANOVA 20 Mar 2012 Dr. Sean Ho busi275.seanho.com Please download: 10-MultRegr.xls 10-MultRegr.xls HW7 this week.
Autocorrelation, Box Jenkins or ARIMA Forecasting.
Maths Study Centre CB Open 11am – 5pm Semester Weekdays
Ch10: T-tests 6 Mar 2012 Dr. Sean Ho busi275.seanho.com Please download: 08-TTests.xls 08-TTests.xls HW5 this week Projects.
© 1999 Prentice-Hall, Inc. Chap Chapter Topics Component Factors of the Time-Series Model Smoothing of Data Series  Moving Averages  Exponential.
Applied Quantitative Analysis and Practices LECTURE#25 By Dr. Osman Sadiq Paracha.
Ch12-13: Factorial ANOVA, Blocking ANOVA, and χ 2 Test 27 Mar 2012 Dr. Sean Ho busi275.seanho.com Please download: 11-ANOVA.xls 11-ANOVA.xls HW8 this week.
Statistics: Unlocking the Power of Data Lock 5 STAT 101 Dr. Kari Lock Morgan 11/20/12 Multiple Regression SECTIONS 9.2, 10.1, 10.2 Multiple explanatory.
Basic Business Statistics, 10e © 2006 Prentice-Hall, Inc.. Chap 14-1 Chapter 14 Introduction to Multiple Regression Basic Business Statistics 10 th Edition.
: Pairwise t-Test and t-Test on Proportions 25 Oct 2011 BUSI275 Dr. Sean Ho HW6 due Thu Please download: Mileage.xls Mileage.xls.
Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved.
Ch15: Multiple Regression 3 Nov 2011 BUSI275 Dr. Sean Ho HW7 due Tues Please download: 17-Hawlins.xls 17-Hawlins.xls.
Introduction to Multiple Regression Lecture 11. The Multiple Regression Model Idea: Examine the linear relationship between 1 dependent (Y) & 2 or more.
Ch14: Correlation and Linear Regression 27 Oct 2011 BUSI275 Dr. Sean Ho HW6 due today Please download: 15-Trucks.xls 15-Trucks.xls.
The Box-Jenkins (ARIMA) Methodology
: Hypothesis Tests on Regression 1 Nov 2011 BUSI275 Dr. Sean Ho HW7 due next Tues Please download: 16-Banks.xls 16-Banks.xls.
Statistics for Managers Using Microsoft Excel, 5e © 2008 Prentice-Hall, Inc.Chap 14-1 Statistics for Managers Using Microsoft® Excel 5th Edition Chapter.
Irwin/McGraw-Hill © Andrew F. Siegel, 1997 and l Chapter 14 l Time Series: Understanding Changes over Time.
2/25/ lecture 121 STATS 330: Lecture 12. 2/25/ lecture 122 Diagnostics 4 Aim of today’s lecture To discuss diagnostics for independence.
Semester Review 6 Dec 2011 BUSI275 Dr. Sean Ho Paper due tomorrow Final this Sat.
Jump to first page Inferring Sample Findings to the Population and Testing for Differences.
Ch16: Time Series 24 Nov 2011 BUSI275 Dr. Sean Ho HW8 due tonight Please download: 22-TheFed.xls 22-TheFed.xls.
BPS - 5th Ed. Chapter 231 Inference for Regression.
Statistics and probability Dr. Khaled Ismael Almghari Phone No:
Quantitative Methods Residual Analysis Multiple Linear Regression C.W. Jackson/B. K. Gordor.
Chapter 6: Autoregressive Integrated Moving Average (ARIMA) Models
CHAPTER 29: Multiple Regression*
PENGOLAHAN DAN PENYAJIAN
Multiple Regression Chapter 14.
Presentation transcript:

Intro to Time Series and Semester Review 3 Apr 2012 Dr. Sean Ho busi275.seanho.com Please download: 12-TheFed.xls 12-TheFed.xls Presentations next week!

3 Apr 2012 BUSI275: review2 Outline for today Time series data: dependent observations Trend-based approach: Trends, cycles, seasons Dummy coding a seasonal model Additive vs. multiplicative model Autoregressive approach: Autocorrelation Correlogram and the AR(p) model Finite differencing and the ARIMA model Semester review

3 Apr 2012 BUSI275: review3 Time series data Time is one of the independent variables Often only 1 DV and 1 IV (time) But can also have other time-varying IVs Why not just use regression with time as the IV? Assumptions of regression: in particular, observations need to be independent! Two (complementary) approaches: Model time-varying patterns and factor them out, leaving independent (uncorrel) resids Model the conditional dependence of current value on past values

3 Apr 2012 BUSI275: review4 Patterns / trends Patterns to look for: Trend: linear growth/loss  Or non-linear: t λ, ln(t), S-curve, etc. Cycle: multi-year repeating pattern Season: pattern that repeats each year  e.g., if data is quarterly, use dummy vars for each season: b 2 S 2 + b 3 S 3 + b 4 S 4 Additive model: Y t = (b 0 + b 1 t) + (cyclical component) + (seasonal component) + (residual) Assumptions: residuals are independent, normally distributed, with constant variance

3 Apr 2012 BUSI275: review5 Seasonal pattern e.g., quarterly retail sales Use dummy vars: Pick a base case, say Wi 3 dummy vars: Sp, Su, Fa Additive seasonal model: Ŷ t = (b 0 + b 1 *t) + b 2 *Sp + b 3 *Su + b 4 *Fa (predicted) = (trend) + (seasonal) 1+3 predictors If monthly data instead, Try 11 dummy vars tQtrSalesSpSuFa Wi$18k Sp$25k Su$33k Fa$23k Wi$20k000 Nayland College

3 Apr 2012 BUSI275: review6 Additive vs. multiplicative Homoscedasticity of residuals is often an issue Check residual plot: resids vs. predicted value Or similar “Spread vs. level” plot: √(std resids) vs. predicted If you see a distinct “fan” shape, i.e., the SD of residuals grows with the level of the variable, Then apply a log transform to the variable: ln(Y t ) = (linear) + (cyclic) + (seasonal) This is equivalent to a multiplicative model: Y t = (linear) * (cyclic) * (seasonal)

3 Apr 2012 BUSI275: review7 Outline for today Time series data: dependent observations Trend-based approach: Trends, cycles, seasons Dummy coding a seasonal model Additive vs. multiplicative model Autoregressive approach: Autocorrelation Correlogram and the AR(p) model Finite differencing and the ARIMA model Semester review

3 Apr 2012 BUSI275: review8 Autocorrelation Another approach models the correlation of the current value against past values: P( Y t | Y t-1 ) Or in general: P( Y t | {Y s : all s<t} ) The autocorrelation (ACF) r p of a variable Y is the correlation of the variable against a time-shifted version of itself: p is the lag (always positive): number of time units to shift p.629 #14-64c: (sales) vs. (ad in prev wk) e.g., quarterly seasonal data may have large r 4

3 Apr 2012 BUSI275: review9 Correlogram and AR model The correlogram is a column chart illustrating the autocorrelation for various lags Statistical software will also show the critical value for each autocorrelation Autocorrelations that are significant suggest an autoregressive model with lag p: AR(p) TheFed data: AR(2) model Current rate depends on prev 2 years (“memory”)

3 Apr 2012 BUSI275: review10 ARIMA model ARIMA model combines three parts: AR (autoregression) uses recent values to predict current value MA (“moving average”) uses recent errors in prediction (residuals) to predict current resid I (“integration”) uses finite differencing to factor out consistent trends  Looks at Y t – Y t-d, where d is the lag  Year-over-year change (annual data): d=1  Year-over-year change (quarterly): d=4 The Box-Jenkins method is a way to find the 3 lags that parameterise an ARIMA(p,d,q) model

3 Apr 2012 BUSI275: review11 Combining approaches The trend-based approach and the autoregressive approach can be combined: First fit broad trends/cycles/seasons Resulting residuals (de-trended, de-seasonalized data) may still be auto-correlated Use correlograms to choose an ARIMA model for the residuals Goal is to get the residuals to be small, independent, normally distributed, and with constant variance

3 Apr 2012 BUSI275: review12 Outline for today Time series data: dependent observations Trend-based approach: Trends, cycles, seasons Dummy coding a seasonal model Additive vs. multiplicative model Autoregressive approach: Autocorrelation Correlogram and the AR(p) model Finite differencing and the ARIMA model Semester review

3 Apr 2012 BUSI275: review13 Overview: foundation Intro: variables, sampling (Ch1) Exploring data: Via charts (Ch2), via descriptives (Ch3) Probability and independence (Ch4) Probability distributions: Discrete: binom, Poisson, hypg (Ch5) Continuous: norm, unif, expon (Ch6) Sampling distributions (Ch7, 8) SDSM (norm and t-dist), binomial Types of problems: % area, conf. int., n Hypothesis testing (Ch9): H 0 /H A, rej / fail rej, Type-I/II, α/β, p-value

3 Apr 2012 BUSI275: review14 Overview: statistical tests T-tests (Ch10): 1 sample mean (ch9) Two independent samples (het σ, hom σ) Paired data (Excel type 1) Regression (Ch14-15): Linear model, predicted ŷ, residuals R 2, F-test, t-test on slopes, interaction ANOVA (ch12): One-way + Tukey-Kramer Blocking (w/o repl) + Fisher's LSD Two-way (w/repl), interaction χ 2 (ch13): contingency tables, O vs. E

3 Apr 2012 BUSI275: review15 Ch7-8: Sampling distributions Sampling distributions: SDSM, w/σ: NORMDIST(), SE = σ/√n SDSM, w/s: TDIST(), SE = s/√n Binomial proportion: norm, SE = √(pq / n) Types of problems: area, μ, thresh, n, σ Area: prob of getting a sample in given range Threshold: e.g., confidence interval n: minimum sample size

3 Apr 2012 BUSI275: review16 Ch9: Hypothesis testing Decision making H 0 vs. H A, in words and notation (e.g., μ 1 ≠ μ 2 ) Conclusions: reject H 0 vs. fail to reject H 0 Risks/errors: Type-I vs. Type-II Level of significance: α Power: 1-β p-value: what is it, how do we use it?

3 Apr 2012 BUSI275: review17 Ch10: t-tests T-test on 1 sample (ch8-9): SDSM: SE = s/√n Binomial proportions: SE = √(pq/n) T-test on two independent samples, general: SE = √(SE SE 2 2 ), df = complicated T-test on two independent samples, similar σ: SE = s p √(1/n 1 + 1/n 2 ), df = df 1 + df 2 T-test on two proportions: SE = √(SE SE 2 2 ), use z instead of t T-test on paired data: SE = s d / √n, df = (#pairs) – 1

3 Apr 2012 BUSI275: review18 Ch14: Regression Scatter plots and correlation, t-test on r R 2 and % variability explained Linear model Y = b 0 + b 1 X + ε Finding+interpreting slope+intercept Finding+interpreting s ε (STEYX) Assumptions / diagnostics: Linearity + homoscedasticity (residual plots) Normality of residuals (histogram) (skip: non-collinearity + indep of resids) ch15: only concepts of multiple regression, especially moderation

3 Apr 2012 BUSI275: review19 Ch12-13: Categorical data Ch12: ANOVA: H 0 / H A, global F-test, concept of follow-up One-way ANOVA + Tukey-Kramer Blocking ANOVA + Fisher's LSD  F-test for main factor effect  F-test for whether blocking is needed Two-way ANOVA  F-test for each main effect  F-test for interaction Ch13: χ 2 (O vs. E) 1 var vs. uniform, normal 2 vars (contingency table): independence

3 Apr 2012 BUSI275: review20 TODO Presentations next week Remember your potential clients: what questions would they like answered? Tell a story/narrative in your presentation me your preferences (if any) for time slot I will post the schedule tomorrow You will be writing feedback to each group Short answer form, on myCourses Upload or share your presentation slides Can be done shortly after your presentation Paper is due 16Apr, final exam is 26Apr 9am