p.gart: Gart's estimate for population proportion by group testing

Description Usage Arguments Value Author(s) References Examples

View source: R/p.gart.R

Description

The function estimates the population proportion by group testing using Gart's method. It is for both equal and unequal group size.

Usage

1
p.gart(obs)

Arguments

obs

A three-column matrix containing all the data information. Column 1 is the number of groups. Column 2 is group size. Column 3 is number of positives. Different rows corresponds to different group sizes.

Value

Gart's estimate for population proportion by group testing

Author(s)

Qingyang Zhang, Yanchuan Li

References

Gary, J. (1991) An application of score methodology: confidence intervals and tests of fit for one-hit curves. Handbook of Statistics, 8(395-406), Amsterdam Elsevier. <https://www.elsevier.com/books/book-series/handbook-of-statistics>

Examples

1
2
3
library(PEGroupTesting)
mydata=matrix(c(50,10,40,40,8,37),nrow=2,byrow=TRUE)
p.gart(mydata)

PEGroupTesting documentation built on May 29, 2017, 9:18 p.m.

Search within the PEGroupTesting package
Search all R packages, documentation and source code