Unlike previous articles that showed how to use MC studies to determine sample size,I focused on regression models, since they are one of the most common ways to analyze data.I used the R statistical language for all example analyses.As R is free and
available on many computer operating systems,As R is free and available on many computer operating systems, the procedures and R syntax in this article should be readily usable by investigators for their own data analysis.