Package mar. R topics documented: February 20, Title Multivariate AutoRegressive analysis Version Author S. M. Barbosa

Similar documents
Algorithm 808: ARfit A Matlab package for the estimation of parameters and eigenmodes of multivariate autoregressive models

Package gtheory. October 30, 2016

2 T. Schneider and A. Neumaier m-dimensional random vectors with zero mean and covariance matrix C. The m- dimensional parameter vector w of intercept

Package LPTime. March 3, 2015

Multivariate autoregressive models as tools for UT1-UTC predictions

Package SEMModComp. R topics documented: February 19, Type Package Title Model Comparisons for SEM Version 1.0 Date Author Roy Levy

Package TSF. July 15, 2017

Package SimSCRPiecewise

Package ltsbase. R topics documented: February 20, 2015

Package ARCensReg. September 11, 2016

Package ForwardSearch

Package BNN. February 2, 2018

Estimation of parameters and eigenmodes of multivariate autoregressive models

Package NonpModelCheck

Package MultisiteMediation

Time Series Analysis. James D. Hamilton PRINCETON UNIVERSITY PRESS PRINCETON, NEW JERSEY

Package PVR. February 15, 2013

Package noncompliance

Package darts. February 19, 2015

Package BayesNI. February 19, 2015

Package flexcwm. R topics documented: July 11, Type Package. Title Flexible Cluster-Weighted Modeling. Version 1.0.

Package CMC. R topics documented: February 19, 2015

Package ShrinkCovMat

Package TruncatedNormal

Package rsq. January 3, 2018

Time Series Analysis. James D. Hamilton PRINCETON UNIVERSITY PRESS PRINCETON, NEW JERSEY

Data reduction for multivariate analysis

Package flexcwm. R topics documented: July 2, Type Package. Title Flexible Cluster-Weighted Modeling. Version 1.1.

Package covtest. R topics documented:

Package comparec. R topics documented: February 19, Type Package

Package rgabriel. February 20, 2015

Package unbalhaar. February 20, 2015

Package LIStest. February 19, 2015

Package ICGOR. January 13, 2017

Package ICBayes. September 24, 2017

Package severity. February 20, 2015

Package factorqr. R topics documented: February 19, 2015

Package EnergyOnlineCPM

Package reinforcedpred

Package sscor. January 28, 2016

Package ForecastCombinations

Package sbgcop. May 29, 2018

Package jmcm. November 25, 2017

Package sym.arma. September 30, 2018

Elements of Multivariate Time Series Analysis

Package NORMT3. February 19, 2015

Package clogitboost. R topics documented: December 21, 2015

Package mmm. R topics documented: February 20, Type Package

Package freqdom. September 1, 2017

Package CPE. R topics documented: February 19, 2015

Package riv. R topics documented: May 24, Title Robust Instrumental Variables Estimator. Version Date

Package gma. September 19, 2017

Package leiv. R topics documented: February 20, Version Type Package

Package WaveletArima

Package bigtime. November 9, 2017

Package NlinTS. September 10, 2018

Package IUPS. February 19, 2015

Package My.stepwise. June 29, 2017

Package mlmmm. February 20, 2015

Package sodavis. May 13, 2018

Package RI2by2. October 21, 2016

STATS DOESN T SUCK! ~ CHAPTER 16

On Monitoring Shift in the Mean Processes with. Vector Autoregressive Residual Control Charts of. Individual Observation

Package mixture. R topics documented: February 13, 2018

Package dominanceanalysis

Package milineage. October 20, 2017

Design of Time Series Model for Road Accident Fatal Death in Tamilnadu

Package CovSel. September 25, 2013

Package ebal. R topics documented: February 19, Type Package

Package GORCure. January 13, 2017

Package thief. R topics documented: January 24, Version 0.3 Title Temporal Hierarchical Forecasting

Package crossreg. February 19, 2015

Package eel. September 1, 2015

Package scio. February 20, 2015

Package TSPred. April 5, 2017

Package Blendstat. February 21, 2018

Dynamic Time Series Regression: A Panacea for Spurious Correlations

TIME SERIES ANALYSIS AND FORECASTING USING THE STATISTICAL MODEL ARIMA

Package xdcclarge. R topics documented: July 12, Type Package

Package REGARMA. R topics documented: October 1, Type Package. Title Regularized estimation of Lasso, adaptive lasso, elastic net and REGARMA

Package OUwie. August 29, 2013

Package SimCorMultRes

Package SK. May 16, 2018

Package tspi. August 7, 2017

1 Interpretation. Contents. Biplots, revisited. Biplots, revisited 2. Biplots, revisited 1

Package MACAU2. R topics documented: April 8, Type Package. Title MACAU 2.0: Efficient Mixed Model Analysis of Count Data. Version 1.

Package bwgr. October 5, 2018

Package spatial.gev.bma

Eigenfaces. Face Recognition Using Principal Components Analysis

Package cccrm. July 8, 2015

Package rarhsmm. March 20, 2018

Package survidinri. February 20, 2015

Package goftest. R topics documented: April 3, Type Package

Package pfa. July 4, 2016

Package mcmcse. July 4, 2017

INTRODUCTION TO TIME SERIES ANALYSIS. The Simple Moving Average Model

Package RcppSMC. March 18, 2018

Package msir. R topics documented: April 7, Type Package Version Date Title Model-Based Sliced Inverse Regression

Principal Component Analysis

Package EMVS. April 24, 2018

Transcription:

Title Multivariate AutoRegressive analysis Version 1.1-2 Author S. M. Barbosa Package mar February 20, 2015 R functions for multivariate autoregressive analysis Depends MASS Maintainer S. M. Barbosa <susana.barbosa@fc.up.pt> License GPL (>= 2) Repository CRAN Date/Publication 2012-10-29 08:59:08 NeedsCompilation no R topics documented: mar.eig........................................... 1 mar.est........................................... 2 mar.pca........................................... 4 mar.sim........................................... 5 pinkham........................................... 6 sparrows........................................... 7 waves............................................ 7 Index 9 mar.eig Eigendecomposition of m-variate AR(p) model Eigen-decomposition of the estimated matrix of autoregressive coefficients from an m-variate AR(p) model 1

2 mar.est mar.eig(a, C = NULL,...) Arguments A matrix of estimated autoregression coefficients C noise covariance matrix... additional arguments for specific methods Value A list with components: modes eigv periods and damping times associated to each eigenmode m*p m-dimensional eigenvectors Author(s) S. M. Barbosa Neumaier, A. and Schneider, T. (2001), Estimation of parameters and eigenmodes of multivariate autoregressive models. ACM Transactions on Mathematical Software, 27, 1, 27-57. Schneider, T. and Neumaier, A. (2001), A Matlab package fo the estimation of parameters and eigenmodes of multivariate autoregressive models, 27, 1, 58-65. Examples data(pinkham) y=mar.est(pinkham,2,5) mar.eig(y$ahat,y$chat) mar.est Estimation of multivariate AR(p) model Stepwise least-squares estimation of a multivariate AR(p) model based on the algorithm of Neumaier and Schneider (2001). mar.est(x, p,...)

mar.est 3 Arguments x matrix of multivariate time series p model order... additional arguments for specific methods Details Fits by stepwise least squares an m-variate AR(p) model given by X[t] = w + A1X[t 1] +... + ApX[t p] + e[t] where X[t]=[X1(t)...Xm(t)] is a vector of length m w is a m-length vector of intercept terms A=[A1... Ap] is a mp x m matrix of autoregressive coefficients e(t) is a m-length uncorrelated noise vector with mean 0 and m x m covariance matrix C Value A list with components: SBC what AHat CHat resid Schwartz Bayesian Criterion vector of intercept terms matrix of estimated autoregression coefficients for the fitted model noise covariance matrix residuals from the fitted model Author(s) S. M. Barbosa Neumaier, A. and Schneider, T. (2001), Estimation of parameters and eigenmodes of multivariate autoregressive models. ACM Transactions on Mathematical Software, 27, 1, 27-57. Schneider, T. and Neumaier, A. (2001), A Matlab package fo the estimation of parameters and eigenmodes of multivariate autoregressive models, 27, 1, 58-65. Lutkepohl, H. (1993), Introduction to Multiple Time Series Analysis. Springer-Verlag, Berlin. Examples data(pinkham) y=mar.est(pinkham,2,5)

4 mar.pca mar.pca Multivariate autoregressive analysis in PCA space Estimation of m-variate AR(p) model in reduced PCA space (for dimensionality reduction) and eigen-decomposition of augmented coefficient matrix mar.pca(x, p, k = dim(x)[2],...) Arguments x matrix of multivariate time series p model order k number of principal components to retain... additional arguments for specific methods Value A list with components: p model order SBC Schwartz Bayesian Criterion fraction.variance fraction of variance explained by the retained components resid eigv modes residuals from the fitted model m*p m-dimensional eigenvectors periods and damping times associated to each eigenmode Author(s) S. M. Barbosa Neumaier, A. and Schneider, T. (2001), Estimation of parameters and eigenmodes of multivariate autoregressive models. ACM Transactions on Mathematical Software, 27, 1, 27-57. See Also mar.est

mar.sim 5 Examples data(sparrows) A=mAr.est(sparrows,1)$AHat mar.eig(a)$modes mar.pca(sparrows,1,k=4)$modes mar.sim Simulation from a multivariate AR(p) model Simulation from an m-variate AR(p) model mar.sim(w, A, C, N,...) Arguments w A C N Details vector of intercept terms matrix of AR coefficients noise covariance matrix length of output time series... additional arguments Simulation from an m-variate AR(p) model given by X[t] = w + A1X[t 1] +... + ApX[t p] + e[t] where X[t]=[X1(t)...Xm(t)] is a vector of length m w is a m-length vector of intercept terms A=[A1... Ap] is a m x mp matrix of autoregressive coefficients e(t) is a m-length uncorrelated noise vector with mean 0 and m x m covariance matrix C Value returns a list containg the N simulated observations for each of the m time series Author(s) S. M. Barbosa

6 pinkham Neumaier, A. and Schneider, T. (2001), Estimation of parameters and eigenmodes of multivariate autoregressive models. ACM Transactions on Mathematical Software, 27, 1, 27-57. Schneider, T. and Neumaier, A. (2001), A Matlab package fo the estimation of parameters and eigenmodes of multivariate autoregressive models, 27, 1, 58-65. Lutkepohl, H. (1993), Introduction to Multiple Time Series Analysis. Springer-Verlag, Berlin. Examples w=c(0.25,0.1) C=rbind(c(1,0.5),c(0.5,1.5)) A=rbind(c(0.4,1.2,0.35,-0.3),c(0.3,0.7,-0.4,-0.5)) x=mar.sim(w,a,c,n=300) pinkham Lydia Pinkham Annual Advertising and Sales data Annual domestic advertising and sales of Lydia E. Pinkham Medicine Company in thousands of dollars 1907-1960 data(pinkham) Format A data frame with 54 observations on the 2 variables. Source Pankratz, A. (1991) Forecasting With Dynamic Regression Models, Wiley. Wei, W. (1994) Time series analysis - univariate and multivariate methods

sparrows 7 sparrows Body measurements of sparrows Body measurements of 48 female sparrows. data(sparrows) Format A data frame with 48 observations on 5 variables Source Manly, B. F. J. (1994). Multivariate Statistical Methods, second edition, Chapman and Hall. waves Time series of ocean wave height measurements Ocean wave height measurements from an wire wave gauge and an infrared wave gauge data(waves) Format A data frame with 4096 observations on the following 2 variables. wire.gauge height of ocean waves from wire wave gauge ir.gauge height of ocean waves from infrared wave gauge Details Time series of ocean wave height measurements (sampling = 1/ 30 seconds) Source Applied Physics Laboratory (Andy Jessup)

8 waves Jessup, A. T., Melville, W. K., Keller, W. C. (1991). Breaking Waves Affecting Microwave Backscatter: Detection and Verification (1991). Journal of Geophysical Research, 96, C11, 20,547 59. Percival, D. B. (1993). Spectral Analysis of Univariate and Bivariate Time Series, Chapter 11 of "Statistical Methods for Physical Science," Stanford, J. L. and Vardeman, S. B. (Eds), Academic Press

Index Topic datasets pinkham, 6 sparrows, 7 waves, 7 Topic multivariate mar.eig, 1 mar.est, 2 mar.pca, 4 mar.sim, 5 mar.eig, 1 mar.est, 2, 4 mar.pca, 4 mar.sim, 5 pinkham, 6 sparrows, 7 waves, 7 9