linreg_am | R Documentation |
Maximum likelihood estimator (MLE) for right-censored covariates in normal linear regression
linreg_am(params0, Y, X, C, Z = NULL, data, steptol = 1e-06, iterlim = 100)
params0 |
Starting parameter values. |
Y |
Name of column variable. |
X |
Name of censored covariate variable. |
C |
Name of observed version of |
Z |
(Optional) name(s) of additional fully observed covariates. Default is |
data |
A dataframe containing at least columns |
steptol |
(Fed to |
iterlim |
(Fed to |
A list with the following two elements:
coeff |
A dataframe containing coefficient and standard error estimates at convergence. |
code |
An integer indicating why the optimization process terminated. See |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.