Learn R Programming

binGroup (version 2.2-1)

summary.gt.mp: Summary Method for Group Testing Model (Matrix Pooling) Fits

Description

Produce a summary list for objects of class "gt.mp" returned by gtreg.mp.

Usage

# S3 method for gt.mp
summary(object, ...)

Arguments

object

a fitted object of class "gt.mp".

currently not used.

Value

summary.gt.mp returns an object of class "summary.gt.mp", a list with components

call

the component from object.

link

the component from object.

coefficients

the matrix of coefficients, standard errors, z-values and p-values.

counts

the component from object.

Gibbs.sample.size

the component from object.

cov.mat

the estimated covariance matrix of the estimated coefficients.

Details

print.summary.gt.mp is the print function that formats the coefficients, standard errors, etc. and additionally gives 'significance stars' if signif.stars is TRUE. The coefficients component of the result gives the estimated coefficients and their estimated standard errors, together with their ratio. This third column is labeled z ratio using Wald tests. A fourth column gives the two-tailed p-value corresponding to the z ratio based on a Wald test.

See Also

gtreg.mp for creating an object of class "gtreg.mp", print.summary.gt.mp gives some hints how to change the print-out of summary.gt.mp

Examples

Run this code
# NOT RUN {
## --- Continuing the Example from  '?sim.mp' and '?gtreg.mp':
# 5*6 and 4*5 matrix

set.seed(9128)
sa1a<-sim.mp(par=c(-7,0.1), n.row=c(5,4), n.col=c(6,5),
  sens=0.95, spec=0.95)
sa1<-sa1a$dframe

# }
# NOT RUN {
fit1mp <- gtreg.mp(formula = cbind(col.resp, row.resp) ~ x, data = sa1, 
  coln = coln, rown = rown, arrayn = arrayn, 
  sens = 0.95, spec = 0.95, linkf = "logit", n.gibbs = 1000, tol = 0.005)

summary(fit1mp)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab