Description Usage Arguments Details Value References Examples
Fits hard thresholding penalty for competing risks regression. Estimates are calculated
via crr
from the cmprsk package.
1 2 | crrHARD(ftime, fstatus, X, failcode = 1, cencode = 0, lambda = 0,
nlambda = 25)
|
ftime |
A vector of event/censoring times. |
fstatus |
A vector with unique code for each event type and a separate code for censored observations. |
X |
A matrix of fixed covariates (nobs x ncovs) |
failcode |
Integer: code of |
cencode |
Integer: code of |
nlambda |
Numeric: number of |
The crrHARD
performs hard thresholding on the MPLE using the rule \hat{β_j} = \hat{beta}_j I(|β_j| > λ)
Returns a list of class crrBAR
.
Fine J. and Gray R. (1999) A proportional hazards model for the subdistribution of a competing risk. JASA 94:496-509.
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.