This question already has an answer here:

I have to deliver a statistical analysis plan that will have to be approved by an ethic commettee before I could start a clinical trial.

I usually deal with different kinds of tests, whose power analysis is straightforward and, given the expected effect size, a given statistical significance (Type I error), and a desired power (1 - Type II error), I can easily obtain the needed sample size.

However, this time I am planning to use logistic and ordinal regressions. How can I determine the sample size needed to perform an analysis with a given power, a given statistical significance, and an expected effect size (in terms of odds ratio, I guess)?

Before asking such a question I googled, but I found only some tables related to "standard" cases with one or two regressors, wheras in my case I have several predictors: discrete variables, dummy variables, ordinal variables, and continuous variables.


marked as duplicate by kjetil b halvorsen, gung regression Jun 11 '17 at 19:12

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • 4
    $\begingroup$ You can use simulation: stats.stackexchange.com/questions/35940/… Also, note that using the expected effect size is not quite the "right" thing to do. You should be using the minimum effect size of clinical significance. $\endgroup$ – markseeto Mar 22 '15 at 7:32