[Gsdesign-commits] r201 - pkg/gsDesign/man
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Wed Nov 25 17:01:08 CET 2009
Author: keaven
Date: 2009-11-25 17:01:08 +0100 (Wed, 25 Nov 2009)
New Revision: 201
Modified:
pkg/gsDesign/man/binomial.Rd
Log:
Minor update
Modified: pkg/gsDesign/man/binomial.Rd
===================================================================
--- pkg/gsDesign/man/binomial.Rd 2009-11-25 07:36:27 UTC (rev 200)
+++ pkg/gsDesign/man/binomial.Rd 2009-11-25 16:01:08 UTC (rev 201)
@@ -176,6 +176,9 @@
pchisq(testBinomial(x1=410, x2=400, n1=500, n2=500, delta0= -.05,
chisq=1, adj=1), 1, lower.tail=FALSE)
+# provide 95% CI (Miettinen and Nurminen method)
+ciBinomial(x1=410, x2=400, n1=500, n2=500)
+
# now simulate the z-statistic witthout continuity corrected variance
sum(qnorm(.975) <=
simBinomial(p1=.8, p2=.8, n1=500, n2=500, nsim=100000)) / 100000
More information about the Gsdesign-commits
mailing list