Charles University FSV UK STAKAN III Institute of Economic Studies Faculty of Social Sciences Institute of Economic Studies Faculty of Social Sciences.

Slides:



Advertisements
Similar presentations
Introduction Describe what panel data is and the reasons for using it in this format Assess the importance of fixed and random effects Examine the Hausman.
Advertisements

DSCI 5340: Predictive Modeling and Business Forecasting Spring 2013 – Dr. Nick Evangelopoulos Exam 1 review: Quizzes 1-6.
1 12. Principles of Parameter Estimation The purpose of this lecture is to illustrate the usefulness of the various concepts introduced and studied in.
Christopher Dougherty EC220 - Introduction to econometrics (chapter 2) Slideshow: types of regression model and assumptions for a model a Original citation:
P M V Subbarao Professor Mechanical Engineering Department
STAT 497 APPLIED TIME SERIES ANALYSIS
Time Series Analysis Autocorrelation Naive & Simple Averaging
The Simple Linear Regression Model: Specification and Estimation
Qualitative Forecasting Methods
Chapter 3 Simple Regression. What is in this Chapter? This chapter starts with a linear regression model with one explanatory variable, and states the.
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.
Cycles and Exponential Smoothing Models Materials for this lecture Lecture 4 Cycles.XLS Lecture 4 Exponential Smoothing.XLS Read Chapter 15 pages
Prediction and model selection
Chapter 11 Multiple Regression.
Copyright 2013 John Wiley & Sons, Inc. Chapter 8 Supplement Forecasting.
1 A MONTE CARLO EXPERIMENT In the previous slideshow, we saw that the error term is responsible for the variations of b 2 around its fixed component 
R. Werner Solar Terrestrial Influences Institute - BAS Time Series Analysis by descriptive statistic.
Cross-sectional:Observations on individuals, households, enterprises, countries, etc at one moment in time (Chapters 1–10, Models A and B). 1 During this.
Business Forecasting Chapter 5 Forecasting with Smoothing Techniques.
Slides 13b: Time-Series Models; Measuring Forecast Error
Calibration & Curve Fitting
Constant process Separate signal & noise Smooth the data: Backward smoother: At any give T, replace the observation yt by a combination of observations.
ECON 6012 Cost Benefit Analysis Memorial University of Newfoundland
Datta Meghe Institute of Management Studies Quantitative Techniques Unit No.:04 Unit Name: Time Series Analysis and Forecasting 1.
CLASS B.Sc.III PAPER APPLIED STATISTICS. Time Series “The Art of Forecasting”
TIME SERIES by H.V.S. DE SILVA DEPARTMENT OF MATHEMATICS
Charles University FSV UK STAKAN III Institute of Economic Studies Faculty of Social Sciences Institute of Economic Studies Faculty of Social Sciences.
Chapter 16: Time-Series Analysis
Charles University FSV UK STAKAN III Institute of Economic Studies Faculty of Social Sciences Institute of Economic Studies Faculty of Social Sciences.
Charles University FSV UK STAKAN III Institute of Economic Studies Faculty of Social Sciences Institute of Economic Studies Faculty of Social Sciences.
Copyright © 2011 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin Time Series Forecasting Chapter 16.
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Time Series Forecasting Chapter 13.
Copyright © 2014, 2011 Pearson Education, Inc. 1 Chapter 27 Time Series.
Various topics Petter Mostad Overview Epidemiology Study types / data types Econometrics Time series data More about sampling –Estimation.
MBA.782.ForecastingCAJ Demand Management Qualitative Methods of Forecasting Quantitative Methods of Forecasting Causal Relationship Forecasting Focus.
University of Warwick, Department of Sociology, 2014/15 SO 201: SSAASS (Surveys and Statistics) (Richard Lampard) Week 7 Logistic Regression I.
Managerial Economics Demand Estimation & Forecasting.
Time-Series Forecasting Overview Moving Averages Exponential Smoothing Seasonality.
Time series Model assessment. Tourist arrivals to NZ Period is quarterly.
A.1The model is linear in parameters and correctly specified. PROPERTIES OF THE MULTIPLE REGRESSION COEFFICIENTS 1 Moving from the simple to the multiple.
Lecture 7: What is Regression Analysis? BUEC 333 Summer 2009 Simon Woodcock.
PROBABILITY AND STATISTICS FOR ENGINEERING Hossein Sameti Department of Computer Engineering Sharif University of Technology Principles of Parameter Estimation.
Copyright © 2011 Pearson Education, Inc. Time Series Chapter 27.
Charles University FSV UK STAKAN III Institute of Economic Studies Faculty of Social Sciences Institute of Economic Studies Faculty of Social Sciences.
Charles University FSV UK STAKAN III Institute of Economic Studies Faculty of Social Sciences Institute of Economic Studies Faculty of Social Sciences.
Learning Objectives Describe what forecasting is Explain time series & its components Smooth a data series –Moving average –Exponential smoothing Forecast.
1 Introduction to Statistics − Day 4 Glen Cowan Lecture 1 Probability Random variables, probability densities, etc. Lecture 2 Brief catalogue of probability.
Charles University FSV UK STAKAN III Institute of Economic Studies Faculty of Social Sciences Institute of Economic Studies Faculty of Social Sciences.
Charles University FSV UK STAKAN III Institute of Economic Studies Faculty of Social Sciences Institute of Economic Studies Faculty of Social Sciences.
Cycles and Exponential Smoothing Models Materials for this lecture Lecture 10 Cycles.XLS Lecture 10 Exponential Smoothing.XLSX Read Chapter 15 pages
Time Series Analysis PART II. Econometric Forecasting Forecasting is an important part of econometric analysis, for some people probably the most important.
Times Series Forecasting and Index Numbers Chapter 16 Copyright © 2014 by The McGraw-Hill Companies, Inc. All rights reserved.McGraw-Hill/Irwin.
EC 827 Module 2 Forecasting a Single Variable from its own History.
Instructor: R. Makoto 1richard makoto UZ Econ313 Lecture notes.
Charles University FSV UK STAKAN III Institute of Economic Studies Faculty of Social Sciences Institute of Economic Studies Faculty of Social Sciences.
Charles University Charles University STAKAN III
Charles University Charles University STAKAN III
“The Art of Forecasting”
Chapter 4: Seasonal Series: Forecasting and Decomposition
Cycles and Exponential Smoothing Models
Charles University Charles University STAKAN III
Chapter 6: Forecasting/Prediction
Charles University Charles University STAKAN III
Charles University Charles University STAKAN III
Charles University Charles University STAKAN III
Charles University Charles University STAKAN III
Chapter 8 Supplement Forecasting.
16. Mean Square Estimation
Load forecasting Prepared by N.CHATHRU.
Forecasting Plays an important role in many industries
Presentation transcript:

Charles University FSV UK STAKAN III Institute of Economic Studies Faculty of Social Sciences Institute of Economic Studies Faculty of Social Sciences Jan Ámos Víšek Econometrics Tuesday, – Charles University First Lecture (summer term)

Schedule of today talk Recapitulating winter term Smoothing time series Decomposition of time series Smoothing by a function from a given class Adaptive smoothing by moving averages How far the seasonal term is overtaken into the smoothed “series”

Recapitulating winter term ● Type of data (cross-sectional, panel) Regression model ● ● ● Estimators of regression coefficients and of variance of disturbances – conditions B(L)UE of and BQUE of ● ● ● Asymptotic normality of Coefficient of determination, role of intercept Studentized version of estimates of coeffs

Recapitulating winter term ● ● * continued Confidence interval, testing submodels, Chow test Verification of assumptions: * * * * mean value equal zero - no not correlated disturbances homoscedasticity - please yes !! normality of disturbances - please yes !! other assumptions - design of experiment - please no~ correcting heteroscedasticity - please no for cross sectional data (remember - one-eyed....)

Recapitulating winter term ● ● continued Collinearity - indicators and remedies Random carriers - quite different philosophy - instrumental variables - modification of assumptions from deterministic ones (remember are i.i.d. for any ) - specification test - combining forecasts

Starting summer term Panel data Regression model - the simplest case - one subject (patient, industry, etc.) and his/her/its development in time Estimate the regression coefficients and the variance of disturbances Task is again (and, of course, verify assumptions, guarantee “correctness” of model etc.)

Starting summer term Panel data - the simplest case - one subject (patient, industry, etc.) and his/her/its development in time Time series (časové řady)

● Modeling time series by stochastic models - Box-Jenkins methodology Box, G. E. P., G. M. Jenkins: Time Series Analysis, Forecasting and Control. Holden Day, San Francisco, topic for today ● Smoothing (vyrovnávání) time series by curves - sometimes stochastic background - sometimes “purely” mechanical topic for the next week Barlett, M. S.: Smoothing Periodogram from Time Series with Continuous Spectra. Nature, Cambridge, ● Spectral Analysis (Fourier transformation) Granger, C. W. J., M. Hatanaka : Spectral Analysis of Economic Time Series. Princeton University Press, Princeton, topic for the next week

Cipra, T.: Analýza časových řad s aplikacemi v ekonomii. SNTL/ALFA, Praha, Smoothing time series Hamilton, L. C.: Time Series Analysis. Princeton University Press, Princeton, Barlett, M. S.: Smoothing Periodogram from Time Series with Continuous Spectra. Nature, Cambridge, Kozák, J., R. Hindls, J. Arlt: Úvod do analýzy ekonomických časových řad. VŠE, Fakulta informatiky a statistiky, Nerlove,M., D. M. Grether, J. L. Carvallo: Analysis of Economic Time series. Academic Press, NY, Recommended

Recalling time series or Recorded values Smoothed values

Decomposition of time series - trend in, some smooth function (polynomial, exponential, logarithmic, logistic, etc.) - cyclic part, of course again in, i.e. representing economic cycle - seasonal part, again in, i.e. representing seasonal trend(s) - irregular part, maybe in, representing some nonstochastic, rarely occurring events (oil-shocks, terrorist attacks, wars, etc.) - regular stochastic part, is time index, either i.i.d. r.v.’s or some process, frequently assumed to be (at least) stationary, represented by one of “Box-Jenkins scheme”

Additive form Multiplicative form Various combined forms The task is to extract the components, i.e. to “explain” the mechanism generating given time series, or “at least” to predict future values (for one or a few steps ahead). continued Decomposition of time series

The simplest additive form continued Decomposition of time series There is (or even are) code-list(s) of trend curves: 1) Polynomials of K degree 2a) Simple or modified exponentials 2b) Gompertz curve 2c) Logistic curve 3a) Power (index) curve 3b) Johnson curve 3b) Gryck-Haustein curve i.i.d. r.v.’s

Decomposition of the simplest additive form Sometimes we are able to recognize the type of trend: Consider

Polynomials of K degree, an alternative form Consider Decomposition of the simplest additive form since for we have continued

Decomposition of the simplest additive form Now let us evaluate continued Hence

Decomposition of the simplest additive form i.e. is a polynomial of degree. Denote i.e. for We have is a polynomial of degree, etc. is a polynomial of degree, i.e. constant. continued So. Let’s turn our attention to disturbances ‘s.

Decomposition of the simplest additive form continued (proof can be carried out by induction) So this is random term of differences of time series. It has obviously zero mean and variance (next slide)

Decomposition of the simplest additive form continued (Moreover which can be proved using the equality

Decomposition of the simplest additive form continued and hence.) Recapitulation: We make successively differences of time series up to the mo- ment when we think that the rest is random fluctuation around zero. Then, using just derived variance of random term, we test whether the “residual noise” is really only noise.

Mechanical smoothing (adaptive smoothing by moving averages) Again the simplest additive form i.i.d. r.v.’s We look for a “local” optimal smoothing by polynomials of order k; “local” means that we take into account only 2m + 1 points. Smoothing time series at this point we take into account 5 green points and create the red one.

Smoothing the simplest additive form by moving averages i.i.d. r.v.’s continued So we look for Design matrix for m=2 and k=3 n … number of observations

i.i.d. r.v.’s Hence the normal equations are Since we shall utilize the “local” polynomial for smoothing time series at the point, we need to evaluate from normal equ- ations only. We obtain Smoothing the simplest additive form by moving averages continued

Frequently however only simple mean on an odd number of points Smoothing the simplest additive form by moving averages continued Sometimes binomial “mean”, i.e.. or even only,.

What is result of smoothing by moving averages for seasonal term and for cyclic term? Smoothing the simplest additive form by moving averages continued Again the simple additive form i.i.d. r.v.’s What is a character of seasonal term? Amplitude, i.e. absolute value at the point where we add maximal value of seasonal term. Frequency, i.e. how frequently we arrive at the same value of the seasonal term. Let us explain details by giving an example. Phasic shift, i.e. when we arrive at maximum Number of points at which we measure during the season Please, remember this form

Smoothing the simplest additive form by moving averages continued 1) During one season the seasonal term attains its maximum and minimum (of course, once). There are, at least, 2 general assumptions on seasonal term: 2) During one season the seasonal term is neutral, i.e. a) in the case of additive time series -, b) in the case of multiplicative time series -, i.e., recalling that we have and finally. Compare, please!

Smoothing the simplest additive form by moving averages continued There is a simple example of a seasonal term: A

Assume that we measure time “in days” and the season is year, i.e. (say) T = 365 days. Smoothing the simplest additive form by moving averages continued E. g. and, then. Then. What is result of smoothing by moving averages for seasonal term and for cyclic term? Now we are ready to answer the question:

Smoothing the simplest additive form by moving averages continued Let us recall (Karel Rektorys, Přehled užité matematiky, SNTL Praha 1981) : In words: Moving average transforms the sinusoid with frequency and phase shift on the sinusoid with frequency and phase shift but there is a coefficient. How large is it?.

Smoothing the simplest additive form by moving averages continued Remember that e.g. sin( )=0.0688, sin( )= , etc. sin(0.5)= Remember we have used in the example of smoothing by moving averages m=2. Then, i. e..

Smoothing the simplest additive form by moving averages continued If is small, the seasonal term is contained properly in the smoothed values of time series – automatically! When is small? Remember if we record data in a large number of points, is small. Since cyclic part has usually lower frequency than seasonal, i.e. is smaller than for the seasonal term, the cyclic term can be assumed to be properly “transformed” into the smoothed “process”. So, both the seasonal as well as the cyclic terms are usually appropriately transferred into the “smoothed” process by mechanical smoothing. CONCLUSION:

What is to be learnt from this lecture for exam ? All what you need is on Time series and its decomposition Smoothing by a function from a given class Adaptive smoothing by moving averages Is the seasonal term overtaken into the smoothed “series” ? Estimating degree of polynomial smoothing