myBayesLogit: MCMC Sampling for Bayesian Logistic Regression Model
Description
![[Stable]](figures/lifecycle-stable.svg?package=crmPack&version=2.0.0)
Replacement for BayesLogit::logit. Performs MCMC sampling for Bayesian
logistic regression using JAGS.
Usage
myBayesLogit(y, X, m0, P0, options)
Value
The matrix of samples (samples x parameters).
Arguments
- y
(integer)
0/1 vector of responses.
- X
(matrix)
design matrix.
- m0
(numeric)
prior mean vector.
- P0
(matrix)
precision matrix.
- options
(McmcOptions)
MCMC options.