biSurv | R Documentation |
Non-parametric estimation of the bivariate survival function
biSurv(formula, data, gamma = NULL, maxIt = 100, method = "dabrowska")
formula |
a formula object, with the response on the left of a ~
operator, and the terms on the right. The response must be a
survival object as returned by the |
data |
a data.frame containing the variables in the model |
gamma |
bandwidth of pruitt estimator. Can be ignored for other estimators. |
maxIt |
maximum number of iterations. |
method |
which estimator to use. 'dabrowska' (default), 'pruitt' or NPMLE |
many methods for bivariate survival data need an estimator for the bivariate survival function.
This function makes it possible to choose between three estimators: 1. the Dabrowska estimator, which has the advantage of implying
marginal survival functions given by the Kaplan-Meier, but gives negative probability mass to certain points, which is, of course, not wanted.
2. The Pruitt estimator which has positive probability mass everywhere and which has no problems with singly censored observations, but has a bandwidth, gamma
(so strictly speaking not non-parametric).
3. The NPMLE estimator, which, as the name suggests, is a non-parametric MLE. It has the disadvantage that it doesn't converge for singly censored observations since
probability mass has to be distributed over a line which almost surely has no observations lying on it.
matrix with estimate of bivariate survival function
Jeppe E. H. Madsen <jeppe.ekstrand.halkjaer@gmail.com>
Hougaard, Philip. Analysis of multivariate survival data. Springer Science & Business Media, 2012.
van der Laan, Mark J. Modified EM-estimator of the bivariate survival function. Rijksuniversiteit Utrecht. Mathematisch Instituut, 1993.
Dabrowska, Dorota M. "Kaplan-Meier estimate on the plane." Annals of Statistics 16.4 (1988): 1475-1489.
print.biSurv plot.biSurv
library(survival)
data("diabetic")
biSurv(Surv(time,status)~cluster(id), data = diabetic)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.