h_log_hr_est_via_score | R Documentation |
This function estimates the log hazard ratio by finding the root of the log-rank score function.
h_log_hr_est_via_score(score_fun, interval = c(-5, 5), ...)
score_fun |
( |
interval |
( |
... |
Additional arguments passed to |
This deactivates the ties factor correction in the score function by passing
use_ties_factor = FALSE
to the score_fun
.
A list containing:
theta
: The estimated log hazard ratio.
se
: The standard error of the estimated log hazard ratio.
sigma_L2
: The variance of the log-rank statistic.
n
: The number of observations used in the calculation.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.