Fig. 3From: Collective interaction effects associated with mammalian behavioral traits reveal genetic factors connecting fear and hemostasisCollective inference performance. Ridge regression (RR) and CDA were compared using simulated data. We first sampled phenotype values of n individuals from the standard normal distribution. Restricting ourselves to the number of SNPs (m ≤ 20) allowing for the enumeration of all possible genotypes, we then assigned single-SNP and interaction parameters for m = 10 (a), m = 15 (b), and m = 20 SNPs (c) from normal distributions h i (0) ~ N(0, 0.01), J ij (0) ~ N(0, 0.01), h i (1) ~ N(0, 0.01), and J ij (1) ~ N(0.1, 0.01), under the dominant model. We next calculated the genotype distribution conditional on phenotypes for all possible genotypes, and chose a genotype for each individual based on this distribution. We repeated this sampling for 100 replicates. For each data set, we applied RR and CDA collective inference, using a single penalizer λ determined by optimizing R by cross-validation (right column). Power was defined as the proportion of replicates for which P < 0.05Back to article page