What is the sample size calculation for a discrete outcome (count variable)?

For example, I want to design a trial with a placebo and a treatment. Alpha is 0.05 and power 0.8. The outcome is the number of days of treatment : 14 days for placebo and 10 days (expected) for treatment (i.e., reduction of 4 days of treatment). Which formula should I use to calculate the sample size for this trial?

I usually use the book "Sample Sizes for Clinical, Laboratory and Epidemiology Studies (Machin et al., 2018)" for sample sizes calculations but I do not find any example for this type of data. There are formulas for continuous data, but in this case I don't know if I can approximate days as a continuous variable (to me it is rather a discrete variable).

More Pauline Delhez's questions See All
Similar questions and discussions