Hi all, 

The survdiff() from survival package has an argument "rho" that implements 
Fleming-Harrington weighted long rank test. 

But according to several sources including "survminer" package 
 Fleming-Harrington weighted log-rank test should have 2 parameters "p" and "q" 
to control the weighting for earlier vs later times in the follow-up.

For example, setting rho=1 in survdiff() uses the Peto-Peto modification of 
Gehan-Wilcox weights, which I can confirm by setting p=1 & 1=0 in comp() from 
survminer package. similarly rho=0 is equivalent to p=0 & q=0

I am interested in putting more weights on survival difference in later 
follow-up time. According to comp() from survminer package, that would set p=0 
& q=1 for Fleming-Harrington weights. 

My question is how I can do the same by setting certain values for "rho" in the 
regular survival() function?

Thank you,


R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to