The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.
gsDesignNB provides design, simulation, and interim monitoring tools for recurrent-event trials analyzed with negative binomial rate models, with Poisson methods available as the limiting special case when dispersion is negligible.
The package is NB-first: plan designs with
sample_size_nbinom(), simulate recurrent-event data with
nb_sim() or nb_sim_seasonal(), and evaluate
group sequential monitoring or sample size re-estimation with
sim_gs_nbinom() and sim_ssr_nbinom(). Planning
and simulation can use either Wald or score-test inference for rate
ratios. The gsDesign package supplies the underlying spending-function
and boundary calculations used by those workflows.
sample-size-nbinom for fixed-design planningscore-vs-wald-simulation for Wald/score sizing and Type
I error guidancesimulation-example and seasonal-simulation
for recurrent-event data generationssr-example and ssr-simulation-study for
negative binomial SSR workflowsYou can install gsDesignNB from CRAN with:
install.packages("gsDesignNB")Or install the development version from GitHub with:
remotes::install_github("keaven/gsDesignNB")This package follows the tidyverse style guide.
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.