sim_horseshoe_var {bvhar} | R Documentation |
Generate Horseshoe Parameters
Description
This function generates parameters of VAR with Horseshoe prior.
Usage
sim_horseshoe_var(
p,
dim_data = NULL,
include_mean = TRUE,
minnesota = FALSE,
method = c("eigen", "chol")
)
sim_horseshoe_vhar(
har = c(5, 22),
dim_data = NULL,
include_mean = TRUE,
minnesota = c("no", "short", "longrun"),
method = c("eigen", "chol")
)
Arguments
p |
VAR lag |
dim_data |
Specify the dimension of the data if hyperparameters of |
include_mean |
Add constant term (Default: |
minnesota |
Only use off-diagonal terms of each coefficient matrices for restriction.
In |
method |
Method to compute |
har |
Numeric vector for weekly and monthly order. By default, |
[Package bvhar version 2.0.1 Index]