orm.fit(x=NULL, y, family='logistic',
offset=0., initial, maxit=12L, eps=.005, tol=1e-7, trace=FALSE,
penalty.matrix=NULL)factor(y).initial is not specified, the function computes
the overall score $\chi^2$ test for the global null hypothesis of
no regression.12)..005. If the $-2 log$ likelihood gets
worse by eps/10 while the maximum absolute first derivative of
-2 log likelihood is below 1E-9, convergence is still
declared. ThiTRUE to print -2 log likelihood, step-halving
fraction, change in -2 log likelihood, and maximum absolute value of first
derivative at each iteration.lrmy in order of increasing yyy values, median y from among the
observations used in the fit, maximum absolute value of first
derivative of log likelihood, model likelihood ratio chi-square, d.f.,
P-value, score chi-square and its P-value, Spearman's $\rho$ rank
correlation between linear predictor and y, the
Nagelkerke $R^2$ index, the $g$-index, $gr$ (the
$g$-index on the ratio scale), and $pdm$ (the mean absolute
difference between 0.5 and the estimated probability that $y\geq$
the marginal median).
When penalty.matrix is present, the $\chi^2$,
d.f., and P-value are not corrected for the effective d.f.TRUE if convergence failed (and maxiter>1)var is not the
improved sandwich-type estimator (which lrm does compute). The
only intercept parameter included in the stored object is the middle
intercept.ormvarormorm, lrm, glm,
gIndex, solve#Fit an additive logistic model containing numeric predictors age,
#blood.pressure, and sex, assumed to be already properly coded and
#transformed
#
# fit <- orm.fit(cbind(age,blood.pressure,sex), death)Run the code above in your browser using DataLab