LoglikWeibullSurvRegCens {SurvRegCensCov} | R Documentation |
Log-likelihood function of a Weibull Survival Regression Model allowing for an interval-censored covariate.
Description
Computes the log-likelihood function of a Weibull Survival Regression Model allowing for an interval-censored covariate.
Usage
LoglikWeibullSurvRegCens(x, data_y, data_delta_loglik, data_cov_noncens = NULL,
data_cov_cens, density, data_r_loglik, data_lowerbound,
intlimit = 10^-10)
Arguments
x |
Vector of parameters, ordered as follows: Scale parameter, Shape parameter, regression parameters (i.e. |
data_y |
Time-to-event vector. |
data_delta_loglik |
Censored indicator vector of the time-to-event (0: censored, 1: not censored). |
data_cov_noncens |
Matrix where each column represents a non-censored covariate. |
data_cov_cens |
Censored covariate vector. |
density |
Density function of the censored covariate. |
data_r_loglik |
Censored indicator vector of the censored covariate (0: censored, 1: not censored). |
data_lowerbound |
A vector which corresponds to the lower bounds for the interval-censored observations of the censored covariate. If no lower bound is available then put |
intlimit |
In computation of integrals, values of the function to be integrated below |
Note
Function not intended to be invoked by the user.
Author(s)
Stanislas Hubeaux, stan.hubeaux@bluewin.ch
Kaspar Rufibach, kaspar.rufibach@gmail.com
http://www.kasparrufibach.ch
References
Hubeaux, S. (2013). Parametric Surival Regression Model with left- and/or interval-censored covariate. Technical report, Biostatistics Oncology, F. Hoffmann-La Roche Ltd.
Sattar, A., Sinha, S. K. and Morris, N. J. (2012). A Parametric Survival Model When a Covariate is Subject to Left-Censoring. Biometrics & Biostatistics, S3(2).