gehan_estimation {aftsem} | R Documentation |
This function performs Gehan's estimation of regression parameters proposed by Jin
gehan_estimation(y, Z, delta, rsmat, m, init = FALSE)
y |
A numeric vector of survival times. |
Z |
A matrix of covariates |
delta |
A numeric vector indicating censoring status |
rsmat |
A resampling matrix |
m |
Method for quantreg optimalization |
init |
A logical value indicating whether to return the initial fit object (default is 'FALSE'). If 'FALSE', only the coefficients are returned. |
If 'init = FALSE' and 'change == 1', returns a list with elements 'INTERCEPT', 'RESID', 'ITERS', 'CONVERGED', 'BETA'. Otherwise, returns a matrix of resampled Gehan estimates.
This function is a slightly different version from the original by Zherzen Jin, part of the now not available 'lss' program.
Zherzen Jin