gsDesignNB
0.3.2Sample Size and Simulation for Negative Binomial Outcomes
Overview
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 as well as extensions for score-test sizing and gaps between events. Supports group sequential monitoring by building on the 'gsDesign' package. Includes recurrent-event simulation utilities (including seasonal rates), interim data truncation, Wald and score-test inference for rate ratios, and information estimation and sample size re-estimation with or without treatment-group labels.
Install
Health
- OK2026-06-0913 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- ERROR2026-06-0812 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
- OK2026-03-1014 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Documentation
- Examples that run
- 82%
- Documented parameters
- 98%
- Return-value docs
- 97%
- References docs
- 14%
Downloads
Repository
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
Commits over time
Repository practices
5 development-tooling and community-health practices detected across 5 families in the upstream repository
Checks run against github.com/keaven/gsdesignnb on 2026-07-19.
Show all practices
Dependencies
Nothing depends on this yet.
Code & Tests
People & History
2 releases. Pick two to compare their code metrics. R releases are shown for context.
- 0.3.2Latest
- RR 4.6.0 released · 2026-04-24
- 0.2.62026-03-10
- RR 4.5.0 released · 2025-04-11
Package metadata
- First published
- 2026-02-16
- Total releases
- 2 / 1 yrs
- License
- GPL (>= 3) OSI
- Minimum R
- ≥ 4.1.0
- Download size
- 2.5 MB
- Installed size
- not tracked yet
- With dependencies
- not tracked yet