This repository has the example R code for simulating balanced and unbalanced case control sample sizes for testing univariate and multivariate analyses. The total sample size is 10,000 and the balance/imbalance describes the property of case sample size. The code is flexiable in simulating other sample sizes by changing the parameters.
Reference: (Accepted) X.Zhang, R.Li, M.D.Ritchie. Statistical Impact of Sample Size and Imbalance on Multivariate Analysis in silico and A Case Study in the UK Biobank. AMIA Annu Symp Proc. 2020.