powered by
sparseVAR
Gives the residuals for VAR models estimated using sparseVAR
# S3 method for bigtime.VAR residuals(object, ...)
Returns a matrix of residuals.
Model estimated using sparseVAR
Not currently used
dat <- simVAR(periods=200, k=2, p=5, decay = 0.001, seed = 6150533) mod <- sparseVAR(Y=scale(dat$Y)) res <- resid(mod)
Run the code above in your browser using DataLab