summary.epiSurv {SimHap}R Documentation

Summarizing epidemiological analysis models for survival data

Description

Summary method for objects of class epiSurv

Usage

## S3 method for class 'epiSurv':
summary(object, ...)
## S3 method for class 'summary.epiSurv':
print(x, digits = max(3, getOption("digits") - 3), 
        signif.stars = getOption("show.signif.stars"), ...)

Arguments

object an object of class epiSurv, a result of a call to epi.surv.
x an object of class summary.epiSurv, the result of a call to
summary.epiSurv.
digits the number of significant digits to use when printing.
signif.stars logical. If TRUE, ``significance stars" are printed for each coefficient.
... further arguments passed to or from other methods.

Value

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

terms terms attribute of formula called in epi.surv.
coefficients summarized results from fitted model, including hazard ratios and p-values.
formula formula used in epi.surv.
Wald Wald statistic for the fitted model.
rsquared adjusted r-squared values for the fitted model.
residuals the residuals, that is response minus fitted values.

Author(s)

Pamela A McCaskie

References

McCaskie, P.A., Carter, K.W. Hazelton, M., Palmer, L.J. (2007) SimHap: A comprehensive modeling framework for epidemiological outcomes and a multiple-imputation approach to haplotypic analysis of population-based data, [online] www.genepi.org.au/simhap.

See Also

epi.surv

Examples


data(survPheno.dat)
mymodel <- epi.surv(formula=Surv(time, status)~age, pheno=survPheno.dat)
summary(mymodel)

# example with subsetting variable
mymodel <- epi.surv(formula=Surv(time, status)~age, pheno=survPheno.dat, 
        sub=expression(sex==1))


[Package SimHap version 1.0.0 Index]