Dear list
I would like to use powerreg for determining the appropriate sample size for a multiple regression model. The module works when only one predictor is in the model, but when specifying multiple predictors, as in:
powerreg, r2f(0.3) rfr(0.25) nvar(7) ntest(7) power(.80)
I receive the error message:
option nn() invalid
Any information would be greatly appreciated to resolve this problem.
I am using Stata 12 SE.
Barth
I would like to use powerreg for determining the appropriate sample size for a multiple regression model. The module works when only one predictor is in the model, but when specifying multiple predictors, as in:
powerreg, r2f(0.3) rfr(0.25) nvar(7) ntest(7) power(.80)
I receive the error message:
option nn() invalid
Any information would be greatly appreciated to resolve this problem.
I am using Stata 12 SE.
Barth
Comment