Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
1301 feature request add confidence intervals for quantiles in surv time #1306
base: main
Are you sure you want to change the base?
1301 feature request add confidence intervals for quantiles in surv time #1306
Changes from 7 commits
c35948a
56b5f29
3bc7d42
d6e8f4b
a65114a
7806a15
881f5e7
98ff6c8
4ea5147
9796d65
eeff663
f3187a9
761954d
bcc0cbd
4976bb5
e7bfd91
620f068
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
why not?
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.
it is already passed as extra_args into the analysis function . If the na_str is passed as a named list (to be able to show the formatted value as "NA (NA, NA)" when a stat is all missing), having na_str as extra_args and inside analyze gave an error.
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.
I see! good catch! thanks :)
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.
I think this may also be present elsewhere. Can you add an issue regarding this please?
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.
after looking at it again, it might be more easy to remove na_str from extra_args and keep it in analyze only. Then it is much easier to accomplish "NA (NA, NA)", and there would not be the need for a named list to na_str to accomplish this.
Would it be ok to remove it from in_rows call and keep it only in analyze?
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.
The use of na_str seems a bit duplicated. It is more straightforward to modify it from the analyze function instead of sending it down. Yet the statistical functions may be used and tested externally from the decided analyze. For simplicity, I would keep only the na_str on the top level. If users want to use custom analyze functions can provide their own NA handling directly there
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.
Sounds fine to me!