-
-
Notifications
You must be signed in to change notification settings - Fork 2
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
Update ard_survival_survfit
#152
Conversation
CLA Assistant Lite bot ✅ All contributors have signed the CLA |
I have read the CLA Document and I hereby sign the CLA |
Unit Tests Summary 1 files 64 suites 9s ⏱️ Results for commit 1564b51. |
Code Coverage Summary
Diff against main
Results for commit: 6cb361d Minimum allowed coverage is ♻️ This comment has been updated with latest results |
Unit Tests Summary 1 files 67 suites 10s ⏱️ Results for commit 6cb361d. ♻️ This comment has been updated with latest results. |
Thank you @edelarua !!
When we perform a non-linear transformation on a standard error, standard deviation, or variance, we need to be very careful we perform the transformation appropriately (i.e. you could to use the delta method which requires the derivative of the transforming function). Let's keep it simple and not transform the std error, and we'll make it clear with the |
Sounds good @ddsjoberg! I have removed standard error from the transformed variables and changed its label to |
@ddsjoberg this is ready for review when you have the time!! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @edelarua !!! this is great
What changes are proposed in this pull request?
ard_survival_survfit
to returnstd.error
andn.risk
statistics. (Updates forard_survival_survfit()
#139 )@ddsjoberg as I currently have it,
std.error
gets transformed along withestimate
,conf.low
, andconf.high
(with options"survival"
,"cumhaz"
, and"risk"
), but if you think it's more informative to always return the untransformedstd.error
that can be updated.Closes #139
Pre-review Checklist (if item does not apply, mark is as complete)
usethis::pr_merge_main()
ard_*()
function was added, it passes the ARD structural checks fromcards::check_ard_structure()
.ard_*()
function was added,set_cli_abort_call()
has been set.ard_*()
function was added and it depends on another package (such as,broom
),is_pkg_installed("broom", reference_pkg = "cardx")
has been set in the function call and the following added to the roxygen comments:@examplesIf do.call(asNamespace("cardx")$is_pkg_installed, list(pkg = "broom"", reference_pkg = "cardx"))
devtools::test_coverage()
Reviewer Checklist (if item does not apply, mark is as complete)
devtools::test_coverage()
When the branch is ready to be merged:
NEWS.md
with the changes from this pull request under the heading "# cardx (development version)
". If there is an issue associated with the pull request, reference it in parentheses at the end update (seeNEWS.md
for examples).