bvar | R Documentation |
Gibbs sampler to implement a first order bvar model
bvar(
formula,
data,
sig_prior = 1e+06,
nsim = 1000,
burn_in = 100,
thin = 10,
seed = 14
)
formula |
an object of class "formula"; a symbolic description of the model to be fitted |
data |
a dataframe containing outcome variables, covariates, and a patient or subject identifier |
sig_prior |
scalar, prior variance on the regression coefficients |
nsim |
positive integer, number of iterations with default of 1000 |
burn_in |
positive integer, number of iterations to remove with default of 100 |
thin |
positive integer, specifiers the period of saving samples. Default of 10 |
seed |
positive integer, seed for random number generation |
bmrvarx
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.