Description Usage Arguments Details Value Author(s) References Examples
This function compute the hazard ratio based on a Yang-Prentice model, given beta1, beta2, a, X and Mulam = int g(t) dH(t).
1 | Pfun2(b1, b2, a, X, Mulam)
|
b1 |
parameter value. = short term hazard ratio |
b2 |
parameter: long term hazard ratio. |
a |
parameter |
X |
covariate |
Mulam |
it is int f(t)dH(t)= Mulam. |
The flexibility also rest on the definition of Mulam: it can using any f(t) function. If we use indicator I[ t <= t0 ] then Mulam is just the baseline cumulative hazard funtion at t0. Where do you define the Mulam? (in fitYP3....)
A scalar which is the hazard ratio.
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.