coxdual
.
coxdual.control(eps = 1e-07, iter.max = 50000, coef.typ = 1, coef.max = 10, sieve = TRUE, sieve.const = 1, sieve.rate = 1/3, risk.min = 1, data = FALSE)
coxdual
will eventually exit, even when the
convergence criteria are not met.
coef.typ
arguments tune
variance estimation via the curvature in the profile
log-likelihood.
TRUE
is recommended to avoid issues with
support finding and convergence.
sieve.const
a vector of length three. Indexing the states
from zero, this vector's components correspond to the state 0 to
state 1, 0 to 2, and 1 to 2 transition types, respectively.
coxdual
should contain an element data
that
gives the known support points, corresponding size of the risk set,
left and right endpoints of censoring intervals for the progression
time, first and last observation times, likelihood contribution
type (0
progression status unknown, 1
positive status,
2
negative status), survival time observed, and type-specific
covariates.
sieve.const*
n^sieve.rate
. Any reduction
in size from this value is applied to ensure that each subinterval in
the sieve's time partition captures at least one support point from
the semiparametric maximum likelihood estimator based on the subsample
with known progression status (Boruvka and Cook, 2014).
coxdual
coxdual(Surv(start, stop, status) ~ cluster(id) + trans(from, to)
+ I(z * (to == 1)) + I(z * (from %in% 0 & to == 2))
+ I(z * (from %in% c(NA, 1) & to == 2)), data = dualrc,
control = coxdual.control(eps = 1e-5, sieve.rate = 2/5))
Run the code above in your browser using DataLab