permuteIPZ {permGS} | R Documentation |
permuteIPZ
Description
Permute treatment assignment after imputation (IPZ)
Usage
permuteIPZ(data, pZ, index = FALSE)
Arguments
data |
matrix as returned by impute.IPT |
pZ |
vector of permuted indices if index is TRUE, else binary vector of treatment assignments |
index |
indicates if pZ is a vector of indices or a binary vector of treatment assignments |
Value
matrix with time, status, Z columns
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]