Description Usage Arguments Value References Examples
Returns log-pseudo likeihood at a specific value of beta
.
1 2 | getLogLikelihood(ftime, fstatus, X, failcode = 1, cencode = 0,
beta = rep(0, dim(X)[2]))
|
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 |
beta |
A vector of coefficient values at which to evaluate log-pseudo likelihood |
Returns log-pseudo likelihood at beta
.
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 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.