[R-sig-teaching] Power Calculation:Equivalence test: 2-sided Binomial Proportion

Albyn Jones jones at reed.edu
Tue Jun 7 18:23:56 CEST 2016


This list is for discussing the use of R in teaching.  Your question would
be more appropriate on the R-help list.

albyn


On Tue, Jun 7, 2016 at 8:55 AM, Munjal Patel <munjalpatel85 at gmail.com>
wrote:

> Dear R-Sig-teaching 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.
>
> My SAS code.
>
> proc power;
> onesamplefreq test = equiv_exact
> alpha = 0.05
> proportion = 0.30
> lower = 0.2
> upper = 0.4
> ntotal = 500
> power = .;
> run;
>
> Can somebody helkp me by providing the R code for the similar calculation ?
> Thank you.
>
> MJ
>
>         [[alternative HTML version deleted]]
>
> _______________________________________________
> R-sig-teaching at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-sig-teaching
>

	[[alternative HTML version deleted]]



More information about the R-sig-teaching mailing list