# Power Analysis for Logistic Regression with one nominal variable [duplicate]

How do I estimate sample size or do power analysis for logistic regression with one nominal independent variable? Is there a way to do it with Stata?

## marked as duplicate by kjetil b halvorsen, mdewey, Peter Flom♦Mar 14 at 11:13

• You should give some more details. How many levels of the nominal variable? Are the distribution of the levels uniform? If you have only two levels, with about uniform distribution, logistic regression should be close to the chisquare test of the $2\times 2$-table, so you could use power analysis for that case. – kjetil b halvorsen Apr 30 '15 at 7:55