logistic_ll {metropolis} | R Documentation |
logistic log likelihood
logistic_ll(y, X, par)
y |
binary outcome |
X |
design matrix |
par |
vector of model coefficients |
a scalar quantity proportional to a binomial likelihood with logistic parameterization, given y,X,and par