powered by
Extracts the fitted values for bgvar.
bgvar
# S3 method for bgvar fitted(object, ..., global = TRUE)
Returns an T times K matrix, where T is the number of observations and K number of endogenous variables.
T
K
An object of class bgvar.
Additional arguments.
If global=TRUE global fitted values are returned otherwise country fitted values.
global=TRUE
bgvar for estimation of a bgvar object.
# \donttest{ library(BGVAR) data(testdata) model.ng <- bgvar(Data=testdata,W=W.test,plag=1,draws=100,burnin=100) fitted(model.ng) # }
Run the code above in your browser using DataLab