glmCensRd | R Documentation |
Maximum likelihood estimator (MLE) for censored predictor in generalized linear models (GLM)
glmCensRd(
Y,
W,
D,
Z = NULL,
data,
distY = "normal",
distX = "normal",
rightCens = TRUE,
robcov = TRUE,
subdivisions = 100,
steptol = 1e-06,
iterlim = 100,
verbose = FALSE
)
Y |
name of outcome variable. |
W |
name of observed (censored) version of |
D |
name of event indicator, defined to be |
Z |
(optional) name(s) of additional fully observed covariates. If none, |
data |
a dataframe containing at least columns |
distY |
distribution assumed for |
distX |
distribution assumed for |
rightCens |
logical. If |
robcov |
logical. If |
subdivisions |
(fed to |
steptol |
(fed to |
iterlim |
(fed to |
verbose |
logical. If |
A list with the following elements:
outcome_model |
a list containing details of the fitted model for the outcome. |
predictor_model |
a list containing details of the fitted model for the predictor. |
code |
an integer indicating why the optimization process terminated. See |
vcov |
variance-covariance matrix of the model parameters. |
rvcov |
robust sandwich variance-covariance matrix of the model parameters. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.