Skip to content

Commit

Permalink
Update formula for Peto-Peto weighted log-rank test in vignettes
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcinKosinski committed May 28, 2020
1 parent 4be8c66 commit 8dc36cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vignettes/Specifiying_weights_in_log-rank_comparisons.Rmd
Expand Up @@ -71,7 +71,7 @@ Regular Log-rank comparison uses $w_{t_i} = 1$ but many modifications to that ap

- `n` Gehan and Breslow proposed to use $w_{t_i} = n_{t_i}$ (this is also called generalized Wilcoxon),
- `srqtN` Tharone and Ware proposed to use $w_{t_i} = \sqrt{n_{t_i}}$,
- `S1` Peto-Peto's modified survival estimate $w_{t_i} = S1({t_i}) = \prod_{i=1}^{T}(\frac{1-e_{t_i}}{n_{t_i}+1})$,
- `S1` Peto-Peto's modified survival estimate $w_{t_i} = S1({t_i}) = \prod_{i=1}^{T}(1-\frac{e_{t_i}}{n_{t_i}+1})$,
- `S2` modified Peto-Peto (by Andersen) $w_{t_i} = S2({t_i}) = \frac{S1({t_i})n_{t_i}}{n_{t_i}+1}$,
- `FH` Fleming-Harrington $w_{t_i} = S(t_i)^p(1 - S(t_i))^q$.

Expand Down

0 comments on commit 8dc36cd

Please sign in to comment.