Trial-by-trial mediation analysis. (A) Mediation analysis involving the amygdala, PHG, and behavior was performed based on individual trials. The results indicated that the trial-by-trial link between amygdala responses and behavior (hit vs. miss) was mediated via the PHG. Conventions and abbreviations as in Fig. 4. Both path strength and standard errors (in parentheses) are provided (statistical significance was evaluated via one-sample t tests across participants). (B) The strength of the visual cortex to behavior relationship (as indexed via the slope of the logistic fit) was correlated with the magnitude of evoked responses in the amygdala: The stronger the response in the amygdala, the tighter the relationship between visual responses and behavior. **P < 0.01, ***P < 0.005, two-tailed.