I'm very new to the world of statistics, so sorry in advance for my limited knowledge. I hope you don't mind helping me.
We are currently setting up a multicenter RCT of treatment A versus placebo in 8 hospitals. The primary outcome is duration of treatment (time from randomization till stop of treatment = delivery), which is decided by the treating physician (based on protocol and personal opinion) and by patient-related factors (3 variables that tell us how unwell the patient is at inclusion). We believe that a 5 day prolongation of treatment duration is clinically relevant ('the longer the better'). The data we have from previous trials are mainly medians (the median treatment duration in placebo group is 10 days), as treatment duration is highly skewed (most treatments stop after a few days, only few are treated longer).
I came across this article: https://pubmed.ncbi.nlm.nih.gov/29197347/ Their method for sample size calculation seems to fit our stuation. However, I'm having trouble finding the correct way to calculate the sample size and take into account the (large) impact of differences in treatment duration between centers and how to correct for that. I have stratified randomization by center but I understand that an additional correction must be made to account for the correlation introduced in the data by stratifying.
Thank you all very much for your time and efforts in advance, Catherina