[R] proportional test on epicalc library vs. Jerrold H. Zar.

José Ignacio Bustos Melo jbustosm at udec.cl
Mon May 5 20:34:33 CEST 2008


Hi everyone,

I'm working with the Epical library, specicatly using the power test in
proportions. I think this test is not working like in the book:
Biostatistical Analysis (4th Edition): Jerrold H. Zar

In the example 23.25. (I attach this Pic) It's not the same answer.
Using the follow command don't give the same answer.

library(epicalc)
power.for.2p(0.75, 0.50, 50, 45, alpha = 0.05)

with this command the Power = 0.6402. But in the Book we find Power=0.72.

¿what it's the correct answer?...¿Zar or Chongsuvivatwong?

Thank guys!



   O__  ---- José Bustos M.
  c/ /'_ --- Master Apllied Stat Program
 (*) \(*) -- University of Concepción, Chile


More information about the R-help mailing list