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

print() output: value of bindingFutility not correctly displayed #41

Closed
gwassmer opened this issue Jun 24, 2024 · 0 comments
Closed

print() output: value of bindingFutility not correctly displayed #41

gwassmer opened this issue Jun 24, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@gwassmer
Copy link
Collaborator

Dear Professor Wassmer,
I am a statistician working for a pharmaceutical company named Zelgen.  Please allow me to take this chance to thank you for your great work in authoring "Group Sequential
and Confirmatory  Adaptive Designs in Clinical Trials" and issuing the powerful R package "rpact".  If you don't mind, may I consult you on below question ? Thanks in advance.

When I was running below codes to get boundaries, I found that designtest1 indicated that futility bound was non-binding. I understand bindingFutility=FALSE is the by default value.  However,  powertest1 showed that the design parameters of futility bounds was "Futility bounds (binding) ". It seems inconsistent with the designtest1.  Not sure if this is a typo ?  Also, any impact on the efficacy bound although I did not find any discrepancy?  

designtest1 <- getDesignGroupSequential(
                        sided = 1, alpha = 0.025, beta = 0.2,
                       informationRates = c(205 / 387, 285 / 387, 1), 
                       typeOfDesign = "asOF",typeBetaSpending="bsOF"
    )
designtest1

powertest1 <-getPowerSurvival(designtest1,
                              lambda1 = log(2) / 18, lambda2 = log(2) / 12,
                              dropoutRate1 = 0.05, dropoutRate2 = 0.05, dropoutTime = 12,
                              accrualTime = 0, accrualIntensity = 25, maxNumberOfSubjects=500,
                              maxNumberOfEvents = 387, directionUpper = FALSE
)
powertest1

Look forward to hearing from you. Thank you again!

Jack Peng

Suzhou Zelgen Biopharmaceuticals Co., Ltd.

Email:  pengmy@zelgen.com

  彭猛业
pengmy@zelgen.com
    </a></div></div></div></div></div><!--EndFragment-->
@gwassmer gwassmer changed the title Bug in print() output: value of bindingFutility not correctly displayed print() output: value of bindingFutility not correctly displayed Jun 24, 2024
@gwassmer gwassmer added the bug Something isn't working label Jun 24, 2024
fpahlke added a commit that referenced this issue Jul 3, 2024
…o 3.2.0

* When analyzing with a two-sided test, an issue with the calculation of the conditional rejection probability was fixed
* Issue [#41](#41) fixed
* Usage of pipe-operators improved
@fpahlke fpahlke mentioned this issue Jul 3, 2024
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant