We have identified three candidate metrics that exhibit modest to strong correlations with the width of the likelihood function. This implies that they may also correlate strongly with each other. Indeed, the average rank correlation between inferred response magnitude and response dispersion was 0.91; for response magnitude and gain variability, it was 0.86 (
Figure 4A, left); and for response dispersion and gain variability, it was 0.68. We wondered how controlling for these confounds would impact the metrics’ association with stimulus uncertainty. To this end, we rank ordered all trials from a given recording as a function of the metric we sought to control for. We then selected the first 50 trials. By design, these trials will not vary much along the sorting metric (i.e., the “frozen” variable), but they may vary along the two other “nonfrozen” metrics (
Figure 4A, left). The correlation between the nonfrozen metrics and the width of the likelihood function provides a measure of the strength of the association in the absence of a confounding variable (
Figure 4A, middle and right). We then repeated this analysis for the next sets of 50 trials and thus obtained a distribution of this measure (see Methods). Controlling for response magnitude had a modest impact on the predictive value of gain variability (mean rank correlation:
r = 0.53 for Experiment 1 and 0.32, for Experiment 2,
Figures 4B, C left). Conversely, freezing gain variability all but nullified the association between response magnitude and likelihood width. This was true of Experiment 1 (
r = 0.04;
Figure 4B, left) and Experiment 2 (
r = 0.11;
Figure 4C, left). We found a similar asymmetric pattern for gain variability and response dispersion. Freezing response dispersion did little to the predictive power of gain variability (
r = 0.63 for Experiment 1 and 0.40 for Experiment 2,
Figures 4B, C middle), but freezing gain variability removed most of the association between response dispersion and likelihood width (
r = 0.04 for Experiment 1, difference with gain variability:
p < 0.001;
r = 0.10 for Experiment 2,
p < 0.001;
Figures 4B, C, middle). For all comparisons, the association between gain variability and stimulus uncertainty was greater when holding other metrics frozen than the association between other metrics when holding gain variability frozen (
p < 0.001, Wilcoxon rank-sum test;
Figures 4B, C, left and middle). This approach also showed that response magnitude was more associated with stimulus uncertainty than response dispersion (
Figures 4B, C, right;
p < 0.001, Wilcoxon rank-sum test). Overall, this pattern suggests that out of these three candidate metrics, gain variability has the most direct association with stimulus uncertainty. A complementary analysis that sought to examine how the correlation of each candidate metric with likelihood width depended on the intermetric correlation further corroborated this conclusion (
Supplementary Figure S5).