IC2MM {MMAD} | R Documentation |
MM algorithm based on the AD method for case II interval-censored data
Description
The IC2MM
function is used to calculate the case II interval-censored data model. A failure time study that consists of independent subjects from a
homogeneous population with survival function
. Let
denote the survival time, and
. Suppose that interval-censored data on the
are observed and given by
where . Let
denote the unique ordered elements of
.
Take
and
. The log-likelihood function is
where and
.
Usage
IC2MM(formula, data, ...)
Arguments
formula |
A formula object, which contains on the left hand side an object of type = 'interval2' of the type |
data |
A |
... |
Additional arguments, e.g. |
Details
The IC2MM
function allows the distributions for multiple strata of dataset to be stored as one IC2
object, e.g. data=bcos
.
Value
An object of class IC2MM
that contains the following fields: error
: convergence result; strata
: dimensions of each df_tab
;
s
: unique ordered elements of , if more than one strata, elements are concatenated;
S
: the survival function, if more than one strata, values are concatenated;
df_tab
: the dataframe of survival intervals and survival probabilities for each interval, if more than one strata, dataframes are concatenated.
References
Tian G.L., Huang X.F. and Xu, J.(2019). 'An assembly and decomposition approach for constructing separable minorizing functions in a class of MM algorithms.' Statistica Sinica 29(2), 961-982.
See Also
Examples
library(survival)
L <- c(1.5, 0.1, 1.5, 0.5, 0.4, 0.2, 0.9, 0.2, 0.08, 1.9)
R <- c(2.1, 2.9, 2.7, 1.9, 1.3, 1.4, 2.3, 0.5, 1.5, 4.6 )
data <- data.frame(L, R)
IC2MM(Surv(L,R, type = 'interval2') ~ 1, data )
IC2MM(Surv(L,R, type = 'interval2') ~ 1, data, control=IC2Control(Pdigits=2) )