a, b, Preference for social port and numbers of pokes in females (a) and males (b) in the presence of a target animal. Both male and female animals develop strong preference for the social port in the presence of target animals. Experiment was performed over a 10-day period, which consists of 1 day of baseline session, 7 days of training sessions with target animals, and 2 days of post-training sessions. c, d, Preference for social port and numbers of pokes in females (c) and males (d) in the absence of a target animal. Neither male nor female animals develop preference for the social port. Experiment was performed over an 8-day period, which consists of 1 day of baseline session and 7 days of training sessions without target animals. e, Percentage of male and female mice exhibiting consistent preference for social port (defined as showing >20% preference on both days 6 and 7). In (a, b, e), with target animals, n = 17 females and 20 males; these include 9 females and 8 males presented in Fig. 1 as well as an additional 8 females and 12 males presented in Extended Data Fig. 1. In (c, d, e), without target animals, n = 15 females and 10 males. In (a-d), left panels, one-way repeated measures ANOVA with Bonferroni post-hoc correction (*P < 0.05, **P < 0.01, ***P < 0.001); right panels, two-way repeated measures ANOVA with Bonferroni post-hoc correction (**P < 0.01, ***P < 0.001). (a-d), mean ± SEM. For detailed statistics information, see Supplementary Table 1.