fitted.bigtime.VAR: Gives the fitted values of a model estimated using...

View source: R/diagnostics.R

fitted.bigtime.VARR Documentation

Gives the fitted values of a model estimated using sparseVAR

Description

Gives the fitted values of a model estimated using sparseVAR

Usage

## S3 method for class 'bigtime.VAR'
fitted(object, ...)

Arguments

object

Model estimated using sparseVAR

...

Not currently used

Value

Returns a matrix of fitted values

Examples

dat <- simVAR(periods=200, k=2, p=5, decay = 0.001, seed = 6150533)
mod <- sparseVAR(Y=scale(dat$Y))
f <- fitted(mod)

ineswilms/bigtime documentation built on Aug. 24, 2023, 6:57 a.m.