Log-linear models for linked loci.