imputeIPT function

imputeIPT

imputeIPT

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

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)

Returns

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.

  • Maintainer: Matthias Brueckner
  • License: GPL-3 | file LICENSE
  • Last published: 2017-08-07

Useful links