newllk | R Documentation |
This function implements the approximate conditional inferential approach of \insertCitekz19;textualPHInfiniteEstimates to proportional hazards regression.
newllk(
beta,
fit,
exclude = NULL,
minus = FALSE,
keeponly = NULL,
justd0 = FALSE,
cc1 = 0
)
beta |
parameter vector. |
fit |
Output from a Cox PH regression, with x=TRUE and y=TRUE |
exclude |
data set with stratum and patient number to exclude. |
minus |
logical flag to change sign of partial likelyhood |
keeponly |
variables to retain. Keep all if this is null or NA. |
justd0 |
logical variable, indicating whether to calculate only the function value and skip derivatives. |
cc1 |
Continuity correction for first component of the score. |
a list with components
d0 partial likelihood
d1 first derivative vector
d2 second derivative matrix
kz19PHInfiniteEstimates
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.