Description Usage Arguments Value Author(s) References See Also Examples
Provides estimates for the bivariate distribution function based on the Inverse Probability of Censoring Weighting estimator, IPCW.
1 |
object |
An object of class multidf. |
x |
The first time for obtaining estimates for the bivariate distribution function |
y |
The second time for obtaining estimates for the bivariate distribution function. |
covariate |
Name of the quantitative covariate. |
cov.value |
The value of the quantitative covariate. |
bw |
A single numeric value to compute a kernel density bandwidth. Use |
window |
A character string specifying the desired kernel. See details below for possible
options. Defaults to |
Vector with the IPWC estimates for the bivariate distribution function.
Gustavo Soutinho and Luis Meira-Machado.
de Una-Alvarez, J. and Meira-Machado, L. (2008). A simple estimator of the bivariate distribution function for censored gap times, Statistics and Probability Letters 78, 2440-2445.
KMWdf
, LDMdf
, LINdf
and WCHdf
.
1 2 3 4 5 6 7 8 9 10 11 12 13 | b3state2 <- multidf(time1=bladder4state$y1, event1=bladder4state$d1,
time=bladder4state$y1+bladder4state$y2,status=bladder4state$d2,
size=bladder4state$size)
b3size <- multidf(time1=bladder3$t1, event1=bladder3$d1,
time=bladder3$t2, status=bladder3$d2, size=bladder4state$size)
head(b3state2[[1]])
library(KernSmooth)
IPCWdf(object=b3state2, x=13, y=15, covariate="size", cov.value=3, window = "gaussian")
IPCWdf(object=b3state2, x=13, y=15, covariate="size", bw=2, cov.value=3, window = "gaussian")
IPCWdf(object=b3size, x=13, y=15, covariate="size", cov.value=3, window = "gaussian")
IPCWdf(object=b3size, x=13, y=15, covariate="size", bw=2, cov.value=3, window = "gaussian")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.