Learn R Programming

PEGroupTesting (version 1.0)

p.burrow: Burrow's estimate for population proportion using group testing

Description

This function estimates population proportion by group testing using Burrow's method. It is for equal group size only.

Usage

p.burrow(obs)

Arguments

obs
A 1 by 3 matrix containing the data information. Column 1 is the number of groups. Column 2 is group size. Column 3 is number of positives.

Value

Burrow's estimate for population proportion by group testing.

References

Burrows, P. (1987) Improved estimation of pathogen transmission rates by group testing. Phytopathology. 77(363-365)

Examples

Run this code
library(PEGroupTesting)
mydata=matrix(c(50,10,45),nrow=1,byrow=TRUE)
p.burrow(mydata)

Run the code above in your browser using DataLab