newpolr {PResiduals} | R Documentation |
slightly modified version of polr from MASS
Description
slightly modified version of polr from MASS
Usage
newpolr(
formula,
data,
weights,
start,
...,
subset,
na.action,
contrasts = NULL,
Hess = FALSE,
model = TRUE,
method = c("logit", "probit", "cloglog", "loglog", "cauchit")
)
Arguments
formula |
a formula |
data |
an optional data frame, list or environment (or object coercible
by |
weights |
optional case weights in fitting. Default to 1. |
start |
initial values for the parameters. |
... |
additional arguments to be passed to |
subset |
an optional vector specifying a subset of observations to be used in the fitting process. |
na.action |
a function which indicates what should happen when the data
contain |
contrasts |
a list of contrasts to be used for some or all of the factors appearing as variables in the model formula. |
Hess |
logical for whether the Hessian (the observed information matrix)
should be returned. Use this if you intend to call |
model |
logical for whether the model matrix should be returned. |
method |
logistic or probit or complementary log-log, loglog, or cauchit (corresponding to a Cauchy latent variable). |
Value
A object of class "polr"
. This has components
coefficients |
the coefficients of the linear predictor, which has no intercept. |
zeta |
the intercepts for the class boundaries. |
deviance |
the residual deviance. |
fitted.values |
a matrix, with a column for each level of the response. |
lev |
the names of the response levels. |
terms |
the |
df.residual |
the number of residual degrees of freedoms, calculated using the weights. |
edf |
the (effective) number of degrees of freedom used by the model |
n , nobs |
the (effective) number of observations, calculated using the
weights. ( |
call |
the matched call. |
method |
the matched method used. |
convergence |
the convergence code returned by |
niter |
the number of function and gradient evaluations used by
|
lp |
the linear predictor (including any offset). |
Hessian |
(if |
model |
(if |
References
polr from MASS