| summary.hapClogit {SimHap} | R Documentation |
Summary method for objects of class hapClogit
## S3 method for class 'hapClogit':
summary(object, ...)
## S3 method for class 'summary.hapClogit':
print(x, digits = max(3, getOption("digits") - 3),
signif.stars = getOption("show.signif.stars"), ...)
object |
an object of class hapClogit, a result of a call to haplo.cc.match. |
x |
an object of class summary.hapClogit, the result of a call to summary.hapClogit. |
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. |
summary.hapClogit returns an object of class summary.hapClogit, a list with components
formula |
formula1 passed into haplo.cc.match. |
coefficients |
summarized results from fitted model, including hazard ratios and p-values. |
empiricalResults |
a list containing the hazard ratios, confidence intervals and p-values calculated at each simulation of haplo.cc.match. |
rsquared |
r-squared values for the model including haplotypes and the model excluding haplotypes. |
LRT |
a likelihood ratio test, testing for significant improvement of the model when haplotypic parameters are included. |
Wald |
The Wald test for overall significance of the fitted model. |
effect |
the haplotypic effect modelled: `ADDITIVE', `DOMINANT' or `RECESSIVE'. |
Pamela A. McCaskie
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.
data(SNP.dat)
# convert SNP.dat to format required by infer.haplos
haplo.dat <- SNP2Haplo(SNP.dat)
data(pheno.dat)
# generate haplotype frequencies and haplotype design matrix
myinfer<-infer.haplos(haplo.dat)
# print haplotype frequencies generated by infer.haplos
myinfer$hap.freq
myhaplo<-make.haplo.rare(myinfer,min.freq=0.05)
mymodel <- haplo.cc.match(formula1=DISEASE~SBP+DBP+h.N1AA+strata(STRAT),
formula2=DISEASE~SBP+DBP+strata(STRAT), haplo=myhaplo,
pheno=pheno.dat, sim=10)
summary(mymodel)