SurvregME | R Documentation |
Survreg
Mixed-effects version of Survreg
SurvregME(
formula,
data,
subset,
weights,
offset,
na.action = na.omit,
dist = c("weibull", "logistic", "gaussian", "exponential", "rayleigh", "loggaussian",
"lognormal", "loglogistic"),
scale = 0,
silent = TRUE,
resid = FALSE,
do_update = FALSE,
estinit = TRUE,
initpar = NULL,
fixed = NULL,
nofit = FALSE,
control = optim_control(),
...
)
formula |
an object of class |
data |
an optional data frame, list or environment (or object
coercible by |
subset |
an optional vector specifying a subset of observations to be used in the fitting process. |
weights |
an optional vector of weights to be used in the fitting
process. Should be |
offset |
this can be used to specify an _a priori_ known component to
be included in the linear predictor during fitting. This
should be |
na.action |
a function which indicates what should happen when the data
contain |
dist |
character defining the conditional distribution of the (not necessarily positive) response, current choices include Weibull, logistic, normal, exponential, Rayleigh, log-normal (same as log-gaussian), or log-logistic. |
scale |
a fixed value for the scale parameter(s). |
silent |
logical, make TMB functionality silent |
resid |
logical, Should the score residuals also be calculated? |
do_update |
Logical. If |
estinit |
logical, estimate a vector of initial values for the fixed effects parameters from a (fixed effects only) mlt model |
initpar |
named list of initial parameter values, if |
fixed |
a named vector of fixed regression coefficients; the names need to correspond to column names of the design matrix |
nofit |
logical, if TRUE, creates the model object, but does not run the optimization |
control |
list with controls for optimization |
... |
additional arguments to |
A SurvregME
object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.