haplo.chistat {haplo.stats}R Documentation

Calculate a score test statistic for haplotypes

Description

Calculate a score test statistic for haplotypes, given case-control status. For use in haplo.scan

Usage

haplo.chistat(h1, h2, post, y, nrep)

Arguments

h1 Vector of codes for the first of a haplotype pair per subject
h2 Vector of codes for the second of a haplotype pair per subject
post Posterior probability of the haplotype pair
y The case-control status (1 for cases; 0 for controls)
nrep Number of haplotype pairs for each subject

Details

Value

The score test statistic for the set of haplotypes

Side Effects

References

See Also

Examples



[Package haplo.stats version 1.2.2 Index]