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

From: José Ignacio Bustos Melo <jbustosm_at_udec.cl>
Date: Mon, 05 May 2008 14:34:33 -0400 (CLT)

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


______________________________________________

R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Mon 05 May 2008 - 19:04:01 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 05 May 2008 - 21:30:38 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive