A.M. Alonso, C. García-Martos, J. Rodríguez, M. J. Sánchez Seasonal dynamic factor model and bootstrap inference: Application to electricity market forecasting.

Slides:



Advertisements
Similar presentations
Copula Representation of Joint Risk Driver Distribution
Advertisements

Nonparametric Bootstrap Inference on the Characterization of a Response Surface Robert Parody Center for Quality and Applied Statistics Rochester Institute.
Sales Forecasting using Dynamic Bayesian Networks Steve Djajasaputra SNN Nijmegen The Netherlands.
STEPS A Stochastic Top-down Electricity Price Simulator Martin Peat.
Chapter 2. Unobserved Component models Esther Ruiz PhD Program in Business Administration and Quantitative Analysis Financial Econometrics.
DSCI 5340: Predictive Modeling and Business Forecasting Spring 2013 – Dr. Nick Evangelopoulos Exam 1 review: Quizzes 1-6.
A. The Basic Principle We consider the multivariate extension of multiple linear regression – modeling the relationship between m responses Y 1,…,Y m and.
Part II – TIME SERIES ANALYSIS C3 Exponential Smoothing Methods © Angel A. Juan & Carles Serrat - UPC 2007/2008.
Principal Component Analysis Based on L1-Norm Maximization Nojun Kwak IEEE Transactions on Pattern Analysis and Machine Intelligence, 2008.
Budapest May 27, 2008 Unifying mixed linear models and the MASH algorithm for breakpoint detection and correction Anders Grimvall, Sackmone Sirisack, Agne.
6-1 Introduction To Empirical Models 6-1 Introduction To Empirical Models.
1 Approximated tracking of multiple non-rigid objects using adaptive quantization and resampling techniques. J. M. Sotoca 1, F.J. Ferri 1, J. Gutierrez.
Objectives (BPS chapter 24)
PROCESS INTEGRATED DESIGN WITHIN A MODEL PREDICTIVE CONTROL FRAMEWORK Mario Francisco, Pastora Vega, Omar Pérez University of Salamanca – Spain University.
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.
Visual Recognition Tutorial
Forecasting JY Le Boudec 1. Contents 1.What is forecasting ? 2.Linear Regression 3.Avoiding Overfitting 4.Differencing 5.ARMA models 6.Sparse ARMA models.
HMM-BASED PATTERN DETECTION. Outline  Markov Process  Hidden Markov Models Elements Basic Problems Evaluation Optimization Training Implementation 2-D.
Resampling techniques Why resampling? Jacknife Cross-validation Bootstrap Examples of application of bootstrap.
Chapter 10 Simple Regression.
Spot Price Models. Spot Price Dynamics An examination of the previous graph shows several items of interest. –Price series exhibit spikes with seasonal.
NORM BASED APPROACHES FOR AUTOMATIC TUNING OF MODEL BASED PREDICTIVE CONTROL Pastora Vega, Mario Francisco, Eladio Sanz University of Salamanca – Spain.
Bootstrap in Finance Esther Ruiz and Maria Rosa Nieto (A. Rodríguez, J. Romo and L. Pascual) Department of Statistics UNIVERSIDAD CARLOS III DE MADRID.
© John M. Abowd 2005, all rights reserved Statistical Tools for Data Integration John M. Abowd April 2005.
Prediction and model selection
Chapter 11 Multiple Regression.
Estimation and the Kalman Filter David Johnson. The Mean of a Discrete Distribution “I have more legs than average”
A Unifying Review of Linear Gaussian Models
Chapter 12 Section 1 Inference for Linear Regression.
Simple Linear Regression Analysis
1 Simple Linear Regression 1. review of least squares procedure 2. inference for least squares lines.
Traffic modeling and Prediction ----Linear Models
Isolated-Word Speech Recognition Using Hidden Markov Models
1 Least squares procedure Inference for least squares lines Simple Linear Regression.
Particle Filtering (Sequential Monte Carlo)
CSDA Conference, Limassol, 2005 University of Medicine and Pharmacy “Gr. T. Popa” Iasi Department of Mathematics and Informatics Gabriel Dimitriu University.
Kalman Filter (Thu) Joon Shik Kim Computational Models of Intelligence.
Stochastic Linear Programming by Series of Monte-Carlo Estimators Leonidas SAKALAUSKAS Institute of Mathematics&Informatics Vilnius, Lithuania
Random Regressors and Moment Based Estimation Prepared by Vera Tabakova, East Carolina University.
Probabilistic Robotics Bayes Filter Implementations.
Chapter 17 Time Series Analysis and Forecasting ©.
Yaomin Jin Design of Experiments Morris Method.
Various topics Petter Mostad Overview Epidemiology Study types / data types Econometrics Time series data More about sampling –Estimation.
Overview Particle filtering is a sequential Monte Carlo methodology in which the relevant probability distributions are iteratively estimated using the.
Analysing shock transmission in a data-rich environment: A large BVAR for New Zealand Chris Bloor and Troy Matheson Reserve Bank of New Zealand Discussion.
Elements of Financial Risk Management Second Edition © 2012 by Peter Christoffersen 1 Simulating the Term Structure of Risk Elements of Financial Risk.
-Arnaud Doucet, Nando de Freitas et al, UAI
Kanpur Genetic Algorithms Laboratory IIT Kanpur 25, July 2006 (11:00 AM) Multi-Objective Dynamic Optimization using Evolutionary Algorithms by Udaya Bhaskara.
Electric Reliability Council of Texas February 2015.
NCAF Manchester July 2000 Graham Hesketh Information Engineering Group Rolls-Royce Strategic Research Centre.
Simulation Study for Longitudinal Data with Nonignorable Missing Data Rong Liu, PhD Candidate Dr. Ramakrishnan, Advisor Department of Biostatistics Virginia.
An Introduction To The Kalman Filter By, Santhosh Kumar.
Tracking with dynamics
September 28, 2000 Improved Simultaneous Data Reconciliation, Bias Detection and Identification Using Mixed Integer Optimization Methods Presented by:
1 Chapter 8: Model Inference and Averaging Presented by Hui Fang.
The Unscented Particle Filter 2000/09/29 이 시은. Introduction Filtering –estimate the states(parameters or hidden variable) as a set of observations becomes.
Monte Carlo Linear Algebra Techniques and Their Parallelization Ashok Srinivasan Computer Science Florida State University
Colorado Center for Astrodynamics Research The University of Colorado 1 STATISTICAL ORBIT DETERMINATION Kalman Filter with Process Noise Gauss- Markov.
An introduction to Dynamic Factor Analysis
Linear Regression.
CJT 765: Structural Equation Modeling
Unfolding Problem: A Machine Learning Approach
Predictive distributions
Probabilistic Models with Latent Variables
Filtering and State Estimation: Basic Concepts
Product moment correlation
JFG de Freitas, M Niranjan and AH Gee
Biointelligence Laboratory, Seoul National University
Unfolding with system identification
Presentation transcript:

A.M. Alonso, C. García-Martos, J. Rodríguez, M. J. Sánchez Seasonal dynamic factor model and bootstrap inference: Application to electricity market forecasting SEASONAL DYNAMIC FACTOR ANALYSIS AND BOOTSTRAP INFERENCE: APPLICATION TO ELECTRICITY MARKET FORECASTING Carolina García-Martos, María Jesús Sánchez (Universidad Politécnica de Madrid) Julio Rodríguez (Universidad Autónoma de Madrid) Andrés M. Alonso (Universidad Carlos III de Madrid)

A.M. Alonso, C. García-Martos, J. Rodríguez, M. J. Sánchez Seasonal dynamic factor model and bootstrap inference: Application to electricity market forecasting OUTLINE 1. Objectives and motivation 2. Methodology: Previous results 3. Seasonal Dynamic Factor Analysis (SeaDFA). 4. Bootstrap scheme for SeaDFA 5. Simulation results 6. Application: Forecasting electricity prices in the Spanish Market 7. Conclusions

A.M. Alonso, C. García-Martos, J. Rodríguez, M. J. Sánchez Seasonal dynamic factor model and bootstrap inference: Application to electricity market forecasting 1.Objectives APPLICATION Long-run forecasting of electricity prices in the Spanish market METHODOLOGY Extend nonstationary dynamic factor analysis to be able to reduce dimensionality in vector of time series with seasonality. Common factors follow a multiplicative VARIMA model. Inference for the parameters of the model by means of bootstrap techniques.

A.M. Alonso, C. García-Martos, J. Rodríguez, M. J. Sánchez Seasonal dynamic factor model and bootstrap inference: Application to electricity market forecasting 2. Methodology. Previous results. García-Martos, C., Rodríguez, J. and Sánchez, M.J. (2007). Mixed model for short-run forecasting of electricity prices: Application for the Spanish market, IEEE Transactions on Power Systems. VARMA models for the 24 hours vector. Curse of dimensionality. Alonso, A.M., Peña, D. and Rodríguez, J. (2008). A methodology for population projections: An application to Spain. Take advantage of the common dynamics of the 24 hourly time series of electricity prices.

A.M. Alonso, C. García-Martos, J. Rodríguez, M. J. Sánchez Seasonal dynamic factor model and bootstrap inference: Application to electricity market forecasting 2. Methodology of de DFA. Antecedents and previous results. Dimensionality reduction Alonso, A.M., García-Martos, C., Rodríguez, J. and Sánchez, M.J. (2008, working paper): Extension to the case in which common factors follow a multiplicative seasonal VARIMA model. Bootstrap procedure to make inference on parameters of the SeaDFA. Peña-Poncela Model (2004, 2006): Non-stationary Dynamic Factor Analysis. A priori test for the number of non-stationary and stationary factors. Lee-Carter Model (1992). Demographic application. Peña-Box Model (1987). Valid only for the stationary case.

A.M. Alonso, C. García-Martos, J. Rodríguez, M. J. Sánchez Seasonal dynamic factor model and bootstrap inference: Application to electricity market forecasting 3. Seasonal Dynamic Factor Analysis (SeaDFA). Methodology: Use Dynamic Factor Analysis to extract common dynamics of the vector of time series. Particular case in which the vector of time series comes from a series with double seasonality. Common and specific component of seasonality.

A.M. Alonso, C. García-Martos, J. Rodríguez, M. J. Sánchez Seasonal dynamic factor model and bootstrap inference: Application to electricity market forecasting 3. Seasonal Dynamic Factor Analysis (SeaDFA). y t vector of m time series, generated by set of r common unobserved factors. f t is a vector of time series containing the r common factors. Ω loading matrix that relates the vector of observed series y t,with the set of unobserved common factors. ε t vector of specific components, m-dimensional, with zero mean and diagonal variance-covariance matrix. Common unobserved factors, f t, follow a multiplicative VARIMA model: (1-B s ) Ds (1-B) d f t φ(B) Φ(B s ) = c + θ(B) Θ(B s ) u t

A.M. Alonso, C. García-Martos, J. Rodríguez, M. J. Sánchez Seasonal dynamic factor model and bootstrap inference: Application to electricity market forecasting 3. Seasonal Dynamic Factor Analysis (SeaDFA). Measurement and transition equations in the state-space: State-space formulation is the natural way of writing down SeaDFA, which relates a m-dimensional vector of observed time series with an r-dimensional vector of unobserved common factors that follow a multiplicative seasonal VARIMA model.

A.M. Alonso, C. García-Martos, J. Rodríguez, M. J. Sánchez Seasonal dynamic factor model and bootstrap inference: Application to electricity market forecasting 3. Seasonal Dynamic Factor Analysis (SeaDFA). Estimation of the model is performed by EM algorithm. Kalman filter and smoother Log-likelihood L Y (Θ) Initialize procedure j=1 E-step M-step. Obtain Q, S, Ω, Φ, μ 0, P 0 0 Convergence Yes END No j = j+1

A.M. Alonso, C. García-Martos, J. Rodríguez, M. J. Sánchez Seasonal dynamic factor model and bootstrap inference: Application to electricity market forecasting 3. Seasonal Dynamic Factor Analysis (SeaDFA). Estimation of the model is performed by EM algorithm. The expression for the log-likelihood of complete data is:

A.M. Alonso, C. García-Martos, J. Rodríguez, M. J. Sánchez Seasonal dynamic factor model and bootstrap inference: Application to electricity market forecasting 3. Seasonal Dynamic Factor Analysis (SeaDFA). EM ALGORITHM E-step Conditional expectation of log-likelihood:

A.M. Alonso, C. García-Martos, J. Rodríguez, M. J. Sánchez Seasonal dynamic factor model and bootstrap inference: Application to electricity market forecasting 3. Seasonal Dynamic Factor Analysis (SeaDFA). Where… … are obtained from the Kalman filter and smoother

A.M. Alonso, C. García-Martos, J. Rodríguez, M. J. Sánchez Seasonal dynamic factor model and bootstrap inference: Application to electricity market forecasting 3. Seasonal Dynamic Factor Analysis (SeaDFA). EM ALGORITHM M-step Maximization of the conditional expection of log-likelihood (E-step). Non-linear optimization procedure with non-linear constraints. Non linear restrictions appear between parameters involved in the seasonal multiplicative VARIMA model, i.e., between elements in.

A.M. Alonso, C. García-Martos, J. Rodríguez, M. J. Sánchez Seasonal dynamic factor model and bootstrap inference: Application to electricity market forecasting 4.1 Estimate SeaDFA, parameters involved are obtained: 4.2 The specific factors are calculated: Here is important to introduce a correction for matrix estimation using the following relation: 4. Bootstrap scheme for SeaDFA where can be expressed by the estimated loads and the variance of the state variables.

A.M. Alonso, C. García-Martos, J. Rodríguez, M. J. Sánchez Seasonal dynamic factor model and bootstrap inference: Application to electricity market forecasting 4.5 Draw B resamples from the empirical distribution function of the standarized residuals of the VARIMA model for the common factors. 4.4 Calculate the residuals and correct them in the same way that it was done for, but bearing in mind that we impose, so: 4. Bootstrap scheme for SeaDFA 4.3 Draw B resamples from the empirical distribution function of the centered and corrected specific factors:

A.M. Alonso, C. García-Martos, J. Rodríguez, M. J. Sánchez Seasonal dynamic factor model and bootstrap inference: Application to electricity market forecasting 4. Bootstrap scheme for SeaDFA 4.6 Generate B bootstrap replicas of the common factors using the transition equation: 4.7 Generate B bootstrap replicates of the SeaDFM using the bootstrap replicas of the common and specific factors obtained in steps 4.3 and 4.6:

A.M. Alonso, C. García-Martos, J. Rodríguez, M. J. Sánchez Seasonal dynamic factor model and bootstrap inference: Application to electricity market forecasting Inference is based on percentiles obtained from the bootstrap distribution functions of the parameters involved. 4. Bootstrap scheme for SeaDFA From estimating the SeaDFA for each one of the B replicas obtained in step 4.7, we obtain the estimated bootstrap distribution functions of:

A.M. Alonso, C. García-Martos, J. Rodríguez, M. J. Sánchez Seasonal dynamic factor model and bootstrap inference: Application to electricity market forecasting 4. Bootstrap scheme for forecasting Bootstrap procedure described is modified to replicate the conditional distribution of future observations given the observed vector of time series. For each specific and common factor the corresponding last observations are fixed. and the future bootstrap observation are generated by

A.M. Alonso, C. García-Martos, J. Rodríguez, M. J. Sánchez Seasonal dynamic factor model and bootstrap inference: Application to electricity market forecasting 5. Simulation results Bootstrap procedure was validated using a Monte Carlo experiment using three different models: Model 1: A common nonstationary factor (1-B)f t = c + w t, i.e. an I(1) with non null drift (c=3), for m=4 observed series. This model has been selected because it appears in Peña and Poncela (2004), and we have added the constant to validate its estimation, since we have included this possibility in our model. Model 2: A common nonstationary factor (1-B)(1-0.5B) f t = w t, for m=3 observed series. Model 3: We check the performance of our procedure when there is a seasonal pattern. There is a common nonstationary factor following a seasonal multiplicative ARIMA model (1-B 7 )(1-0.4B)(1-0.15B 7 )f t = w t, for m=4 observed series.

A.M. Alonso, C. García-Martos, J. Rodríguez, M. J. Sánchez Seasonal dynamic factor model and bootstrap inference: Application to electricity market forecasting 5. Simulation results for Model 1

A.M. Alonso, C. García-Martos, J. Rodríguez, M. J. Sánchez Seasonal dynamic factor model and bootstrap inference: Application to electricity market forecasting 5. Simulation results for Model 2

A.M. Alonso, C. García-Martos, J. Rodríguez, M. J. Sánchez Seasonal dynamic factor model and bootstrap inference: Application to electricity market forecasting 5. Simulation results for Model 3

A.M. Alonso, C. García-Martos, J. Rodríguez, M. J. Sánchez Seasonal dynamic factor model and bootstrap inference: Application to electricity market forecasting 6. Application: Forecasting electricity prices in the Spanish Market Long-run forecasting in the Spanish market. Compute forecasts for year 2004 using data from January 1998 to December 2003.

A.M. Alonso, C. García-Martos, J. Rodríguez, M. J. Sánchez Seasonal dynamic factor model and bootstrap inference: Application to electricity market forecasting 6. Application: Forecasting electricity prices in the Spanish Market VARIMA(1,0,0)x(1,1,0) 7 model with constant for the common factors.

A.M. Alonso, C. García-Martos, J. Rodríguez, M. J. Sánchez Seasonal dynamic factor model and bootstrap inference: Application to electricity market forecasting 6. Application: Forecasting electricity prices in the Spanish Market Inference using the bootstrap scheme described implies that Constants are not significant. The model is re-estimated including these constraints.

A.M. Alonso, C. García-Martos, J. Rodríguez, M. J. Sánchez Seasonal dynamic factor model and bootstrap inference: Application to electricity market forecasting 6. Application: Forecasting electricity prices in the Spanish Market Inference using the bootstrap scheme described implies that Φ 121 not significant. The model is re-estimated including this constraint.

A.M. Alonso, C. García-Martos, J. Rodríguez, M. J. Sánchez Seasonal dynamic factor model and bootstrap inference: Application to electricity market forecasting 6. Application: Forecasting electricity prices in the Spanish Market Estimated loading matrix:

A.M. Alonso, C. García-Martos, J. Rodríguez, M. J. Sánchez Seasonal dynamic factor model and bootstrap inference: Application to electricity market forecasting 6. Application: Forecasting electricity prices in the Spanish Market

A.M. Alonso, C. García-Martos, J. Rodríguez, M. J. Sánchez Seasonal dynamic factor model and bootstrap inference: Application to electricity market forecasting 6. Application: Forecasting electricity prices in the Spanish Market Forecasts for the whole year 2004, using data from Forecasting horizon varying from 1 day up to 1 year. MAPE for the whole year is 21.56%. Relationship with short-run forecasting MAPE (one-day-ahead). MAPE is around 13-15%. The mixed model of García-Martos et al (2007) obtained a short- run forecasting MAPE equal to 12.61%.

A.M. Alonso, C. García-Martos, J. Rodríguez, M. J. Sánchez Seasonal dynamic factor model and bootstrap inference: Application to electricity market forecasting 6. Application: Forecasting electricity prices in the Spanish Market MAPE for the whole year is 21.56% with SeaDFM and 45.62% with the Mixed Model.

A.M. Alonso, C. García-Martos, J. Rodríguez, M. J. Sánchez Seasonal dynamic factor model and bootstrap inference: Application to electricity market forecasting 6. Application: Forecasting electricity prices in the Spanish Market Third week of February 2004, MAPE 16.38%.

A.M. Alonso, C. García-Martos, J. Rodríguez, M. J. Sánchez Seasonal dynamic factor model and bootstrap inference: Application to electricity market forecasting 6. Application: Forecasting electricity prices in the Spanish Market 24 th -30 th May 2004, prediction intervals including uncertainty due to parameter estimation

A.M. Alonso, C. García-Martos, J. Rodríguez, M. J. Sánchez Seasonal dynamic factor model and bootstrap inference: Application to electricity market forecasting 6. Application: Forecasting electricity prices in the Spanish Market 20 th -26 th December 2004, prediction intervals including uncertainty due to parameter estimation

A.M. Alonso, C. García-Martos, J. Rodríguez, M. J. Sánchez Seasonal dynamic factor model and bootstrap inference: Application to electricity market forecasting 7. Conclusions Extension of the Non-Stationary Dynamic Factor Model to the case in which the common factors follow a multiplicative VARIMA model with constant. Constant included by means of an exogenous variable. Extension to the case in which there are exogenous variables in the SeaDFA is straightforward. Bootstrap procedure to make inference and forecasting. Valid for all models that can be expressed under state-space formulation. MAPE around 20% for year ahead forecasts of electricity prices. Most previous works obtain around 13% for one-day-ahead forecasts.

A.M. Alonso, C. García-Martos, J. Rodríguez, M. J. Sánchez Seasonal dynamic factor model and bootstrap inference: Application to electricity market forecasting SEASONAL DYNAMIC FACTOR ANALYSIS AND BOOTSTRAP INFERENCE: APPLICATION TO ELECTRICITY MARKET FORECASTING Carolina García-Martos, María Jesús Sánchez (Universidad Politécnica de Madrid) Julio Rodríguez (Universidad Autónoma de Madrid) Andrés M. Alonso (Universidad Carlos III de Madrid)