Description Usage Arguments Details Value Author(s) References Examples
This function finds the NPMLE of alpha and baseline, for the given beta1 and beta2. and then compute the empirical likelihood.
1 | fitYP4(Y, d, Z, beta1=1, beta2=-1, maxiter=60)
|
Y |
a vector containing the observed survival times. |
d |
a vector containing the censoring indicators, 1-uncensored; 0-right censored. |
Z |
a vector of ... |
beta1 |
a scalar. short term |
beta2 |
a scalar. long term |
maxiter |
an integer. |
Difference to the function fitYP3
: there is no constraint on the baseline. So, there is no lam input.
On the other hand, it try to find the NPMLE of alpha, via cox model iteration. So, it will output alpha hat.
A list with the following components (may be I should also return the baseline Surv?):
EmpLik |
this is actually the log empirical likelihood value. |
BaselineH |
The baseline hazard estimate. |
alpha |
The regression coefficient estimate, that is proportional hazard. |
Mai Zhou
Zhou, M. (2002). Computing censored empirical likelihood ratio by EM algorithm. Tech Report, Univ. of Kentucky, Dept of Statistics
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.