specify_identification_bsvars$new(N = 3) # recursive specification for a 3-variable system
B = matrix(c(TRUE,TRUE,TRUE,FALSE,FALSE,TRUE,FALSE,TRUE,TRUE), 3, 3); B
specify_identification_bsvars$new(N = 3, B = B) # an alternative identification pattern
## ------------------------------------------------
## Method `specify_identification_bsvars$get_identification`
## ------------------------------------------------
B = matrix(c(TRUE,TRUE,TRUE,FALSE,FALSE,TRUE,FALSE,TRUE,TRUE), 3, 3); B
spec = specify_identification_bsvars$new(N = 3, B = B)
spec$get_identification()
## ------------------------------------------------
## Method `specify_identification_bsvars$set_identification`
## ------------------------------------------------
spec = specify_identification_bsvars$new(N = 3) # specify a model with the default option
B = matrix(c(TRUE,TRUE,TRUE,FALSE,FALSE,TRUE,FALSE,TRUE,TRUE), 3, 3); B
spec$set_identification(N = 3, B = B) # modify an existing specification
spec$get_identification() # check the outcome
Run the code above in your browser using DataLab