Description
Sample Size and Simulation for Negative Binomial Outcomes.
Description
Provides tools for planning and simulating recurrent event trials with overdispersed count endpoints analyzed using negative binomial (or Poisson) rate models. Implements sample size and power calculations for fixed designs with variable accrual, dropout, maximum follow-up, and event gaps, including methods of Zhu and Lakkis (2014) <doi:10.1002/sim.5947> and Friede and Schmidli (2010) <doi:10.3414/ME09-02-0060>. Supports group sequential designs by adding calendar-time analysis schedules compatible with the 'gsDesign' package and by estimating blinded information at interim looks. Includes simulation utilities for recurrent events (including seasonal rates), interim data truncation, and Wald-based inference for treatment rate ratios.
README.md
gsDesignNB
gsDesignNB provides fixed design and group sequential design simulation for recurrent event scenarios to be analyzed as a Poisson process or negative binomial model. For group sequential design, the package can be easily used with the gsDesign package. Key is the computation of statistical information at the time of analysis.
Installation
You can install gsDesignNB from CRAN with:
install.packages("gsDesignNB")
Or install the development version from GitHub with:
remotes::install_github("keaven/gsDesignNB")
Code style
This package follows the tidyverse style guide.