




























































































Estude fácil! Tem muito documento disponível na Docsity
Ganhe pontos ajudando outros esrudantes ou compre um plano Premium
Esta página não é visível na pré-visualização
Não perca as partes importantes!





























































































Established by WALTER A. SHEWHART and SAMUEL S. WILKS
Editors: David J. Balding, Peter Bloomfield, Noel A. C. Cressie, Nicholas I. Fisher; Iain M. Johnstone, J. B. Kadane, Louise M. Ryan,
Editors Emeriti: Vic Barnett, J. Stuart Hunter; David G. Kendall
A complete list of the titles in this series appears at the end of this volume.
This text is printed on acid-free paper. @
Copyright Q 2002 by John Wiley & Sons, Inc., Hoboken, New Jersey. All rights reserved.
Published simultaneously in Canada.
No part of this publication may be reproduced, stored in a retrieval system or transmitted in any form or by any means, electronic, mechanical, photocopying, recording, scanning or otherwise, except as permitted under Section 107 or 108 of the 1976 United States Copyright Act, without either the prior written permission of the Publisher, or authorization through payment of the appropriate per-copy fee to the Copyright Clearance Center, 222 Rosewood Drive, Danvers. MA
For ordering and customer service, call I-800-CALL WILEY.
Library of Congress Cataloging-in-PublicationData i s available.
ISBN 0-471-36355-
Printed in the United States of America
10 9 8 7 6 5 4 3 2
To Carmella
B. K.
To my mother and to the
K. Z?
1.8.1 A Note on Computation 1.8.2 A Note on Model Building 1.8.3 Analysis of Mortality Count Data I .8.4 Application to Evapotranspiration 1.9 Problems and Complements
2 Regression Models for Binary Time Series
2.1 Link Functions for Binary Time Series 2.1.1 The Logistic Regression Model 2.1.2 Probit and Other Links 2.2 Partial Likelihood Estimation 2.3 Inference for Logistic Regression
2.4 Goodness of Fit
2.3.1 Asymptotic Relative Eficiency
2.4.1 Deviance 2.4.2 Goodness of Fit Based on Response ClassiJication 2.5 Real Data Examples 2.5.1 Rainfall Prediction 2.5.2 Modeling Successive Eruptions 2.5.3 Stock Price Prediction 2.5.4 Modeling Sleep Data 2.6 Problems and Complements
3 Regression Models for Categorical Time Series 3.1 Modeling 3.2 Link Functions for Categorical Time Series 3.2. 3.2.
3.3.1 Inference for m= 3.3.2 Inference for m> 3.3.3 Large Sample Theory 3.3. 3.3.5 Testing Hypotheses
3.4.
Models for Nominal Time Series Models for Ordinal Time Series 3.3 Partial Likelihood Estimation
Inference for the Multinomial Logit Model
3.4 Goodness of Fit Goodness of Fit Based on Response ClassiJicatioii
33 33 34 39 42
49 50 51 54 56 59 64 65 66
66 70 70 72 76 79 81
89 90 92 93 97 101 101 104 107 108 109 110
111
CONTENTS ix
3.4.
3.4. 3.4.4 Further Diagnostic Tools 3.5 Examples 3.5. 3.5.2 Soccer Forecasting 3.5.3 Sleep Data Revisited
3.6.1 Alternative Modeling 3.6.2 Spectral Analysis 3.6.3 Longitudinal Data
Appendix: Asymptotic Theory
Power Divergence Family of Goodness of Fit Tests A Family of Goodness of Fit Tests
Explanatory Analysis of DNA Sequence Data
3.6 Additional Topics
3.7 Problems and Complements
4 Regression Models for Count Time Series
4.1 Modeling 4.2 Models f o r Time Series of Counts 4.2.1 The Poisson Model 4.2. 4.2.3 The Zeger-Qaqish Model 4.3 Inference 4.3.
4.3.2 Asymptotic Theory 4.3.3 Prediction Intervals 4.3. 4.3.5 Hypothesis Testing
4.4.1 Deviance 4.4.2 Residuals
4.5. 4.5.2 Tourist Arrival Data 4.6 Problems and Complements
The Doubly Truncated Poisson Model
Partial Likelihood Estimation for the Poisson Model
Inference for the Zeger-Qaqish Model
4.4 Goodness of Fit
4.5 Data Examples Monthly Count of Rainy Days
5 Other Models and Alternative Approaches
5. I Integer Autoregressive and Moving Average Models 5. I. I Branching Processes with Immigration
112 113 115 116 116 119 121 125 125 125 125 126 130
139 140 142 142 148 153 154
154 156 157 157
159 159 159 159 160 163 168
175 175 175
CONTENTS xi
6.4. 6.4. 6.4.4 Likelihood Inference 6.4.5 Longitudinal Data Kalman Filtering in Space-Time Data
MCMC Inference f o r State Space Models Sequential Monte Carlo Sampling Methods
6. 6.6 Problems and Complements
7 Prediction and Interpolation
7.1 Introduction 7.1. 7.1.2 Ordinary Kriging 7.2 Bayesian Spatial Prediction 7.2.1 An Auxiliary Gaussian Process 7.2.2 The Likelihood 7.2. 7.2.4 Prediction of Zo 7.2. 7.2.6 Normalizing Transformations 7.2.7 SofhYare f o r BTG Implementation
7.3.1 Spatial Rainfall Prediction 7.3.2 Comparison with Kriging 7.3.3 Time Series Prediction 7.3.4 Seasonal Time Series 7.4 Problems and Complements
Elements of Stationary Random Fields
Prior and Posterior of Model Parameters
Numerical Algorithm for the Case k = 1
7.3 Applications of BTG
Appendix: Elements of Stationary Processes
References
Index
233 23 7 240 241 241 241
249 249 251 252 258 258 260 262 263 264 265 265 267 267 2 74 2 74 2 78 282
285
297
327
Preface
Regression methods have been an integral part of time series analysis for a long time, dating back at least one hundred years to the work of Schuster (1898) [379]. Schuster’s work on sinusoidal regression was applied in the estimation of “hidden periodicities” and led to the invention of the periodogram. Structural regression models for time series have been around for many years and have figured prominently in the econometrics and business literature. Treated rigorously by Anderson (1971) [20], and Fuller (1996) [ 1611 among others, these structural models have been used for years in forecasting and decomposition of time series into “trend’, “seasonal”, and “irregular” components. Another distinctive example is the class of autoregressive integrated moving average models that came to be associated with Box and Jenkins
the 1920s, and of H.O. Wold in the 1930s. Most of the aforementioned work deals with linear models for time series assuming continuous values. However, there are many instances in practice where the data are not continuous and a linear model is not appropriate. This points to the necessity for alternative modeling. This book introduces the reader to relatively newer developments and somewhat more diverse regression models and methods for time series analysis. It has been written against the backdrop of a vast modern literature on regression methods for time series and related topics as is apparent from the long list of references. A relatively recent statistical development is the important class of models known as generalized linear models (GLM) that was introduced by Nelder and Wedderburn (1972) [336], and which provides under some conditions a unified regression theory suitable for continuous, categorical, and count data. The theory of GLM was origi-
xiii
In ordinary linear regression, a most useful and much dealt with statistical tool, the problem is to relate the mean response of a variable of interest to a set of explanatory variables by means of a linear equation. In many cases this is done under the assump- tion that the data are normal and independent. There are situations however, regarding non-normal observations such as binary and count data, when ordinary linear regres- sion leads to certain inconsistencies, some of which are resolved very elegantly and successfully by generalized linear models. Emboldened by this success, we wish to import ideas from generalized linear models in modeling time series data. The ques- tion then is how to extend the generalized linear models methodology to time series where the data are dependent and the covariates and perhaps even the auxiliary data are time dependent and also random. As we shall see, by using partial likelihood we can transport quite straightforwardly the main inferential features appropriate for in- dependent data to time series, not necessarily stationary, following generalized linear models. An essential component of this is that partial likelihood allows for temporal or sequential conditional inference with respect to a filtration generated by all that is known to the observer at the time of observation. This enables very flexible condi- tional inference that can easily accommodate autoregressive components, functions of past covariates, and all sorts of interactions among covariates. In this chapter we provide the necessary background and an overview of gener- alized linear models by discussing their theoretical underpinnings, having in mind dependent time series data. Specifically, we define what we mean by time series following generalized linear models, introduce the notion of partial likelihood, and discuss in some detail the statistical properties-including large sample results-of the
1
Regression Models for Time Series Analysis. Benjamin Kedem, Konstantinos Fokianos Copyright 0 2002 John Wiley & Sons, Inc. ISBN. 0-471-36355-
maximum partial likelihood estimator. Examples of special cases are presented at the end of the chapter and in subsequent chapters.
The likelihood. defined as the joint distribution of the data as a function of the unknown parameters, lies at the core of statistical theory and practice and its importance cannot be exaggerated. When the data are independent or when the dependence in the data is limited, the likelihood is readily available under appropriate assumptions on the factors in terms of which the joint distribution is expressed. In practice, however, things tend to be more complicated as the nature of dependence is not always known or even understood and consequently the likelihood is not within an easy reach. This gives the impetus for seeking suitable modifications usually by means of clever conditioning. Partial likelihood is an example of such a modification. To motivate partial likelihood, consider a time series {Y,}, t = 1,... , N , with a joint density f ~ ( y 1 , ... , y ~ parametrized by a vector parameter) 8. In addition, suppose there is some auxiliary information A1 known throughout the period of ob- servation. Then the likelihood is a function of 8 defined by the equation
When auxiliary information is not available or is not relevant, it can be dropped from the equation as we shall do forthwith to simplify the notation to
The main difficulty with (1.2) is that quite generally, if no additional assumptions are
more and more information about a fixed set of parameters, we obtain information but about an increasing number of parameters, a fact which raises consistency as well as modeling problems. This is rectified when the conditional dependence in the data is limited and the increased amount of information obtained by a growing time series size concerns a fixed set of parameters. Appropriate assumptions and modifications of the general likelihood (1.2) are called for to accommodate dependent time series data. Helpful clues in the search for a successful definition of "likelihood" can be obtained from Markovian time series, and the notion of partial likelihood advanced by Cox [ 1041, [ 1051. Markov dependence of some order typifies what we mean by conditional limited dependence. As an example, suppose we observe a first order stationary Markov process, {Y,}, at t = 1,... , N , and that f e ( y 1 ,... , y ~ )is the joint density of the
4 TIME SERIES FOLLOWING GENERALIZED LINEAR MODELS
probability space such that Yt is .Ft measurable. Denote the density of Yt, given
function relative to 8, Ft, and the data Yl, Yz,... , Y N , is given by the product
According to Definition 1.1.1, the notion of partial likelihood generalizes both con- cepts of likelihood and conditional likelihood. Indeed, partial likelihood simplifies to ordinary likelihood when auxiliary information is absent and the data are indepen- dent while it becomes a conditional likelihood if the covariate process is deterministic, that is, known throughout the period of observation. Partial likelihood takes into ac- count only what is known to the observer up to the time of actual observation, that is, it allows for sequential conditional inference. Closely associated with this is the martingale property alluded to earlier; it manifests itself in Section 1.4.2 on large sample results for generalized linear models. Evidently, partial likelihood does not require full knowledge of the joint distribution-that is, joint statistical dynamics-of the response and the covariates. This enables conditional inference for a fairly large class of “transition” or “transitional” non-Markovian processes where the response depends on its past values and on past values of the covariates. See Remark 1.2.1 and compare with 1751, [ 123, Ch. 101.
hood estimator (MPLE). Its theoretical properties, including consistency, asymptotic normality, and efficiency, have been studied extensively in [439]. Definition 1.1.1 has been extended to continuous time stochastic processes in connection with survival analysis in [392], [393]. Additional references that treat theoretical properties of partial likelihood processes include [224] and [225]. Ram- ifications of partial likelihood have been considered by several authors. The notion of marginal partial likelihood was introduced in [ 1741, and that of projectedpartial likelihood for modeling longitudinal data with covariates subject to drop-out is stud- ied in [333]. Other types of pseudo-likelihoods have been considered by a fairly large number of authors of which we mention the pseudo-likelihood introduced in [45], [46] for spatial data analysis, and the notion of etnpirical likelihood introduced in [341] for nonparametric inference. See [ 1831 for a general treatment of pseudo-likelihood and [342, Ch. 41 for a survey of pseudo-likelihoods including projile and empirical likelihoods.
prediction, let zt-1 = (Z(t-l)l,... 1 Z ( t - l ) p ) ’ ,
GENERALIZED LINEAR MODELS AND TIME SERIES 5
be the corresponding p-dimensional vector of past explanatory variables or covariates, t = 1,... , N. We shall refer to Z t as the covariateprocess. We denote by Ft-l the cr-field generated by Yt- 1 , Yt-2,... , Z t - l , Z t - 2.. .,
Ft-1 = g { y t - 1 , y t - 2 ,... , Z t - 1 , Z t - 2 ,.. .}
This notation emphasizes the fact that also past values of {Y,} are used in the gen- eration of Ft-1, but at times it is convenient to think of Zt-1 as already including past values of the response, Yt-l, Yt-2, .... When certain covariates X t , W,, ..., are
present values (when known) of the covariates, meaning all that is known to the
processes, or when Yt is a delayed output. A case in point is the relationship between
location, can only be determined at a later period. This is a situations where we may include X t in the “past”. Let us denote by pt = E[yt I Ft-11, the conditional expectation of the response given the past. The problem is to relate pt to the covariates. In the classical theory of linear models it is assumed that the conditional expecta- tion of the response given the past of the process is a linear function of the covariates. However, there are problems with this approach when the data are not normal and a linear relationship between the conditional mean p t and the covariates leads to nonsensical results. For instance, for binary time series with transition probability
mates 7it that are negative or greater than 1. Similarly, for Poisson or Gamma data with mean p t , linear regression of put on the covariates may lead to negative mean estimates. Generalized linear models as, introduced by [336] and further treated in [3 131, resolve these problems when the observations follow a distribution from an exponential family, rendering the classical linear model under normality a special case. Exponential families in the context of stochastic processes have been further studied in [249]. As regards time series, the main ideas of generalized linear models, exponential families and monotone links, can be extended quite readily. We define time series following generalized linear models (GLM) by the following stipulations regarding the so called random and systematic components.
GENERALlZED LlNEAR MODELS AND TlME SERlES 7
been studied by several authors including [299], [383], [447], and more recently (351, [36], [ 1141, and [I851 (see Problems 6 and 7). In this connection, the use of the Box-Cox power transformation,
for X # 0 logu for X = 0
has been suggested as a flexible link function where the special cases X = 1 and X = 0 give linear and log-linear models, respectively [35]. It should be noted that estimation in GARMA models may require profiling when unknown parameters are multiplied by each other.
Remark 1.2.1 Processesfollowing (1.6)may or may not be Markovian. For example, a nonhomogeneous Markovian dependence can be induced by conditioning on past
process is defined against the backdrop of the joint dynamics of {x, Zt }, meaning a clear specification of the jointfinite dimensional distributions of the response and the covariates. However; we do not make any assumption regarding the joint distribution of the response and its covariates.
The literatureoffers quite a few parametric models closely related or at least resem- bling the canonical parametrization (1.6). For example, it is possible to parametrize the exponential family directly via the mean as done in Problem 5. The latter, it may be argued, is perhaps more natural since we are mainly concerned with modeling the conditional mean. But this is only ostensibly true since the canonical parameter B is a function of the conditional mean and can be written explicitly as such. A closely related model is the exponential dispersion model defined by the probability density
f(Y; 0, = .(A, Y) exP(X(Y0 - 40))>,
f ( y ; 8 , A) is a member of the exponential family. Exponential dispersion models and their variants are discussed in [234].
1,... , N , we obtain 1 f ( Y ; B t ; 4J I Ft-l)&= 1
tiation of both sides of the previous equation with respect to Bt yields
which in turn implies the following relationship between the conditional mean and the natural parameter 0t:
8 TIME SERIES FOLLOWING GENERALIZED LINEAR MODELS
By further differentiation of equation (1.1 1) we obtain
which gives
The function V ( p t ) = b" (a,) is called the variancefunction. It clearly depends on pt since, as shown next, Bt is a function of pt.
( I. 12) implies that
We see that Bt itself is a monotone function of pt and hence it can be used to define a link function. The link function
d p t ) = Q t ( p t ) = 77t = z;-,p (1.15) is called the canonical link function. Thus from (1.14) and (1.15), the "natural" choice
g = p-1 @')-I (1.16)
is the explicit form of the canonical link function. In general, however, for any link
Bt = ( w ( g - l ( T t ) ) = K - l ( g % t N , (1.17) where p-'(.) 3 (b')-'(.), and % / 3 p = l/V(p). It is instructive to consider some standard examples in order to clarify the defi- nitions and also elucidate the relevance of generalized linear models for time series analysis. The examples make clear that the notion of generalized linear models is useful for quantitative as well as qualitative dependent data.
Time Series with Conditional Gaussian Marginals
The probability density function (pdf) of the normal distribution with parameters pLt and o2 admits, for t = 1,... , N , the form
and wt = 1, by direct comparison with (1.6). The canonical link is the identity function.
d P t ) = Q t b t ) = pt = 77t = Z L P Thus in the case of time series with conditional Gaussian marginals of the form (1.18) and canonical link, the conditional mean is a linear function of the covariates and GLM regression reduces for all practical purposes to the classical linear regression model [416].