# simple workflow
############################################################
# upload data
data(us_fiscal_lsuw)
# specify the model and set seed
specification = specify_bsvar$new(us_fiscal_lsuw, p = 1)
set.seed(123)
# estimate the model
posterior = estimate(specification, 10)
# verify heteroskedasticity
sddr = verify_identification(posterior)
# workflow with the pipe |>
############################################################
set.seed(123)
us_fiscal_lsuw |>
specify_bsvar$new(p = 1) |>
estimate(S = 10) |>
verify_identification() -> sddr
Run the code above in your browser using DataLab