Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Log Likelihood Ratio P-value incorrectly named as log-rank? #640

Open
arichards2564 opened this issue Jan 19, 2024 · 0 comments
Open

Log Likelihood Ratio P-value incorrectly named as log-rank? #640

arichards2564 opened this issue Jan 19, 2024 · 0 comments

Comments

@arichards2564
Copy link

I believe that p.value.log is actually referring to the log of the likelihood ratio test, whereas the p.value.sc is referring to the score log-rank test.
According to this: https://rdrr.io/cran/survival/src/R/summary.coxph.R the log LRT is stored in logtest while the log-rank is in sctest. Then when it goes through broom::glance, these are logged as p.value.log and p.value.sc respectively (https://github.com/tidymodels/broom/blob/main/R/survival-coxph-tidiers.R#L153-L155)

https://github.com/kassambara/survminer/blob/64de6746a7ee9cd758dc8d14ca88c8383e6851a6/R/ggforest.R#L172C21-L172C40

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant