epi.cc.match {SimHap}R Documentation

Epidemiological analysis for matched case-control data

Description

epi.cc.match is used to fit conditional logistic regression models to matched case-control data.

Usage

epi.cc.match(formula, pheno, sub = NULL)

Arguments

formula a symbolic description of the model to be fit. The response must be binary indicator of case-control status, and the formula must contain a variable indicating strata, or the matching sequence.
pheno a dataframe containing phenotype data.
sub an expression representing a subset of the data on which to perform the models.

Details

formula should be in the form:

response ~ predictor(s) + strata(strata_variable).

Value

epi.cc.match returns an object of class epiClogit containing the following items

results a table containing the odds ratios, confidence intervals and p-values of the parameter estimates.
formula formula passed to epi.cc.match.
Wald The Wald test for overall significance of the fitted model including SNP parameters.
logLik the log-likelihood for the linear model fit using formula.
fit.coxph an object of class clogit fit using formula1. See clogit for details.
rsquared r-squared values for the fitted model.

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.bin, clogit

Examples


data(pheno.dat)
mymodel <- epi.cc.match(formula=DISEASE~SBP+DBP+strata(STRAT), 
        pheno=pheno.dat)
summary(mymodel)

# example with subsetting variable
mymodel <- epi.cc.match(formula=DISEASE~SBP+DBP+strata(STRAT), 
        pheno=pheno.dat, sub=expression(SEX==1))
summary(mymodel)


[Package SimHap version 1.0.0 Index]