Learn R Programming

bigtime (version 0.2.3)

fitted.bigtime.VAR: 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 bigtime.VAR
fitted(object, ...)

Value

Returns a matrix of fitted values

Arguments

object

Model estimated using sparseVAR

...

Not currently used

Examples

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

Run the code above in your browser using DataLab