Skip to content

Add an example showing how to update a stratified design at the time analysis#608

Open
LittleBeannie wants to merge 5 commits intomainfrom
606-blinded-estimation-of-the-treatment-effect-under-stratified-design
Open

Add an example showing how to update a stratified design at the time analysis#608
LittleBeannie wants to merge 5 commits intomainfrom
606-blinded-estimation-of-the-treatment-effect-under-stratified-design

Conversation

@LittleBeannie
Copy link
Collaborator

@LittleBeannie LittleBeannie commented Feb 4, 2026

To solve issue #606

Copy link
Collaborator

@jdblischak jdblischak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall looks good.

A big picture question (that doesn't have to be addressed for this PR): when is an example long enough that a vignette would be the better option?

#' # After the delayed effect, the HR is 0.8 for stratum A and 0.5 for stratum B.
#' fail_rate <- define_fail_rate(stratum = c("A", "A", "B", "B"),
#' duration = c(3, Inf, 3, Inf),
#' fail_rate = log(2) / c(9, 9, 9, 15),
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does it deserve a comment why the failure rate is different only for stratum B after the delayed effect?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Blinded estimation of the treatment effect under stratified design

2 participants