gehan_estimation {aftsem} | R Documentation |
Gehan's Estimation for Survival Data
Description
This function performs Gehan's estimation of regression parameters proposed by Jin
Usage
gehan_estimation(y, Z, delta, rsmat, m, init = FALSE)
Arguments
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. |
Value
If 'init = FALSE' and 'change == 1', returns a list with elements 'INTERCEPT', 'RESID', 'ITERS', 'CONVERGED', 'BETA'. Otherwise, returns a matrix of resampled Gehan estimates.
Note
This function is a slightly different version from the original by Zherzen Jin, part of the now not available 'lss' program.
Author(s)
Zherzen Jin
[Package aftsem version 1.0 Index]