imputeIPT {permGS}R Documentation

imputeIPT

Description

Impute data according to IPT method. Output is supposed to be passed to permute.IPT

Usage

imputeIPT(data, pool = TRUE)

Arguments

data

matrix as returned by as.matrix(generateData(param))

pool

if TRUE impute events times from pooled Kaplan-Meier estimator (default: TRUE)

Value

matrix containing imputed survival and censoring times (columns 1 and 2), and original treatment indicator (column 3)

References

Wang, R., Lagakos, S.~W. and Gray, R.~J. Testing and interval estimation for two-sample survival comparisons with small sample sizes and unequal censoring. Biostatistics, 11(4), 676–692, January 2010.


[Package permGS version 0.2.5 Index]