Negative Binomial Sample Size Formula:
From: | To: |
The negative binomial sample size calculation determines the number of subjects needed per group to detect a specified difference in mean counts 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 follows a negative binomial distribution rather than a Poisson distribution.
Details: Proper sample size calculation ensures studies have adequate power to detect meaningful differences while avoiding unnecessary resource expenditure on overpowered studies.
Tips: Enter significance level (typically 0.05), power (typically 0.8-0.9), mean counts for both groups, and dispersion parameters. Dispersion parameters can be estimated from pilot data or literature.
Q1: When should I use negative binomial instead of Poisson sample size?
A: Use negative binomial when your count data shows overdispersion (variance > mean). Poisson assumes variance equals mean.
Q2: How do I estimate dispersion parameters?
A: Dispersion parameters can be estimated from pilot data using maximum likelihood estimation or method of moments.
Q3: What if I don't know the dispersion parameters?
A: Use conservative estimates from similar studies. Underestimating dispersion can lead to underpowered studies.
Q4: Can this be used for one-sample tests?
A: This formula is designed for two-group comparisons. Different formulas exist for one-sample scenarios.
Q5: What are typical values for dispersion parameters?
A: Dispersion parameters typically range from 0.1 to 10, with smaller values indicating less overdispersion.