Dear Statalisters,

I have just posted my program -power tworates_zhu- on SSC. It implements the equations in Zhu and Lakkis (2014), which is useful if, like me, you don’t have access to PASS Sample Size Software.
Code:
ssc install power_tworates_zhu
Zhu, H. and Lakkis, H. 2014. Sample Size Calculation for Comparing Two Negative Binomial Rates. Statistics in Medicine, Volume 33, Pages 376-387.
https://onlinelibrary.wiley.com/doi/....1002/sim.5947

PASS Sample Size Software, Chapter 438.
https://ncss-wpengine.netdna-ssl.com...mial_Rates.pdf

Best wishes, Mark