Introduction to ARMA Models

Total Page:16

File Type:pdf, Size:1020Kb

Introduction to ARMA Models Statistics 910, #8 1 Introduction to ARMA Models Overview 1. Modeling paradigm 2. Review stationary linear processes 3. ARMA processes 4. Stationarity of ARMA processes 5. Identifiability of ARMA processes 6. Invertibility of ARMA processes 7. ARIMA processes Modeling paradigm Modeling objective A common measure used to assess many statistical models is their ability to reduce the input data to random noise. For example, we often say that a regression model “fits well" if its residuals ideally resemble iid random noise. We often settle for uncorrelated processes with data. Filters and noise Model the observed time series as the output of an un- known process (or model) M \driven by" an input sequence composed iid 2 of independent random errors ftg ∼ Dist(0; σ ) (not necessarily nor- mal), t ! Process M ! Xt From observing the output, say X1;:::;Xn, the modeling task is to characterize the process (and often predict its course). This \signal processing" may be more appealing in the context of, say, underwater acoustics rather than macroeconomic processes. Prediction rationale If a model reduces the data to iid noise, then the model captures all of the relevant structure, at least in the sense that Statistics 910, #8 2 we obtain the decomposition ^ Xt = E (XtjXt−1; :::) + t = Xt + t : Causal, one-sided Our notions of time and causation imply that the cur- rent value of the process cannot depend upon the future (nonantici- pating), allowing us to express the process M as Xt = M(t; t−1;:::) : Volterra expansion is a general (too general?) expansion (like the infinite Taylor series expansion of a function) that expresses the process in terms of prior values of the driving input noise. Differentiating M with respect to each of its arguments, we obtain the one-sided expansion (Wiener 1958), 1 X X X Xt − µ = jt−j + jkt−jt−k + jkmt−jt−kt−m + ··· ; j=0 j;k j;k;m @2M where, for example, jk = evaluated at zero. The first @t−j @t−k summand on the right gives the linear expansion. Linearity The resulting process is linear if Xt is a linear combination (weighed sum) of the inputs, 1 X Xt = jt−j (1) j=0 Other processes are nonlinear. The process is also said to be causal (Defn 3.7) if there exists an white noise sequence t and an absolutely summable sequence (or sometimes an `2 sequence) f jg such that (1) holds. The key notion of causality is that the current observation is a function of current and past white noise terms (analogous to a random variable that is adapted to a filtration). Invertibility The linear representation (1) suggests a big problem for iden- tifying and then estimating the process: it resembles a regression in which all of the explanatory variables are functions of the unobserved Statistics 910, #8 3 errors. The invertibility condition implies that we can also express the errors as weighted sum of current and prior observations, 1 X t = πjXt−j: j=0 Thinking toward prediction, we will want to have an equivalence of the form (for any r.v. Y ) E [Y jXt;Xt−1;:::] = E [Y jt; t−1;:::] This equivalence implies that information in the current and past er- rors is equivalent to information in the current and past data (i.e., the two sigma fields generated by the sequences are equivalent). Notice that the conditioning here relies on the infinite collection of prior val- ues, not a finite collection back to some fixed point in time, such as t = 1. Implication and questions The initial goal of time series modeling using the class of ARMA models to be defined next amounts to finding a par- simonious, linear model which can reduce fXtg to iid noise. Questions remain about how to do this: 1. Do such infinite sums of random variables exist, and how are they to be manipulated? 2. What types of stationary processes can this approach capture (i.e., which covariance functions)? 3. Can one express these models using few parameters? Review: Stationary Linear Processes Notation of S&S uses fwtg as the canonical mean zero, finite variance white-noise process (which is not necessarily normally distributed), 2 wt ∼ WN(0; σ ) P Convergence. For the linear process defined as Xt = j jwt−j to exist, we need assumptions on the weights j. An infinite sum is a limit, 1 n X X jwt−j = lim jwt−j; n j=0 j=0 Statistics 910, #8 4 and limits require a notion of convergence (how else do you decide if you are close)? Modes of convergence for r.v.s include: • Almost sure, almost everywhere, with probability one, w.p. 1, a:s: Xn ! X, P f! : lim Xn = Xg = 1: P • In probability, Xn ! X, lim P f! : jXn − Xj > g = 0 n • In mean square or `2, the variance goes to zero: 2 E (Xn − X) ! 0: `2 convergence of linear process requires that X 2 j < 1 or f jg 2 `2: j Consequently X X 2 j j+k ≤ j < 1: j In general, if f jg 2 `2 and fXtg is stationary, then the linear filter 1 X Yt = jXt−j j=0 defines a stationary process with covariance function X Cov(Yt+h;Yt) = γY (h) = j kγX (h − j + k): j;k P P 2 Informally, Var(Yt) = j;k j kγ(k − j) ≤ γ(0) j j . Covariances When the \input" is white noise, then the covariances are infinite sums of the coefficients of the white noise, 1 2 X γY (h) = σX j j+h: (2) j=0 Statistics 910, #8 5 P Absolutely summable S&S often assume that j jj < 1 (absolutely summable). This is a stronger assumption that simplifies proofs of 1 a.s. convergence. For example, j is not absolutely summable, but is square summable. We will not be too concerned with a.s. convergence and will focus on mean-square convergence. (The issue is moot for ARMA processes.) Question Does the collection of linear processes as given define a vector space that allows operations like addition? The answer is yes, using the concept of a Hilbert space of random variables. Statistics 910, #8 6 ARMA Processes Conflicting goals Obtain models that possess a wide range of covariance functions (2) and that characterize j as functions of a few parameters that are reasonably easy to estimate. We have seen several of these parsimonious models previously, e.g., • Finite moving averages: j = 0; j > q > 0. j • First-order autoregression: j = φ ; jφj < 1. ARMA processes also arise when sampling a continuous time solution to a stochastic differential equation. (The sampled solution to a pth degree SDE is an ARMA(p,p − 1) process.) Definition 3.5 The process fXtg is an ARMA(p,q) process if 1. It is stationary. 2. It (or the deviations Xt − EXt) satisfies the linear difference equation written in \regression form" (as in S&S, with negative signs attached to the φs) as Xt − φ1Xt−1 − · · · − φpXt−p = wt + θ1wt−1 + ··· + θqwt−q (3) 2 where wt ∼ WN(0; σ ). Backshift operator Abbreviate the equation (3) using the so-called back- k shift operator defined as B Xt = Xt−k. Using B, write (3) as φ(B)Xt = θ(B)wt where the polynomials are (note the differences in signs) p φ(z) = 1 − φ1z − · · · − φpz and q θ(z) = 1 + θ1z + ··· + θqz Closure The backshift operator shifts the stochastic process in time. Be- cause the process is stationary (having a distribution that is invariant of the time indices), this transformation maps a stationary process Statistics 910, #8 7 into another stationary process. Similarly, scalar multiplication and finite summation preserve stationarity; that is, the vector space of sta- tionary processes is closed in the sense that if Xt is stationary, then P 2 so too is Θ(B) Xt so long as j θj < 1. Aside: Shifts elsewhere in math The notion of shifting a stationary process f:::;Xt;Xt+1;::: to f:::;Xt−1;Xt;::: has parallels. For ex- ample, suppose that p(x) is a polynomial. Define the operator S on the space of polynomials defined as S p(x) = p(x − 1). If the space of polynomials is finite dimensional (up to degree m), then we can write 3 m S = I + D + D2=2 + D =3! + ··· D =m! where I is the identity (I p = p) and D is the differntiation operator. (The proof is a direct application of Taylor's theorem.) Value of backshift notation 1. Compact way to write difference equations and avoid backsub- stitution, Backsubstitution becomes the conversion of 1=(1 − x) into a geometric series; If we manipulate B algebraically in the conversion of the AR(1) to moving average form, we obtain the same geometric representation without explicitly doing the te- dious backsubstitution: w φ(B)X = w ) X = t t t t 1 − φB 2 2 = (1 + φB + φ B + :::)wt 2 = wt + φwt−1 + φ wt−2 + :::: (4) Which clearly requires (as in a geometric series) that jφj < 1. 2. Expression of constraints that assure stationarity and identifia- bility. 3. Express effects of operations on a process: • Adding uncorrelated observation random noise to an AR pro- cess produces an ARMA process. • A weighted mixture of lags of an AR(p) model is ARMA. Statistics 910, #8 8 Consider the claim that an average of several lags of an autoregression forms an ARMA process. Backshift polynomials make it trival to show this claim holds: θ(B) φ(B)X = w ) θ(B)X = w ; t t t φ(B) t which has the rational form of an ARMA process.
Recommended publications
  • Stationary Processes and Their Statistical Properties
    Stationary Processes and Their Statistical Properties Brian Borchers March 29, 2001 1 Stationary processes A discrete time stochastic process is a sequence of random variables Z1, Z2, :::. In practice we will typically analyze a single realization z1, z2, :::, zn of the stochastic process and attempt to esimate the statistical properties of the stochastic process from the realization. We will also consider the problem of predicting zn+1 from the previous elements of the sequence. We will begin by focusing on the very important class of stationary stochas- tic processes. A stochastic process is strictly stationary if its statistical prop- erties are unaffected by shifting the stochastic process in time. In particular, this means that if we take a subsequence Zk+1, :::, Zk+m, then the joint distribution of the m random variables will be the same no matter what k is. Stationarity requires that the mean of the stochastic process be a constant. E[Zk] = µ. and that the variance is constant 2 V ar[Zk] = σZ : Also, stationarity requires that the covariance of two elements separated by a distance m is constant. That is, Cov(Zk;Zk+m) is constant. This covariance is called the autocovariance at lag m, and we will use the notation γm. Since Cov(Zk;Zk+m) = Cov(Zk+m;Zk), we need only find γm for m 0. The ≥ correlation of Zk and Zk+m is the autocorrelation at lag m. We will use the notation ρm for the autocorrelation. It is easy to show that γk ρk = : γ0 1 2 The autocovariance and autocorrelation ma- trices The covariance matrix for the random variables Z1, :::, Zn is called an auto- covariance matrix.
    [Show full text]
  • Methods of Monte Carlo Simulation II
    Methods of Monte Carlo Simulation II Ulm University Institute of Stochastics Lecture Notes Dr. Tim Brereton Summer Term 2014 Ulm, 2014 2 Contents 1 SomeSimpleStochasticProcesses 7 1.1 StochasticProcesses . 7 1.2 RandomWalks .......................... 7 1.2.1 BernoulliProcesses . 7 1.2.2 RandomWalks ...................... 10 1.2.3 ProbabilitiesofRandomWalks . 13 1.2.4 Distribution of Xn .................... 13 1.2.5 FirstPassageTime . 14 2 Estimators 17 2.1 Bias, Variance, the Central Limit Theorem and Mean Square Error................................ 19 2.2 Non-AsymptoticErrorBounds. 22 2.3 Big O and Little o Notation ................... 23 3 Markov Chains 25 3.1 SimulatingMarkovChains . 28 3.1.1 Drawing from a Discrete Uniform Distribution . 28 3.1.2 Drawing From A Discrete Distribution on a Small State Space ........................... 28 3.1.3 SimulatingaMarkovChain . 28 3.2 Communication .......................... 29 3.3 TheStrongMarkovProperty . 30 3.4 RecurrenceandTransience . 31 3.4.1 RecurrenceofRandomWalks . 33 3.5 InvariantDistributions . 34 3.6 LimitingDistribution. 36 3.7 Reversibility............................ 37 4 The Poisson Process 39 4.1 Point Processes on [0, )..................... 39 ∞ 3 4 CONTENTS 4.2 PoissonProcess .......................... 41 4.2.1 Order Statistics and the Distribution of Arrival Times 44 4.2.2 DistributionofArrivalTimes . 45 4.3 SimulatingPoissonProcesses. 46 4.3.1 Using the Infinitesimal Definition to Simulate Approx- imately .......................... 46 4.3.2 SimulatingtheArrivalTimes . 47 4.3.3 SimulatingtheInter-ArrivalTimes . 48 4.4 InhomogenousPoissonProcesses. 48 4.5 Simulating an Inhomogenous Poisson Process . 49 4.5.1 Acceptance-Rejection. 49 4.5.2 Infinitesimal Approach (Approximate) . 50 4.6 CompoundPoissonProcesses . 51 5 ContinuousTimeMarkovChains 53 5.1 TransitionFunction. 53 5.2 InfinitesimalGenerator . 54 5.3 ContinuousTimeMarkovChains .
    [Show full text]
  • Examples of Stationary Time Series
    Statistics 910, #2 1 Examples of Stationary Time Series Overview 1. Stationarity 2. Linear processes 3. Cyclic models 4. Nonlinear models Stationarity Strict stationarity (Defn 1.6) Probability distribution of the stochastic process fXtgis invariant under a shift in time, P (Xt1 ≤ x1;Xt2 ≤ x2;:::;Xtk ≤ xk) = F (xt1 ; xt2 ; : : : ; xtk ) = F (xh+t1 ; xh+t2 ; : : : ; xh+tk ) = P (Xh+t1 ≤ x1;Xh+t2 ≤ x2;:::;Xh+tk ≤ xk) for any time shift h and xj. Weak stationarity (Defn 1.7) (aka, second-order stationarity) The mean and autocovariance of the stochastic process are finite and invariant under a shift in time, E Xt = µt = µ Cov(Xt;Xs) = E (Xt−µt)(Xs−µs) = γ(t; s) = γ(t−s) The separation rather than location in time matters. Equivalence If the process is Gaussian with finite second moments, then weak stationarity is equivalent to strong stationarity. Strict stationar- ity implies weak stationarity only if the necessary moments exist. Relevance Stationarity matters because it provides a framework in which averaging makes sense. Unless properties like the mean and covariance are either fixed or \evolve" in a known manner, we cannot average the observed data. What operations produce a stationary process? Can we recognize/identify these in data? Statistics 910, #2 2 Moving Average White noise Sequence of uncorrelated random variables with finite vari- ance, ( 2 often often σw = 1 if t = s; E Wt = µ = 0 Cov(Wt;Ws) = 0 otherwise The input component (fXtg in what follows) is often modeled as white noise. Strict white noise replaces uncorrelated by independent. Moving average A stochastic process formed by taking a weighted average of another time series, often formed from white noise.
    [Show full text]
  • Regularity of Solutions and Parameter Estimation for Spde’S with Space-Time White Noise
    REGULARITY OF SOLUTIONS AND PARAMETER ESTIMATION FOR SPDE’S WITH SPACE-TIME WHITE NOISE by Igor Cialenco A Dissertation Presented to the FACULTY OF THE GRADUATE SCHOOL UNIVERSITY OF SOUTHERN CALIFORNIA In Partial Fulfillment of the Requirements for the Degree DOCTOR OF PHILOSOPHY (APPLIED MATHEMATICS) May 2007 Copyright 2007 Igor Cialenco Dedication To my wife Angela, and my parents. ii Acknowledgements I would like to acknowledge my academic adviser Prof. Sergey V. Lototsky who introduced me into the Theory of Stochastic Partial Differential Equations, suggested the interesting topics of research and guided me through it. I also wish to thank the members of my committee - Prof. Remigijus Mikulevicius and Prof. Aris Protopapadakis, for their help and support. Last but certainly not least, I want to thank my wife Angela, and my family for their support both during the thesis and before it. iii Table of Contents Dedication ii Acknowledgements iii List of Tables v List of Figures vi Abstract vii Chapter 1: Introduction 1 1.1 Sobolev spaces . 1 1.2 Diffusion processes and absolute continuity of their measures . 4 1.3 Stochastic partial differential equations and their applications . 7 1.4 Ito’sˆ formula in Hilbert space . 14 1.5 Existence and uniqueness of solution . 18 Chapter 2: Regularity of solution 23 2.1 Introduction . 23 2.2 Equations with additive noise . 29 2.2.1 Existence and uniqueness . 29 2.2.2 Regularity in space . 33 2.2.3 Regularity in time . 38 2.3 Equations with multiplicative noise . 41 2.3.1 Existence and uniqueness . 41 2.3.2 Regularity in space and time .
    [Show full text]
  • Stationary Processes
    Stationary processes Alejandro Ribeiro Dept. of Electrical and Systems Engineering University of Pennsylvania [email protected] http://www.seas.upenn.edu/users/~aribeiro/ November 25, 2019 Stoch. Systems Analysis Stationary processes 1 Stationary stochastic processes Stationary stochastic processes Autocorrelation function and wide sense stationary processes Fourier transforms Linear time invariant systems Power spectral density and linear filtering of stochastic processes Stoch. Systems Analysis Stationary processes 2 Stationary stochastic processes I All probabilities are invariant to time shits, i.e., for any s P[X (t1 + s) ≥ x1; X (t2 + s) ≥ x2;:::; X (tK + s) ≥ xK ] = P[X (t1) ≥ x1; X (t2) ≥ x2;:::; X (tK ) ≥ xK ] I If above relation is true process is called strictly stationary (SS) I First order stationary ) probs. of single variables are shift invariant P[X (t + s) ≥ x] = P [X (t) ≥ x] I Second order stationary ) joint probs. of pairs are shift invariant P[X (t1 + s) ≥ x1; X (t2 + s) ≥ x2] = P [X (t1) ≥ x1; X (t2) ≥ x2] Stoch. Systems Analysis Stationary processes 3 Pdfs and moments of stationary process I For SS process joint cdfs are shift invariant. Whereby, pdfs also are fX (t+s)(x) = fX (t)(x) = fX (0)(x) := fX (x) I As a consequence, the mean of a SS process is constant Z 1 Z 1 µ(t) := E [X (t)] = xfX (t)(x) = xfX (x) = µ −∞ −∞ I The variance of a SS process is also constant Z 1 Z 1 2 2 2 var [X (t)] := (x − µ) fX (t)(x) = (x − µ) fX (x) = σ −∞ −∞ I The power of a SS process (second moment) is also constant Z 1 Z 1 2 2 2 2 2 E X (t) := x fX (t)(x) = x fX (x) = σ + µ −∞ −∞ Stoch.
    [Show full text]
  • Stochastic Pdes and Markov Random Fields with Ecological Applications
    Intro SPDE GMRF Examples Boundaries Excursions References Stochastic PDEs and Markov random fields with ecological applications Finn Lindgren Spatially-varying Stochastic Differential Equations with Applications to the Biological Sciences OSU, Columbus, Ohio, 2015 Finn Lindgren - [email protected] Stochastic PDEs and Markov random fields with ecological applications Intro SPDE GMRF Examples Boundaries Excursions References “Big” data Z(Dtrn) 20 15 10 5 Illustration: Synthetic data mimicking satellite based CO2 measurements. Iregular data locations, uneven coverage, features on different scales. Finn Lindgren - [email protected] Stochastic PDEs and Markov random fields with ecological applications Intro SPDE GMRF Examples Boundaries Excursions References Sparse spatial coverage of temperature measurements raw data (y) 200409 kriged (eta+zed) etazed field 20 15 15 10 10 10 5 5 lat lat lat 0 0 0 −10 −5 −5 44 46 48 50 52 44 46 48 50 52 44 46 48 50 52 −20 2 4 6 8 10 14 2 4 6 8 10 14 2 4 6 8 10 14 lon lon lon residual (y − (eta+zed)) climate (eta) eta field 20 2 15 18 10 16 1 14 5 lat 0 lat lat 12 0 10 −1 8 −5 44 46 48 50 52 6 −2 44 46 48 50 52 44 46 48 50 52 2 4 6 8 10 14 2 4 6 8 10 14 2 4 6 8 10 14 lon lon lon Regional observations: ≈ 20,000,000 from daily timeseries over 160 years Finn Lindgren - [email protected] Stochastic PDEs and Markov random fields with ecological applications Intro SPDE GMRF Examples Boundaries Excursions References Spatio-temporal modelling framework Spatial statistics framework ◮ Spatial domain D, or space-time domain D × T, T ⊂ R.
    [Show full text]
  • Solutions to Exercises in Stationary Stochastic Processes for Scientists and Engineers by Lindgren, Rootzén and Sandsten Chapman & Hall/CRC, 2013
    Solutions to exercises in Stationary stochastic processes for scientists and engineers by Lindgren, Rootzén and Sandsten Chapman & Hall/CRC, 2013 Georg Lindgren, Johan Sandberg, Maria Sandsten 2017 CENTRUM SCIENTIARUM MATHEMATICARUM Faculty of Engineering Centre for Mathematical Sciences Mathematical Statistics 1 Solutions to exercises in Stationary stochastic processes for scientists and engineers Mathematical Statistics Centre for Mathematical Sciences Lund University Box 118 SE-221 00 Lund, Sweden http://www.maths.lu.se c Georg Lindgren, Johan Sandberg, Maria Sandsten, 2017 Contents Preface v 2 Stationary processes 1 3 The Poisson process and its relatives 5 4 Spectral representations 9 5 Gaussian processes 13 6 Linear filters – general theory 17 7 AR, MA, and ARMA-models 21 8 Linear filters – applications 25 9 Frequency analysis and spectral estimation 29 iii iv CONTENTS Preface This booklet contains hints and solutions to exercises in Stationary stochastic processes for scientists and engineers by Georg Lindgren, Holger Rootzén, and Maria Sandsten, Chapman & Hall/CRC, 2013. The solutions have been adapted from course material used at Lund University on first courses in stationary processes for students in engineering programs as well as in mathematics, statistics, and science programs. The web page for the course during the fall semester 2013 gives an example of a schedule for a seven week period: http://www.maths.lu.se/matstat/kurser/fms045mas210/ Note that the chapter references in the material from the Lund University course do not exactly agree with those in the printed volume. v vi CONTENTS Chapter 2 Stationary processes 2:1. (a) 1, (b) a + b, (c) 13, (d) a2 + b2, (e) a2 + b2, (f) 1.
    [Show full text]
  • Random Processes
    Chapter 6 Random Processes Random Process • A random process is a time-varying function that assigns the outcome of a random experiment to each time instant: X(t). • For a fixed (sample path): a random process is a time varying function, e.g., a signal. – For fixed t: a random process is a random variable. • If one scans all possible outcomes of the underlying random experiment, we shall get an ensemble of signals. • Random Process can be continuous or discrete • Real random process also called stochastic process – Example: Noise source (Noise can often be modeled as a Gaussian random process. An Ensemble of Signals Remember: RV maps Events à Constants RP maps Events à f(t) RP: Discrete and Continuous The set of all possible sample functions {v(t, E i)} is called the ensemble and defines the random process v(t) that describes the noise source. Sample functions of a binary random process. RP Characterization • Random variables x 1 , x 2 , . , x n represent amplitudes of sample functions at t 5 t 1 , t 2 , . , t n . – A random process can, therefore, be viewed as a collection of an infinite number of random variables: RP Characterization – First Order • CDF • PDF • Mean • Mean-Square Statistics of a Random Process RP Characterization – Second Order • The first order does not provide sufficient information as to how rapidly the RP is changing as a function of timeà We use second order estimation RP Characterization – Second Order • The first order does not provide sufficient information as to how rapidly the RP is changing as a function
    [Show full text]
  • Subband Particle Filtering for Speech Enhancement
    14th European Signal Processing Conference (EUSIPCO 2006), Florence, Italy, September 4-8, 2006, copyright by EURASIP SUBBAND PARTICLE FILTERING FOR SPEECH ENHANCEMENT Ying Deng and V. John Mathews Dept. of Electrical and Computer Eng., University of Utah 50 S. Central Campus Dr., Rm. 3280 MEB, Salt Lake City, UT 84112, USA phone: + (1)(801) 581-6941, fax: + (1)(801) 581-5281, email: [email protected], [email protected] ABSTRACT as those discussed in [16, 17] and also in this paper, the integrations Particle filters have recently been applied to speech enhancement used to compute the filtering distribution and the integrations em- when the input speech signal is modeled as a time-varying autore- ployed to estimate the clean speech signal and model parameters do gressive process with stochastically evolving parameters. This type not have closed-form analytical solutions. Approximation methods of modeling results in a nonlinear and conditionally Gaussian state- have to be employed for these computations. The approximation space system that is not amenable to analytical solutions. Prior work methods developed so far can be grouped into three classes: (1) an- in this area involved signal processing in the fullband domain and alytic approximations such as the Gaussian sum filter [19] and the assumed white Gaussian noise with known variance. This paper extended Kalman filter [20], (2) numerical approximations which extends such ideas to subband domain particle filters and colored make the continuous integration variable discrete and then replace noise. Experimental results indicate that the subband particle filter each integral by a summation [21], and (3) sampling approaches achieves higher segmental SNR than the fullband algorithm and is such as the unscented Kalman filter [22] which uses a small num- effective in dealing with colored noise without increasing the com- ber of deterministically chosen samples and the particle filter [23] putational complexity.
    [Show full text]
  • 4.2 Autoregressive (AR) Moving Average Models Are Causal Linear Processes by Definition. There Is Another Class of Models, Based
    4.2 Autoregressive (AR) Moving average models are causal linear processes by definition. There is another class of models, based on a recursive formulation similar to the exponentially weighted moving average. Definition 4.11 (Autoregressive AR(p)). Suppose φ1,...,φp ∈ R are constants 2 2 and (Wi) ∼ WN(σ ). The AR(p) process with parameters σ , φ1,...,φp is defined through p Xi = Wi + φjXi−j, (3) Xj=1 whenever such stationary process (Xi) exists. Remark 4.12. The process in Definition 4.11 is sometimes called a stationary AR(p) process. It is possible to consider a ‘non-stationary AR(p) process’ for any φ1,...,φp satisfying (3) for i ≥ 0 by letting for example Xi = 0 for i ∈ [−p+1, 0]. Example 4.13 (Variance and autocorrelation of AR(1) process). For the AR(1) process, whenever it exits, we must have 2 2 γ0 = Var(Xi) = Var(φ1Xi−1 + Wi)= φ1γ0 + σ , which implies that we must have |φ1| < 1, and σ2 γ0 = 2 . 1 − φ1 We may also calculate for j ≥ 1 j γj = E[XiXi−j]= E[(φ1Xi−1 + Wi)Xi−j]= φ1E[Xi−1Xi−j]= φ1γ0, j which gives that ρj = φ1. Example 4.14. Simulation of an AR(1) process. phi_1 <- 0.7 x <- arima.sim(model=list(ar=phi_1), 140) # This is the explicit simulation: gamma_0 <- 1/(1-phi_1^2) x_0 <- rnorm(1)*sqrt(gamma_0) x <- filter(rnorm(140), phi_1, method = "r", init = x_0) Example 4.15. Consider a stationary AR(1) process. We may write n−1 n j Xi = φ1Xi−1 + Wi = ··· = φ1 Xi−n + φ1Wi−j.
    [Show full text]
  • Lecture 6: Particle Filtering, Other Approximations, and Continuous-Time Models
    Lecture 6: Particle Filtering, Other Approximations, and Continuous-Time Models Simo Särkkä Department of Biomedical Engineering and Computational Science Aalto University March 10, 2011 Simo Särkkä Lecture 6: Particle Filtering and Other Approximations Contents 1 Particle Filtering 2 Particle Filtering Properties 3 Further Filtering Algorithms 4 Continuous-Discrete-Time EKF 5 General Continuous-Discrete-Time Filtering 6 Continuous-Time Filtering 7 Linear Stochastic Differential Equations 8 What is Beyond This? 9 Summary Simo Särkkä Lecture 6: Particle Filtering and Other Approximations Particle Filtering: Overview [1/3] Demo: Kalman vs. Particle Filtering: Kalman filter animation Particle filter animation Simo Särkkä Lecture 6: Particle Filtering and Other Approximations Particle Filtering: Overview [2/3] =⇒ The idea is to form a weighted particle presentation (x(i), w (i)) of the posterior distribution: p(x) ≈ w (i) δ(x − x(i)). Xi Particle filtering = Sequential importance sampling, with additional resampling step. Bootstrap filter (also called Condensation) is the simplest particle filter. Simo Särkkä Lecture 6: Particle Filtering and Other Approximations Particle Filtering: Overview [3/3] The efficiency of particle filter is determined by the selection of the importance distribution. The importance distribution can be formed by using e.g. EKF or UKF. Sometimes the optimal importance distribution can be used, and it minimizes the variance of the weights. Rao-Blackwellization: Some components of the model are marginalized in closed form ⇒ hybrid particle/Kalman filter. Simo Särkkä Lecture 6: Particle Filtering and Other Approximations Bootstrap Filter: Principle State density representation is set of samples (i) {xk : i = 1,..., N}. Bootstrap filter performs optimal filtering update and prediction steps using Monte Carlo.
    [Show full text]
  • Fundamental Concepts of Time-Series Econometrics
    CHAPTER 1 Fundamental Concepts of Time-Series Econometrics Many of the principles and properties that we studied in cross-section econometrics carry over when our data are collected over time. However, time-series data present important challenges that are not present with cross sections and that warrant detailed attention. Random variables that are measured over time are often called “time series.” We define the simplest kind of time series, “white noise,” then we discuss how variables with more complex properties can be derived from an underlying white-noise variable. After studying basic kinds of time-series variables and the rules, or “time-series processes,” that relate them to a white-noise variable, we then make the critical distinction between stationary and non- stationary time-series processes. 1.1 Time Series and White Noise 1.1.1 Time-series processes A time series is a sequence of observations on a variable taken at discrete intervals in 1 time. We index the time periods as 1, 2, …, T and denote the set of observations as ( yy12, , ..., yT ) . We often think of these observations as being a finite sample from a time-series stochastic pro- cess that began infinitely far back in time and will continue into the indefinite future: pre-sample sample post-sample ...,y−−−3 , y 2 , y 1 , yyy 0 , 12 , , ..., yT− 1 , y TT , y + 1 , y T + 2 , ... Each element of the time series is treated as a random variable with a probability distri- bution. As with the cross-section variables of our earlier analysis, we assume that the distri- butions of the individual elements of the series have parameters in common.
    [Show full text]