View source: R/neg_loglik_am.R
neg_loglik_am | R Documentation |
Maximum likelihood estimator (MLE) for right-censored covariates in normal linear regression
neg_loglik_am(params, Y, X, C, Z = NULL, data)
params |
Model 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 |
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.