Bare Bones Logistic Regression Fit
lrm.fit.bare(x, y, maxit = 12, eps = 0.025, tol = 1e-07)
a vector of matrix of covariate values
a numeric or factor vector representing the dependent variable
maximum number of iteractions
stopping criterion (change in -2 log likelihood)
matrix inversion tolerance for singularities
a list with elements coefficients
, var
, fail
, freq
, deviance
This is a stripped down version of the lrm.fit()
function that computes only the regression coefficients, variance-covariance-matrix, and log likelihood (for null and fitted model) and does not compute any model fit indexes etc. This is for speed in simulations or with bootstrapping. Missing data are not allowed. The function handles binary and ordinal logistic regression (proportional odds model).