(A) Change in social responses towards the mirror. Mean ± SE for time spent mouth fighting (red), time spent within 5 cm of the mirror without being aggressive (blue), and frequency of mirror-testing behaviours/10 min (green). Superscript labels a, b, and c denote statistical differences. Statistical results for daily changes in time spent mouth fighting, LMM, c72 = 91.87, P < 0.0001; time spent in front of the mirror, LMM, c72 = 64.63, P < 0.0001; and changes in the number of mirror-testing behaviours, GLMM, c72 = 137.08, P < 0.0001. (B) Change in social responses towards the mirror for fish that failed to pass through prephases of the test. (C) Change in social responses to conspecific fish over 2 wk: statistical results for daily changes in time spent mouth fighting, LMM, df = 7, χ2 = 27.36, P = 0.0003, and time spent in front of the mirror, LMM, df = 7, χ2 = 9.09, P = 0.25; no idiosyncratic behaviours were observed in this condition. Underlying data for this figure can be found in S1 Data. df, degrees of freedom; GLMM, generalised linear mixed model; LMM, linear mixed model.