Learn R Programming

crmPack (version 1.0.6)

myBayesLogit: Do MCMC sampling for Bayesian logistic regression model

Description

Do MCMC sampling for Bayesian logistic regression model

Usage

myBayesLogit(y, X, m0, P0, options)

Value

the matrix of samples (samples x parameters)

Arguments

y

0/1 vector of responses

X

design matrix

m0

prior mean vector

P0

precision matrix

options

McmcOptions object