# specify a model with the optimism data and 4 lags
data(optimism)
specification = specify_bsvarSIGN$new(
data = optimism,
p = 4
)
## ------------------------------------------------
## Method `specify_bsvarSIGN$get_data_matrices`
## ------------------------------------------------
# specify a model with the optimism data and 4 lags
data(optimism)
spec = specify_bsvarSIGN$new(
data = optimism,
p = 4
)
# get the data matrices
spec$get_data_matrices()
## ------------------------------------------------
## Method `specify_bsvarSIGN$get_identification`
## ------------------------------------------------
# specify a model with the optimism data and 4 lags
data(optimism)
spec = specify_bsvarSIGN$new(
data = optimism,
p = 4
)
# get the identifying restrictions
spec$get_identification()
## ------------------------------------------------
## Method `specify_bsvarSIGN$get_prior`
## ------------------------------------------------
# specify a model with the optimism data and 4 lags
data(optimism)
spec = specify_bsvarSIGN$new(
data = optimism,
p = 4
)
# get the prior specification
spec$get_prior()
## ------------------------------------------------
## Method `specify_bsvarSIGN$get_starting_values`
## ------------------------------------------------
# specify a model with the optimism data and 4 lags
data(optimism)
spec = specify_bsvarSIGN$new(
data = optimism,
p = 4
)
# get the starting values
spec$get_starting_values()
Run the code above in your browser using DataLab