[R] Power Calculation:2-sided exact equivalence test for Binomial Proportions

Leonardo Ferreira Fontenelle leonardof at leonardof.med.br
Tue Jun 7 20:50:42 CEST 2016


Em Ter 7 jun. 2016, às 13:26, Munjal Patel escreveu:
> Dear R-Users,
> I am an intermediate level R user.
> 
> I am performing the power calculations for the Binomial proportions (2
> sided).
> I want to find the Power using the Exact test for the Equivalence of
> Binomial proportions.
> I do have the SAS code which is generating the Power for me but i am
> unable
> to find the Similar code in R.
> I need help for finding the similar computation in R.
> 

I'm not a statistician, and I have never hear of power calculation using
exact test. On the other hand, with hundreds of observations on each
group, does it matter? Maybe you could simply use power.prop.test(),
from the loaded-by-default package "stats".

Of course, you could look for packages about proportions or binomial in
CRAN, or set up a simulation.

Hope that helps,

Leonardo Ferreira Fontenelle, MD, MPH

PhD candidate, Federal University of Pelotas
Professor of Medicine, Vila Velha University
Legislative consultant, Municipal Chamber of Vitória



More information about the R-help mailing list