Learn R Programming

binGroup (version 2.2-1)

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

Description

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

Usage

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

Arguments

object

a fitted object of class "gt".

currently not used.

Value

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

call

the component from object.

link

the component from object.

deviance

the component from object.

aic

the component from object.

df.residual

the component from object.

null.deviance

the component from object.

df.null

the component from object.

deviance.resid

the deviance residuals: see residuals.gt

coefficients

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

counts

the component from object.

method

the component from object.

cov.mat

the estimated covariance matrix of the estimated coefficients.

Details

print.summary.gt 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. (It is possible that there are no residual degrees of freedom from which to estimate it. In that case the estimate is NaN.)

See Also

gtreg for creating an object of class "gt", and print.summary.gt for some options of changing the print out following summary.gt.

Examples

Run this code
# NOT RUN {
## --- Continuing the Example from '?gtreg':

data(hivsurv)

fit1 <- gtreg(formula = groupres ~ AGE + EDUC., data = hivsurv,
  groupn = gnum, sens = 0.9, spec = 0.9, method = "Xie")

summary(fit1)

# }

Run the code above in your browser using DataLab