Time Series Modelling, Inference and Forecasting

Time Series Modelling, Inference and Forecasting

RAQUEL PRADO∗ and MIKE WEST† TIME SERIES MODELLING, INFERENCE AND FORECASTING ∗AMS, University of California, Santa Cruz †ISDS, Duke University Contents Raquel Prado and Mike West Part I Univariate Time Series 1 1 Notation, Definitions and Basic Inference 3 ProblemAreas,GraphicalDisplaysandObjectives 3 Stochastic Processes and Stationarity 8 Exploratory Analysis: Auto-Correlation and Cross-Correlation 9 ExploratoryAnalysis: SmoothingandDifferencing 12 APrimeronLikelihoodandBayesianInference 15 Posterior Sampling 25 Discussion and Further Topics 29 Appendix 30 Problems 31 2 Traditional Time Series Models 33 Structure of Autoregressions 33 Forecasting 39 Estimation in AR Models 41 FurtherIssuesonBayesianInferenceforARModels 52 Autoregressive,MovingAverage(ARMA)Models 60 Discussion and Further Topics 76 Appendix 77 Problems 77 3 The Frequency Domain 79 4 Dynamic Linear Models 80 5 State-Space TVAR Models 81 iii iv CONTENTS 6 Other Univariate Models and Methods 82 Part II Multivariate Time Series 83 7 Analysing Multiple Time Series 85 8 Multivariate Models 86 9 Multivariate Models in Finance 87 10 Other Multivariate Models and Methods 88 References 89 Part I UNIVARIATE TIME SERIES 1 Notation, Definitions and Basic Inference Problem Areas, Graphical Displays and Objectives 1.1 The expression time series data, or time series, usually refers to a set of observations collected sequentially in time. These observations could have been collected at equally-spaced time points. In this case we use the notation yt with (t = ..., 1, 0, 1, 2,...), i.e., the set of observations is indexed by t, the time at which each− observation was taken. If the observations were not taken at equally- spaced points then we use the notation yti , with i = 1, 2,..., and so, (ti ti−1) is not necessarily equal to one. − A time series process is a stochastic process or a collection of random variables yt indexed in time. Note that yt will be used throughoutthe book to denote a random variable or an actual realisation of the time series process at time t. We use the notation y ,t , or simply y , to refer to the time series process. If is of { t ∈T} { t} T the form ti,i N , then the process is a discrete-time random process and if is an interval{ in∈ the} real line, or a collection of intervals in the real line, then theT process is a continuous-time random process. In this framework, a time series data set yt, (t = 1,...,n), also denoted by y1:n, is just a collection of n equally-spaced realisations of some time series process. In many statistical models the assumption that the observations are realisations of independent random variables is key. In contrast, time series analysis is con- cerned with describing the dependence among the elements of a sequence of random variables. At each time t, yt can be a scalar quantity, such as the total amount of rainfall collected at a certain location in a given day t, or it can be a k-dimensional vector collecting k scalar quantities that were recorded simultaneously. For instance, if the total amount of rainfall and the average temperature at a given location are measured in day t, we have k = 2 scalar quantities y1,t and y2,t and so, at time t we have ′ a 2-dimensional vector of observations yt = (y1,t,y2,t) . In general, for k scalar quantities recorded simultaneously at time t we have a realisation yt of a vector process y ,t , with y = (y ,...,y )′. { t ∈T} t 1,t k,t 3 4 NOTATION, DEFINITIONS AND BASIC INFERENCE -400 -300 -200 -100 0 100 200 0 1000 2000 3000 time Fig. 1.1 EEG series (units in millivolts) 1.2 Figure 1.1 displays a portion of a human electroencephalogram or EEG, recorded on a patient’s scalp under certain electroconvulsive therapy (ECT) condi- tions. ECT is an effective treatment for patients under major clinical depression (Krystal et al., 1999). When ECT is applied to a patient, seizure activity appears and can be recorded via electroencephalograms. The series corresponds to one of 19 EEG channels recorded simultaneously at different locations over the scalp. The main objective in analysing this signal is the characterisation of the clinical effi- cacy of ECT in terms of particular features that can be inferred from the recorded EEG traces. The data are fluctuations in electrical potential taken at time inter- vals of roughly one fortieth of a second (more precisely 256 Hz). For a more detailed description of these data and a full statistical analysis see West et al. (1999); Krystal etal. (1999)and Prado etal. (2001). Fromthe time series analysis viewpoint, the objective here is modelling the data in order to provide useful insight into the underlying processes driving the multiple series during a seizure episode. Studying the differences and commonalities among the 19 EEG channels is also key. Univari- ate time series models for each individual EEG series could be explored and used to investigate relationships across the 19 channels. Multivariate time series analyses — in which the observed series, yt, is a 19-dimensional vector whose elements are the observed voltage levels measured simultaneously at the 19 scalp locations at each time t — can also be considered. PROBLEM AREAS, GRAPHICAL DISPLAYS AND OBJECTIVES 5 t=1-500 t=701-1200 t=1701-2200 t=2501-3000 t=3001-3500 0 100 200 300 400 500 time Fig. 1.2 Sections of the EEG trace displayed in Figure 1.1. These EEG series display a quasi-periodic behaviour that changes dynamically in time, as shown in Figure 1.2, where different portions of the EEG trace shown in Figure 1.1 are displayed. In particular, it is clear that the relatively high frequency components that appear initially are slowly decreasing towards the end of the series. Any time series model used to describe these data should take into account their non-stationary and quasi-periodic structure. We discuss various modelling alterna- tives for these data in the subsequent chapters, including the class of time-varying autoregressions or TVAR models and other multi-channel models. 1.3 Figure 1.3 shows the annual per capita GDP (gross domestic product) time series for Austria, Canada, France, Germany, Greece, Italy, Sweden, UK and USA during 1950 and 1983. Interest lies in the study of “periodic” behaviour of such series in connection with understanding business cycles. Other goals of the analysis include forecasting turning points and comparing characteristics of the series across the national economies. One of the main differences between any time series analysis of the GDP series and any time series analysis of the EEG series, regardless of the type of models used in such analyses, lies in the objectives. One of the goals in analysing the GDP data is forecasting future outcomes of the series for the several countries given the observed values. In the EEG study there is no interest in forecasting future values of the series given the observed traces, instead the objective is finding an appropriate model 6 NOTATION, DEFINITIONS AND BASIC INFERENCE Austria Canada France 4 5 6 7 8 0.04 0.08 10 20 30 1950 1960 1970 1980 1950 1960 1970 1980 1950 1960 1970 1980 Germany Greece Italy 1.0 2.0 6 10 14 18 20 40 60 80 1950 1960 1970 1980 1950 1960 1970 1980 1950 1960 1970 1980 Sweden UK USA 5 6 7 8 20 30 1.0 1.4 1.8 1950 1960 1970 1980 1950 1960 1970 1980 1950 1960 1970 1980 Fig. 1.3 International annual GDP time series that determines the structure of the series and its latent components. Univariate and multivariate analyses of the GDP data can be considered. 1.4 Other objectives of time series analysis include monitoring a time series in order to detect possible “on-line” changes. This is important for control purposes in engineering, industrial and medical applications. For instance, consider a time series generated from the process y with { t} (1) 0.9yt−1 +ǫt , yt−1 > 1.5 (M1) yt = (1.1) 0.3y +ǫ(2), y 1.5 (M ), ( − t−1 t t−1 ≤− 2 (1) (2) where ǫt N(0, v1), ǫt N(0, v2) and v1 = v2 = 1. Figure 1.4 (a) shows a time series∼ plot of 1,500 observations∼ simulated according to (1.1). Figure 1.4 (b) displays the values of an indicator variable, δt, such that δt = 1 if yt was generated from M1 and δt = 2 if yt was generated from M2. The model (1.1) belongs to the class of so called threshold autoregressive (TAR) models, initially developed by H. Tong (Tong, 1983;Tong, 1990). In particular,(1.1)is a TAR model with two regimes, and so, it can be written in the following, more general, form φ(1)y +ǫ(1), θ + y > 0 (M ) y = t−1 t t−d 1 (1.2) t (2) (2) ( φ yt−1 +ǫt , θ + yt−d 0 (M2), ≤ (1) (2) with ǫt N(0, v1) and ǫt N(0, v2). These are non-linear models and the ∼ ∼ (1) (2) interest lies in making inference about d, θ and the parameters φ , φ , v1 and v2. PROBLEM AREAS, GRAPHICAL DISPLAYS AND OBJECTIVES 7 −4 0 2 4 6 0 500 1000 1500 time (a) 1.0 1.4 1.8 0 500 1000 1500 time (b) Fig. 1.4 (a): Simulated time series yt; (b) Indicator variable δt such that δt =1 if yt was a sampled from M1 and δt =2 if yt was sampled from M2. Model (1.2) serves the purpose of illustrating, at least for a very simple case, a situation that arises in many engineering applications, particularly in the area of control theory.

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    95 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us