Forecasting based on creeping trend with harmonic weights Creeping trend can be used if variable changes irregularly in time. We use OLS to estimate parameters.

Slides:



Advertisements
Similar presentations
Multiple Regression.
Advertisements

Objectives 10.1 Simple linear regression
Stat381 Cheat sheet: Confidence Intervals
Irwin/McGraw-Hill © Andrew F. Siegel, 1997 and l Chapter 12 l Multiple Regression: Predicting One Factor from Several Others.
Inference for Regression
6-1 Introduction To Empirical Models 6-1 Introduction To Empirical Models.
Econ 140 Lecture 81 Classical Regression II Lecture 8.
Linear regression models
Exponential Smoothing Methods
Classical Regression III
© 2010 Pearson Prentice Hall. All rights reserved Least Squares Regression Models.
The Multiple Regression Model Prepared by Vera Tabakova, East Carolina University.
PSY 307 – Statistics for the Behavioral Sciences
Hypothesis Testing Steps of a Statistical Significance Test. 1. Assumptions Type of data, form of population, method of sampling, sample size.
SIMPLE LINEAR REGRESSION
Simple Linear Regression Analysis
Inference about a Mean Part II
Statistics 101 Class 9. Overview Last class Last class Our FAVORATE 3 distributions Our FAVORATE 3 distributions The one sample Z-test The one sample.
Independent Sample T-test Often used with experimental designs N subjects are randomly assigned to two groups (Control * Treatment). After treatment, the.
SIMPLE LINEAR REGRESSION
Intro to Statistics for the Behavioral Sciences PSYC 1900 Lecture 11: Power.
5-3 Inference on the Means of Two Populations, Variances Unknown
Introduction to Regression Analysis, Chapter 13,
Chapter 12 Section 1 Inference for Linear Regression.
Active Learning Lecture Slides
SIMPLE LINEAR REGRESSION
Correlation and Linear Regression
Regression Analysis (2)
Copyright © 2013, 2010 and 2007 Pearson Education, Inc. Chapter Inference on the Least-Squares Regression Model and Multiple Regression 14.
Correlation and Regression
1 Power and Sample Size in Testing One Mean. 2 Type I & Type II Error Type I Error: reject the null hypothesis when it is true. The probability of a Type.
Testing means, part II The paired t-test. Outline of lecture Options in statistics –sometimes there is more than one option One-sample t-test: review.
Ch9. Inferences Concerning Proportions. Outline Estimation of Proportions Hypothesis concerning one Proportion Hypothesis concerning several proportions.
Multiple Regression and Model Building Chapter 15 Copyright © 2014 by The McGraw-Hill Companies, Inc. All rights reserved.McGraw-Hill/Irwin.
Y X 0 X and Y are not perfectly correlated. However, there is on average a positive relationship between Y and X X1X1 X2X2.
Time-Series Forecasting Overview Moving Averages Exponential Smoothing Seasonality.
AP STATS EXAM REVIEW Chapter 8 Chapter 13 and 14 Chapter 11 and 12 Chapter 9 and Chapter 10 Chapter 7.
Regression Analysis © 2007 Prentice Hall17-1. © 2007 Prentice Hall17-2 Chapter Outline 1) Correlations 2) Bivariate Regression 3) Statistics Associated.
© 1999 Prentice-Hall, Inc. Chap Chapter Topics Component Factors of the Time-Series Model Smoothing of Data Series  Moving Averages  Exponential.
Multiple Regression. Simple Regression in detail Y i = β o + β 1 x i + ε i Where Y => Dependent variable X => Independent variable β o => Model parameter.
Environmental Modeling Basic Testing Methods - Statistics III.
Correlation & Regression Analysis
I271B QUANTITATIVE METHODS Regression and Diagnostics.
Ch8.2 Ch8.2 Population Mean Test Case I: A Normal Population With Known Null hypothesis: Test statistic value: Alternative Hypothesis Rejection Region.
Inference ConceptsSlide #1 1-sample Z-test H o :  =  o (where  o = specific value) Statistic: Test Statistic: Assume: –  is known – n is “large” (so.
MATB344 Applied Statistics I. Experimental Designs for Small Samples II. Statistical Tests of Significance III. Small Sample Test Statistics Chapter 10.
366_7. T-distribution T-test vs. Z-test Z assumes we know, or can calculate the standard error of the distribution of something in a population We never.
Correlation. u Definition u Formula Positive Correlation r =
Chi Square Test for Goodness of Fit Determining if our sample fits the way it should be.
Chapter ?? 7 Statistical Issues in Research Planning and Evaluation C H A P T E R.
Copyright © 2011 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin Multiple Regression Chapter 14.
Lesson Runs Test for Randomness. Objectives Perform a runs test for randomness Runs tests are used to test whether it is reasonable to conclude.
AP Statistics Chapter 11 Section 1. TestConfidence Interval FormulasAssumptions 1-sample z-test mean SRS Normal pop. Or large n (n>40) Know 1-sample t-test.
Class Seven Turn In: Chapter 18: 32, 34, 36 Chapter 19: 26, 34, 44 Quiz 3 For Class Eight: Chapter 20: 18, 20, 24 Chapter 22: 34, 36 Read Chapters 23 &
Linear Regression Hypothesis testing and Estimation.
Bivariate Regression. Bivariate Regression analyzes the relationship between two variables. Bivariate Regression analyzes the relationship between two.
Spearman’s Rho Correlation
Statistical Quality Control, 7th Edition by Douglas C. Montgomery.
Correlation and Simple Linear Regression
Introduction to Inferential Statistics
Chapter 12 Inference on the Least-squares Regression Line; ANOVA
24/02/11 Tutorial 3 Inferential Statistics, Statistical Modelling & Survey Methods (BS2506) Pairach Piboonrungroj (Champ)
Correlation and Simple Linear Regression
Statistical Inference about Regression
SIMPLE LINEAR REGRESSION
Simple Linear Regression and Correlation
Product moment correlation
SIMPLE LINEAR REGRESSION
AP Statistics Chapter 12 Notes.
Statistical Inference for the Mean: t-test
Presentation transcript:

Forecasting based on creeping trend with harmonic weights Creeping trend can be used if variable changes irregularly in time. We use OLS to estimate parameters of partial trends.

Step I Determine the smoothing constant 1<k<n. The most often used k=3. The quality of smoothing depends on the smoothing constant. How to select the smoothing constant? Let’s have a look at your data. Detect the first turning point.

turning point

Step I cont. If great variation in a short time can be observed, small value of smoothing constant need to be selected. If small variation in a short time can be observed, great value of smoothing constant may be selected. Greater value of smoothing constant causes greater smoothing of data (with great values of smoothing constant, time series data react slowly to any changes that may occur).

Step II Estimation of parameters with OLS for partial trends (smoothing constant, k, is the number of cases for each partial trend).

Step III Determine smoothed values, (fitted values). For a given t from 2 to n-1, there is a set of approximants calculated from the partial trend equation.

Step IV Determine mean smoothed value for t. Mean smoothed value is the mean of smoothed values for time period t.

Step V Determine trend growth for mean smoothed values

Step VI Give weight for trend growth. Weights are in ascending order – this way the newest information are the most important. Weight must sum up to 1. formula for calculating weights:

Step VI cont. (weight can be found in statistical tables of harmonic weights if the number of growths is settled).

Step VII Determine mean trend growth as the weighted average of trend growth with harmonic weights.

Step VIII Forecast for time period T

Step IX Confidence interval for forecast requires calculating u T

Step IX cont. u α depends on normality of residuals. 1.If we didn’t reject the null hypothesis (residuals distribution is roughly normal), and n>30 u can be found in normal distribution tables. For sample size n<30 we should use t-Student distribution table (level of significance alpha and n-2 degrees of freedom)

Step IX cont. u α depends on normality of residuals. 2. If we did reject the null hypothesis (residuals distribution is not normal), or we didn’t check the normality of residuals, u α can be calculated from Tchebyshev inequality:)

Step IX cont. Standard error of the trend growth harmonic weight mean trend growth trend growth for time period t

Step IX cont. Confidence interval for forecast (at the level of confidence 1-alpha) forecast for T standard error of the trend growth

Example – step I The following data present the monthly sales (from January to June). The creeping trends method with harmonic weight will let us to construct the forecast for September (T=9). Smoothing constant k=3 (the most often used, in this case it is hard to say which k would be appropriated).

Example – step I Month JanuaryFebruaryMarchAprilMayJune t y t (in thousands zł)

Example – step II i Time interval from t i to t i+2 Time series fragment y i, y i+1, y i+2 Y Partial trend equation 1t = 1, 2, 3y1y1 y2y2 y3y y 1 (t) = 53,74 + 2,5t 2t = 2, 3, 4y2y2 y3y3 y4y y 2 (t) = 49,32 + 6t 3t = 3, 4, 5y3y3 y4y4 y5y y 3 (t) = 14, t 4t = 4, 5, 6y4y4 y5y5 y6y y 4 (t) = 68,16 + 3t Partial trends for k = 3

Example – step III and IV Smoothed (fitted) values (step III) and mean smoothed values (step IV)

Example – step V Trend growths for mean smoothed values

Example – step VI Harmonic weights

Example VI cont. Harmonic weights – if you don’t want to calculate them, find in harmonic weights tables

Example – step VII Mean trend growth

Example – step VIII Forecast for T=9 Expected sales for September will be zl.