Skip to content

Commit

Permalink
set seed #43
Browse files Browse the repository at this point in the history
  • Loading branch information
adamwang15 committed Aug 10, 2024
1 parent 41c9c3f commit b8a1127
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
7 changes: 4 additions & 3 deletions R/bsvarSIGNs-package.R
Original file line number Diff line number Diff line change
Expand Up @@ -129,13 +129,14 @@
#' @examples
#' # investigate the effects of the optimism shock
#' data(optimism)
#'
#'
#' # specify identifying restrictions:
#' # + no effect on productivity (zero restriction)
#' # + positive effect on stock prices (positive sign restriction)
#' # + positive effect on stock prices (positive sign restriction)
#' sign_irf = matrix(c(0, 1, rep(NA, 23)), 5, 5)
#'
#' # specify the model
#' # specify the model and set seed
#' set.seed(123)
#' specification = specify_bsvarSIGN$new(optimism,
#' p = 4,
#' sign_irf = sign_irf)
Expand Down
5 changes: 3 additions & 2 deletions man/bsvarSIGNs-package.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit b8a1127

Please sign in to comment.