Learn R Programming

SurvRegCensCov (version 1.7)

LoglikCens: Log-likelihood functions for estimation of canonical parameters from a censored sample

Description

Computes the log-likelihood function for a censored sample, according to a specified distributional assumptions. Available distributions are Normal, Weibull, Logistic, and Gamma.

Usage

LoglikNormalCens(x, data, lowerbound, vdelta)
LoglikWeibullCens(x, data, lowerbound, vdelta)
LoglikLogisticCens(x, data, lowerbound, vdelta)
LoglikGammaCens(x, data, lowerbound, vdelta)

Arguments

x

Two-dimensional vector giving the canonical parameters of the distribution.

data

Observed or censored event times.

lowerbound

A vector that collect lower bounds for the interval-censored observations. If no lower bound is available then put NA.

vdelta

A vector which indicates censoring (0: censored, 1: not censored).

References

Hubeaux, S. (2013). Estimation from left- and/or interval-censored samples. Technical report, Biostatistics Oncology, F. Hoffmann-La Roche Ltd.

Lynn, H. S. (2001). Maximum likelihood inference for left-censored HIV RNA data. Stat. Med., 20, 33--45.