By using this site, you agree to the Privacy Policy and Terms of Use.
Accept
World of SoftwareWorld of SoftwareWorld of Software
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Search
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
Reading: Bayesian Power and Error Estimation in Survival Trials Using BayesPPDSurv | HackerNoon
Share
Sign In
Notification Show More
Font ResizerAa
World of SoftwareWorld of Software
Font ResizerAa
  • Software
  • Mobile
  • Computing
  • Gadget
  • Gaming
  • Videos
Search
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Have an existing account? Sign In
Follow US
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
World of Software > Computing > Bayesian Power and Error Estimation in Survival Trials Using BayesPPDSurv | HackerNoon
Computing

Bayesian Power and Error Estimation in Survival Trials Using BayesPPDSurv | HackerNoon

News Room
Last updated: 2025/05/15 at 9:47 AM
News Room Published 15 May 2025
Share
SHARE

Authors:

(1) Yueqi Shen, Department of Biostatistics, University of North Carolina at Chapel Hill ([email protected]);

(2) Matthew A. Psioda, GSK;

(3) Joseph G. Ibrahim, Department of Biostatistics, University of North Carolina at Chapel Hill.

Table of Links

Abstract and 1 Introduction: BayesPPDSurv

2 Theoretical Framework

2.1 The Power Prior and the Normalized Power Prior

2.2 The Piecewise Constant Hazard Proportional Hazards (PWCH-PH) Model

2.3 Power Prior for the PWCH-PH Model

2.4 Implementing the Normalized Power Prior for the PWCH-PH Model

2.5 Bayesian Sample Size Determination

2.6 Data Simulation for the PWCH-PH Model

3 Using BayesPPDSurv

3.1 Sampling Priors

4 Case Study: Melanoma Clinical Trial Design

5 Discussion and References

4 Case Study: Melanoma Clinical Trial Design

We consider the high-risk melanoma trial design application in Psioda and Ibrahim (2019), and demonstrate how BayesPPDSurv can be used for coefficient estimation as well as power and type I error rate calculations for time-to-event data in Bayesian clinical trial designs that incorporate historical information.

Interferon Alpha-2b (IFN) is an adjuvant chemotherapy for deep primary or regionally metastatic melanoma. The E1684 trial (Kirkwood et al., 1996) and the E1690 trial (Kirkwood et al., 2000) were randomized controlled trials conducted to evaluate the efficacy of IFN for melanoma following surgery. The studies classified the subjects into four disease stage groups. Following Psioda and Ibrahim (2019), we restrict our attention to patients in disease stage four, i.e., regional lymph node recurrence at any interval after appropriate surgery for primary melanoma of any depth. The primary outcome is relapse free survival. The number of positive lymph nodes at lymphadenectomy is used as a stratification variable (≤ 2 vs. ≥ 3) due to its prognostic value. We compare patients who received the IFN treatment to those who received observation (OBS). Table 1 summarizes the total number of events and the total risk time by treatment group and number of positive lymph nodes for the two studies.

Table 1: Relapse-free survival data by treatment group and number of positive nodes for trials E1684 and E1690. The number of positive lymph nodes is used as a stratification variable.Table 1: Relapse-free survival data by treatment group and number of positive nodes for trials E1684 and E1690. The number of positive lymph nodes is used as a stratification variable.

Table 2 displays the posterior mean, standard deviation and 95% credible interval for β and elements of λ. There is weak evidence suggesting a negative association between IFN and time-to-relapse.

Next, our goal is to design a new trial incorporating the E1684 study using the power prior and the normalized power prior. We first specify the characteristics of trial data simulation. Let ν be the number of events at which the trial will stop and let n be the total number of subjects enrolled. For each ν, we take n = 3ν. We assume a subject’s enrollment time follows a uniform distribution over a 4-year period. We allocate 50% of the subjects to the treatment group. For stratum allocation, we sample from the stratum indices of the historical data with replacement. We assume there is only administrative censoring which occurs when ν events have accrued. In the data generation phase, we use the default change points which are determined so that an approximately equal number of events are observed in each time interval for the historical dataset. When analyzing the generated data, we use the default change points which are determined so that an approximately equal number of events are observed in each time interval for the pooled current and historical datasets. The baseline hazard parameters are not shared between the current and historical data. The same set of default priors are used for β, λ and λ0 as before.

We compute the Bayesian power and type I error rate for a few sample sizes for tests of the hypotheses

H0 : β ≥ 0

and

H1 : β < 0.

Now we are ready compute the power and type I error rate using the power prior via the function power.phm.fixed.a0(). The following code computes the power for ν = 350 and a0 = 0.6 using the default alternative sampling prior.

Table 3 displays the power and type I error rates for ν = 350 and ν = 710 for a0 values of 0, 0.2 and 0.6 using the default sampling priors and the point-mass sampling priors. We obtain 50,000 posterior samples using the package’s custom slice sampler after 200 burn-ins for each of the 10,000 simulated datasets. The results in Table 3 are comparable to the results in Figure 2 in Psioda and Ibrahim (2019) (i.e., the same up to Monte Carlo error). We observe that the power increases with a0 and sample size as expected. We can also see that the default sampling priors yield average rates that are often lower than rates based on point-mass priors.

Table 3: Power and type I error rates for ν = 350 and ν = 710 for a0 values of 0, 0.2 and 0.6 using the default sampling priors and the point-mass sampling priors. We run 50,000 iterations of the slice sampler with 200 burn-ins for each of the 10,000 simulated datasets.Table 3: Power and type I error rates for ν = 350 and ν = 710 for a0 values of 0, 0.2 and 0.6 using the default sampling priors and the point-mass sampling priors. We run 50,000 iterations of the slice sampler with 200 burn-ins for each of the 10,000 simulated datasets.

5 Discussion

BayesPPDSurv facilitates Bayesian power and type I error rate calculations using the power and normalized power prior for time-to-event outcomes using a PWCH-PH model. We implement a flexible stratified version of the model, where the historical data can be used to inform the treatment effect, the effect of other covariates in the regression model, as well as the baseline hazard parameters. We develop a novel algorithm for approximating the normalized power prior that eliminates the need to compute the normalizing constant. The package also has features that semi-automatically generate the sampling priors from the historical data.

Future versions of the package will accommodate cure rate models. Another possible feature is the computation of optimal hyperparameters for the beta prior on a0 to ensure that the normalized power prior adapts in a desirable way to prior-data conflict or prior-data agreement, based on the work of Shen et al. (2024).

References

Alt, E. (2022). hdbayes: Bayesian Analysis of Generalized Linear Models with Historical Data. R package version 0.0.0.9000.

Anderson, K. (2024). gsDesign: Group Sequential Design. R package version 3.6.1, https://github.com/keaven/gsDesign.

Balcome, S., D. Musgrove, T. Haddad, and G. L. Hickey (2021). bayesDP: Tools for the Bayesian Discount Prior Function. R package version 1.3.4.

Benaglia, T., D. Chauveau, D. R. Hunter, and D. Young (2009). mixtools: An R package for analyzing finite mixture models. Journal of Statistical Software 32(6), 1–29.

Carvalho, L. M. and J. G. Ibrahim (2021, Jul). On the normalized power prior. Statistics in Medicine 40(24), 5251–5275.

Chandereng, T., D. Musgrove, T. Haddad, G. Hickey, T. Hanson, and T. Lystig (2020). bayesCT: Simulation and Analysis of Adaptive Bayesian Clinical Trials. R package version 0.99.3.

Chen, C.-F. (1985). On asymptotic normality of limiting density functions with Bayesian implications. Journal of the Royal Statistical Society. Series B (Methodological) 47(3), 540–546.

Chen, M.-H. and J. Ibrahim (2006, 09). The relationship between the power prior and hierarchical models. Bayesian Analysis 1.

Chen, M.-H., J. G. Ibrahim, P. Lam, A. Yu, and Y. Zhang (2011, Sep). Bayesian design of noninferiority trials for medical devices using historical data. Biometrics 67(3), 1163–1170.

Cox, D. R. (1972). Regression models and life-tables. Journal of the Royal Statistical Society. Series B (Methodological) 34(2), 187–220.

Duan, Y., K. Ye, and E. P. Smith (2006, feb). Evaluating water quality using power priors to incorporate historical information. Environmetrics (London, Ont.) 17(1), 95–106.

Eddelbuettel, D. and R. Francois (2011). Rcpp: Seamless R and C++ integration. Journal of Statistical Software 40(8), 1–18.

Eggleston, B. S., J. G. Ibrahim, B. McNeil, and D. Catellier (2021). BayesCTDesign: an R package for bayesian trial design using historical control data. Journal of Statistical Software 100(21).

Friedman, M. (1982, Mar). Piecewise exponential models for survival data with covariates. The Annals of Statistics 10(1), 101–113.

Frumento, P. (2024). pch: Piecewise Constant Hazard Models for Censored and Truncated Data. R package version 2.1.

Han, Z., T. Bai, and K. Ye (2021). NPP: Normalized Power Prior Bayesian Analysis. R package version 0.4.0.

Ibrahim, J., M.-H. Chen, and D. Sinha (2001). Bayesian Survival Analysis. New York: Springer.

Ibrahim, J. G. and M.-H. Chen (2000, feb). Power prior distributions for regression models. Statistical Science 15(1), 46–60.

Ibrahim, J. G., M.-H. Chen, Y. Gwon, and F. Chen (2015, dec). The power prior: theory and applications. Statistics in Medicine 34(28), 3724–3749.

Ibrahim, J. G., M.-H. Chen, and D. Sinha (2003, mar). On optimality properties of the power prior. Journal of the American Statistical Association 98(461), 204–213.

Kirkwood, J. M., J. G. Ibrahim, V. K. Sondak, J. Richards, L. E. Flaherty, M. S. Ernstoff, T. J. Smith, U. Rao, M. Steele, and R. H. Blum (2000, Jun). High- and low-dose interferon alfa-2b in high-risk melanoma: first analysis of intergroup trial e1690/s9111/c9190. Journal of Clinical Oncology 18(12), 2444–2458.

Kirkwood, J. M., M. H. Strawderman, M. S. Ernstoff, T. J. Smith, E. C. Borden, and R. H. Blum (1996). Interferon alfa-2b adjuvant therapy of high-risk resected cutaneous melanoma: the eastern cooperative oncology group trial est 1684. Journal of Clinical Oncology 14, 7–17.

Neal, R. M. (2003). Slice sampling. Ann. Statist. 31(3), 705–767.

Psioda, M. A. and J. G. Ibrahim (2019, Jul). Bayesian clinical trial design using historical data that inform the treatment effect. Biostatistics 20(3), 400–415.

Psioda, M. A., M. Soukup, and J. G. Ibrahim (2018, Nov). A practical bayesian adaptive design incorporating data from historical controls. Statistics in Medicine 37(27), 4054–4070.

Shen, Y., L. M. Carvalho, M. A. Psioda, and J. G. Ibrahim (2024). Optimal priors for the discounting parameter of the normalized power prior. Statistica Sinica. Preprint.

Shen, Y., M. A. Psioda, L. M. Carvalho, and J. G. Ibrahim (2024). Exploring the connection between the normalized power prior and bayesian hierarchical models. arXiv preprint.

Shen, Y., M. A. Psioda, and J. G. Ibrahim (2023a). BayesPPD: An R package for Bayesian sample size determination using the power and normalized power prior for generalized linear models. The R Journal 14, 335–351. https://doi.org/10.32614/RJ-2023-016.

Shen, Y., M. A. Psioda, and J. G. Ibrahim (2023b). BayesPPD: Bayesian Power Prior Design. R package version 1.1.2.

Shen, Y., M. A. Psioda, and J. G. Ibrahim (2024). BayesPPDSurv: Bayesian Power Prior Design for Survival Data. R package version 1.0.2.

Viele, K., S. Berry, B. Neuenschwander, B. Amzal, F. Chen, N. Enas, B. Hobbs, J. G. Ibrahim, N. Kinnersley, S. Lindborg, and et al. (2014, Feb). Use of historical control data for assessing treatment effects in clinical trials. Pharmaceutical Statistics 13(1), 41–54.

Wang, F. and A. E. Gelfand (2002, May). A simulation-based approach to bayesian sample size determination for performance under a given model and for separating models. Statistical Science 17(2), 193–208.

Wang, Y.-B., M.-H. Chen, L. Kuo, and P. O. Lewis (2018). A new monte carlo method for estimating marginal likelihoods. Bayesian Analysis 13(2), 311–333.

This paper is available on arxiv under CC by 4.0 Deed (Attribution 4.0 International) license.

Sign Up For Daily Newsletter

Be keep up! Get the latest breaking news delivered straight to your inbox.
By signing up, you agree to our Terms of Use and acknowledge the data practices in our Privacy Policy. You may unsubscribe at any time.
Share This Article
Facebook Twitter Email Print
Share
What do you think?
Love0
Sad0
Happy0
Sleepy0
Angry0
Dead0
Wink0
Previous Article This Snapdragon chipset is going to power some of 2025’s top mid-range phones | Stuff
Next Article Motorola Razr Ultra (2025) Review: Good, But Flipping Expensive
Leave a comment

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Stay Connected

248.1k Like
69.1k Follow
134k Pin
54.3k Follow

Latest News

You can snag a year of Peacock Premium for just $24.99 right now
News
GSMA calls for governments to prioritise affordable mobile spectrum | Computer Weekly
News
Elden ring nightreign, doom: the dark ages round up the biggest games of May
Software
If You’re Going to Use Next.js — At Least Use it Right | HackerNoon
Computing

You Might also Like

Computing

If You’re Going to Use Next.js — At Least Use it Right | HackerNoon

3 Min Read
Computing

Intel Core Ultra 7 256V “Lunar Lake” Linux Performance In Mid-2025 vs. Launch Day

3 Min Read
Computing

Safaricom, Airtel, CA barred from future internet blocks

4 Min Read
Computing

Top 11 Leapsome Alternatives in 2025 |

30 Min Read
//

World of Software is your one-stop website for the latest tech news and updates, follow us now to get the news that matters to you.

Quick Link

  • Privacy Policy
  • Terms of use
  • Advertise
  • Contact

Topics

  • Computing
  • Software
  • Press Release
  • Trending

Sign Up for Our Newsletter

Subscribe to our newsletter to get our newest articles instantly!

World of SoftwareWorld of Software
Follow US
Copyright © All Rights Reserved. World of Software.
Welcome Back!

Sign in to your account

Lost your password?