This repo stores the CaseOnly R code for simulating and analysing data to evaluate type I error and power of the case-only design to detect interactions.
Please cite the following paper if you use it.
The case-only design is a powerful approach to detect interactions but should be used with caution. (2024) Rui Dong, Gao T. Wang, Andrew T. DeWan, Suzanne M. Leal. (submitted)