How to Calculate N in Dunn-Sidak Equation
The Dunn-Sidak equation is a statistical method used to control the family-wise error rate in multiple comparisons. Calculating the sample size n is essential for designing experiments with proper statistical power. This guide explains how to determine n in the Dunn-Sidak context, including the formula, assumptions, and practical considerations.
What is the Dunn-Sidak Equation?
The Dunn-Sidak procedure is a multiple comparison method that adjusts p-values to control the family-wise error rate (FWER). It's particularly useful when comparing multiple group means or proportions.
The procedure involves two main steps:
- Perform all pairwise comparisons between groups
- Adjust the p-values using the Dunn-Sidak formula
Key Assumptions:
- Data is normally distributed
- Variances are equal across groups
- Observations are independent
How to Calculate n in Dunn-Sidak
Calculating the required sample size n for a Dunn-Sidak analysis involves several parameters:
- Effect size (difference between groups)
- Standard deviation
- Number of groups (k)
- Significance level (α)
- Power (1-β)
Dunn-Sidak Sample Size Formula:
n = [Z(1-α/2) + Z(1-β)]² × σ² / δ²
Where:
- Z = Z-score from standard normal distribution
- σ = Standard deviation
- δ = Effect size (minimum detectable difference)
For multiple comparisons, the required n is larger than for a single comparison due to the multiple testing correction. The Dunn-Sidak adjustment factor is incorporated into the power calculation.
Step-by-Step Calculation
- Determine the minimum detectable effect size δ
- Estimate the standard deviation σ from pilot data or literature
- Choose the desired significance level α (typically 0.05)
- Select the desired power (typically 0.8 or 0.9)
- Calculate the Z-scores for the given α and power
- Plug values into the formula to find n
| Parameter | Value |
|---|---|
| Effect size (δ) | 0.5 |
| Standard deviation (σ) | 1.2 |
| Significance level (α) | 0.05 |
| Power (1-β) | 0.8 |
Worked Example
Let's calculate the required sample size for a study comparing three groups (k=3) with the following parameters:
- Effect size δ = 0.4
- Standard deviation σ = 1.0
- Significance level α = 0.05
- Power = 0.8
Calculation Steps
- Z(1-α/2) = Z(0.975) ≈ 1.96
- Z(1-β) = Z(0.8) ≈ 0.842
- Sum of Z-scores = 1.96 + 0.842 = 2.802
- Square the sum: 2.802² = 7.853
- Calculate variance ratio: σ²/δ² = 1.0/0.16 = 6.25
- Multiply: 7.853 × 6.25 ≈ 49.08
The calculation shows that approximately 49 participants are needed per group for this study design.
Note: The actual required n may be higher due to the Dunn-Sidak adjustment for multiple comparisons.