powered by
Performs VMA estimation using the conditional multivariate Gaussian likelihood function
VMA(da, q = 1, include.mean = T, fixed = NULL, beta=NULL, sebeta=NULL, prelim = F, details = F, thres = 2)
Data matrix of a k-dimensional VMA process with each column containing one time series
The order of VMA model
A logical switch to include the mean vector. The default is to include the mean vector in estimation.
A logical matrix used to fix parameter to zero
Parameter estimates for use in model simplification
Standard errors of parameter estimates for use in model simplification
A logical switch to select parameters to be included in estimation
A logical switch to control the amount of output
Threshold for t-ratio used to fix parameter to zero. Default is 2.
The data of the observed time series
The VMA order
A logical switch to include the mean vector
Parameter estimates
Standard errors of the parameter estimates
Residual series
Residual covariance matrix
The VAR coefficient matrix
The constant vector
The information criteria of the fitted model
Tsay (2014, Chapter 3).
# NOT RUN { theta=matrix(c(0.5,0.4,0,0.6),2,2); sigma=diag(2) m1=VARMAsim(200,malags=c(1),theta=theta,sigma=sigma) zt=m1$series m2=VMA(zt,q=1,include.mean=FALSE) # }
Run the code above in your browser using DataLab