haplo.chistat: Calculate a score test statistic for haplotypes
Description
Calculate a score test statistic for haplotypes, given case-control
status. For use in haplo.scanUsage
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
Value
- The score test statistic for the set of haplotypes