Negative Binomial Sample Size Formula:
From: | To: |
The negative binomial sample size calculation determines the number of participants needed per group to detect a specified difference in count outcomes between two groups, accounting for overdispersion commonly found in count data.
The calculator uses the negative binomial sample size formula:
Where:
Explanation: This formula accounts for the extra variability (overdispersion) in count data that cannot be adequately modeled by Poisson regression.
Details: Proper sample size calculation ensures studies have sufficient power to detect meaningful differences while avoiding unnecessary resource expenditure on overly large studies.
Tips: Enter appropriate z-scores for your desired significance level and power, provide realistic mean counts based on pilot data or literature, and estimate dispersion parameters from previous studies.
Q1: When should I use negative binomial instead of Poisson?
A: Use negative binomial when your count data shows overdispersion (variance > mean), which is common in biomedical and ecological count data.
Q2: How do I estimate dispersion parameters?
A: Dispersion parameters can be estimated from pilot studies, previous similar research, or by fitting negative binomial models to existing data.
Q3: What are typical z-score values?
A: For α=0.05 (two-tailed), Z=1.96; for 80% power, Z=0.84; for 90% power, Z=1.28.
Q4: Can this be used for more than two groups?
A: This formula is specifically for comparing two groups. Multi-group comparisons require different sample size calculations.
Q5: What if my means are very similar?
A: Smaller differences between means require larger sample sizes. If means are identical, the sample size becomes undefined.