Description Usage Arguments Details Value Author(s) References Examples
This function fits the baseline for given beta1 beta2 and lam; and then compute the empirical likelihood.
1 | fitYP3(Y, d, Z, beta1, beta2, lam, fun)
|
Y |
a vector containing the observed survival times. |
d |
a vector containing the censoring indicators, 1-uncensored; 0-right censored. |
Z |
a matrix of covariates (Xi and Zi)... |
beta1 |
a vector = (alpha, beta1). |
beta2 |
a vector = (alpha, beta2). |
lam |
a scalar. tilting parameter for the baseline. When lam=0, then there is no tilting. |
fun |
a function. It determine what feature of the baseline lam tilts. |
This function computes the log empirical likelihood. The parameters are given: beta1, beta2 and lam.
What baseline feature the lam corresponds to is determined by the fun(t), as in int f(t) dH(t). This integral value for the lam is also in the output as Mulam.
A list with the following components:
LogEmpLik |
this is actually the log empirical likelihood value. |
Mulam |
The value of int f(t) d H(t) for corresponding lam. This is also called a baseline feature. |
BaseHazw |
The baseline hazard jumps. |
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.