Performs conditional maximum likelihood estimation of a VARMA model. Multivariate Gaussian likelihood function is used.
VARMA(da, p = 0, q = 0, include.mean = T,
fixed = NULL, beta=NULL, sebeta=NULL,
prelim = F, details = F, thres = 2)
Data matrix (T-by-k) of a k-dimensional time series with sample size T.
AR order
MA order
A logical switch to control estimation of the mean vector. Default is to include the mean in estimation.
A logical matrix to control zero coefficients in estimation. It is mainly used by the command refVARMA.
Parameter estimates to be used in model simplification, if needed
Standard errors of parameter estimates for use in model simplification
A logical switch to control preliminary estimation. Default is none.
A logical switch to control the amount of output.
A threshold used to set zero parameter constraints based on individual t-ratio. Default is 2.
Observed data matrix
VAR order
VMA order
A logical switch to include the mean vector
Parameter estimates
Standard errors of the estimates
Residual matrix
Residual covariance matrix
Information criteria of the fitted model
VAR coefficients
VMA coefficients
The constant vector
The fixed command is used for model refinement
Tsay (2014, Chapter 3). Multivariate Time Series Analysis with R and Financial Applications. John Wiley. Hoboken, NJ.
refVARMA
# NOT RUN {
phi=matrix(c(0.2,-0.6,0.3,1.1),2,2); theta=matrix(c(-0.5,0,0,-0.5),2,2)
sigma=diag(2)
m1=VARMAsim(300,arlags=c(1),malags=c(1),phi=phi,theta=theta,sigma=sigma)
zt=m1$series
m2=VARMA(zt,p=1,q=1,include.mean=FALSE)
# }
Run the code above in your browser using DataLab