Network Meta-Analytic Predictive Prior for Mid-Trial SoC Changes
Turn a single model input (object with JAGS text OR path) into a fil...
Simulation for operating-characteristics applying NAP-based priors
Conduct posterior inference with NAP-based priors
NAP_prior: Derive NAP/mNAP/eNAP priors
NAPrior: Network Meta-Analytic Predictive Priors
Posterior mixture weight calculation
Calibrate (a, b) for eNAP prior
Implements the Network meta-Analytic Predictive (NAP) prior framework to accommodate changes in the standard of care (SoC) during ongoing randomized controlled trials (RCTs). The method synthesizes pre- and post-change in-trial data by leveraging external evidence, particularly head-to-head trials comparing the original and new standards of care, to bridge the two evidence periods and enable principled borrowing. The package provides utilities to construct NAP-based priors and perform Bayesian inference for time-to-event endpoints using summarized trial evidence.