Nat. Neurosci. 20, 449–458 (2017); published online 30 January 2017; corrected after print 30 June 2017

In the version of this article initially published, there were errors in data analysis and presentation. The corrected analysis and presentation do not change the results or interpretation of the data. Asterisk definitions have also been added for clarity as noted below. Changes with respect to the number of subjects reflect errors in reporting only and did not affect the data analysis. The percentages in Figure 1b originally reported as 43, 3, 18 and 36% have been changed to 43, 1, 19 and 37%, respectively. In the first paragraph of the Results, “97% of Nts-labeled cells colocalizing with VTA beads” has been changed to “96% of Nts-labeled cells colocalizing with VTA beads” and “this subpopulation comprised 33% of all mPOA VTA-projecting neurons” has been changed to “this subpopulation comprised 35% of all mPOA VTA-projecting neurons.” In the legend for Figure 2a, the n value originally reported as 9 has been changed to 9 and 10, and asterisks have been added to read ***P = 0.0006. In Figure 3a, points were misplotted as a result of an error in data analysis. The graph has been replaced. The values originally reported in the legend as t5 = 2.82, P = 0.0368 have been changed to t5 = 5.85, **P = 0.0021. In the Figure 3d legend, the value originally reported as n = 52 cells has been changed to 51. In Figure 3e, the percentage in the male E2 pie chart for excited neurons has been changed from 24 to 23%. Figure 5b originally contained duplicate example traces of calcium transients that were supposed to be taken from three individual neurons; new traces have been supplied. In Figure 5c,d, the asterisks have been changed from *** to **** and defined in the legend as ****P < 0.0001, Bonferroni post hoc test, E2 versus pre and E2 versus post. In the Figure 5d legend, the value originally reported as F2,252 = 13.13 has been changed to 17.32. In the Figure 5f legend, asterisks have been defined as ***P < 0.001, Bonferroni post hoc test. In Figure 5g, the horizontal axis was truncated at 60, resulting in missing data points; the graph has been replaced. In the Figure 5h legend, asterisks have been defined as *P < 0.05, **P < 0.01, ***P < 0.001, Bonferroni post hoc test. In the Figure 6e legend, the degrees of freedom originally reported as F3,30 have been changed to F3,27. In the Figure 6g legend, the value originally reported as eYFP = 6 mice has been changed to eYFP = 7 mice. In the Figure 6h legend, the values originally reported as F3,30 = 9.44, P = 0.0002 have been changed to F3,24 = 15.2, P < 0.0001. In Figure 6i,j, points were misplotted as a result of an error in data analysis, and error bars plotted as s.d. were misidentified in the legend as s.e.m. The data have been replotted, with error bars representing s.e.m. In the Figure 6i legend, the values originally reported as F1,8 = 23.2 have been changed to F1,9 = 63.1. Asterisks have been defined at the end of the Figure 6 legend as *P < 0.05, ***P < 0.001, ****P < 0.0001, Bonferroni post hoc test. The statistically significant differences in Figure 7b originally indicated by ** have been changed to ***; these have been defined in the legend as ***P < 0.001, Bonferroni post hoc test. In Figure 7e, a data point in the E2 group was missing; the graph has been replaced. An asterisk has also been added in the Figure 7e legend to read *P = 0.016. In Figure 8c, data were misplotted as a result of errors in analysis. The graph has been replaced, and the statistically significant differences originally indicated by * have been changed to **. The values originally reported in the legend as F4,24 = 4.20, P = 0.0112 have been changed to F4,21 = 6.82, P = 0.0011. In Figure 8d, data were misplotted as a result of an error in analysis. The graph has been replaced, and the values originally reported in the legend as F4,24 = 8.33, P = 0.0003 have been changed to F4,21 = 6.35, P = 0.0016. In Figure 8e, data were misplotted as a result of an error in analysis. The graph has been replaced, and the values originally reported in the legend as F4,24 = 0.60, P = 0.6622 have been changed to F4,21 = 1.33, P = 0.29. In Figure 8g, the vertical axis was truncated at 250, resulting in missing data points; the graph has been replaced, and the statistically significant differences originally indicated by * have been changed to **. The values originally reported in the legend as F1,12 = 7.92 as a result of an error in manuscript preparation have been changed to F1,12 = 7.15. In Figure 8h, the vertical axis was truncated at −0.4 and 0.8, resulting in missing data points, and data were misplotted as a result of an error in analysis. The graph has been replaced, and the statistically significant differences originally indicated by * have been changed to ***. The values originally reported in the legend as F1,12 = 7.15, P = 0.0200 have been changed to F1,12 = 9.8, P = 0.009. In Figure 8j, the vertical axis was truncated at 200, resulting in missing data points. The graph has been replaced, and the test statistic originally described in the legend as t3,33 has been changed to F3,33. In Figure 8k, the vertical axis was truncated at −0.4 and 0.4, resulting in missing data points, and data were misplotted as a result of an error in analysis. The graph has been replaced, and the statistically significant differences originally indicated by *** have been changed to **. The value originally reported in the legend as n = 7 has been changed to control n = 6 and NpHR n = 7.

In Supplementary Figure 5b–d,f,g, points were misplotted as a result of errors in data analysis and figure preparation; the graphs have been replaced. The values originally reported in the legend to Supplementary Figure 5b as t1,11 = 1.71 p = 0.1042, n = 8 mice have been changed to t1,9 = 1.09 p = 0.3061, n = 10 mice. The values originally reported in the legend to Supplementary Figure 5c–e as n = 8 have been changed to n = 7-10. The values originally reported in the legend to Supplementary Figure 5f as F4,37 = 3.61, p = 0.0137, n = 8 mice have been changed to F4,37 = 3.34, p = 0.0196, n = 7-10 mice. The values originally reported in the legend to Supplementary Figure 5g as F4,37 = 1.74, p = 0.1621, n = 8 mice have been changed to F4,37 = 2.01, p = 0.1131, n = 7-10 mice. In Supplementary Figure 6c–e, points were misplotted as a result of an error in data analysis; the graphs have been replaced. The values originally reported in the legend to Supplementary Figure 6c as F2,15 = 17.03, p = 0.0002 have been changed to F2,17 = 35.61, p = 0.0003, and the statistically significant differences originally indicated by *** for Veh have been changed to ** for E2 and *** for E2-P4, with asterisks defined in the legend as Veh. vs. E2, **P = 0.004; Veh. vs. P4, ***P = 0.0003. The values originally reported in the legend to Supplementary Figure 6d as F2,15 = 11.32, p = 0.0010 have been changed to F2,17 = 27.86, p = 0.0008, and the statistically significant differences originally indicated by * for E2 have been changed to **, with asterisks defined in the legend as Veh. vs. E2, **P = 0.009; Veh. vs. P4, ***P = 0.00019. The values originally reported in the legend to Supplementary Figure 6e as F2,15 = 00.48, p = 0.6268 have been changed to F2,17 = 1.76, p = 0.238. The values originally reported in the legend to Supplementary Figure 10b–f as n = 6 have been changed to n = 5-6. The values originally reported in the legend to Supplementary Figure 10c as F4,26 = 1.04 p =.09322 have been changed to F4,26 = 0.21 p = 0.9322. The degrees of freedom originally reported in the legend to Supplementary Figure 10f as F2,15 have been changed to F2,13. The test description and values originally reported in the legend to Supplementary Figure 10i as One-Way ANOVA, interaction F2,13 = 0.72 p = 0.5018 have been changed to One-Way ANOVA, F2,17 = 0.15 p = 0.8640. The test name and values originally reported in the legend to Supplementary Figure 10j as One-Way ANOVA, interaction F2,22 = 9.09 p = 0.9099, n = 7 have been changed to Two-Way ANOVA, interaction F2,22 = 0.47 p = 0.9543, n = 6-7. The values originally reported in the legends to Supplementary Figure 10k,l as n = 7 have been changed to n = 6-7. The test name and values originally reported in the legend to Supplementary Figure 10m as One-Way ANOVA, interaction F2,22 = 1.29 p = 0.2953, n = 7 have been changed to Two-Way ANOVA, interaction F2,22 = 0.69 p = 0.5142, n = 6-7. The values originally reported in the legend to Supplementary Figure 10n as One-Way ANOVA, interaction F2,22 = 0.686 p = 0.5142, n = 7 have been changed to Two-Way ANOVA, interaction F2,22 = 0.405 p = 0.6719, n = 6-7. The test name and values originally reported in the legend to Supplementary Figure 10o as Paired t-test, t1,10 = 0.34 p = 0.7395, n = 8 have been changed to un-paired t-test, t1,10 = 0.70 p = 0.4983, n = 6. The errors have been corrected in the HTML and PDF versions of the article.