Fig. 5: | Nature Communications

Fig. 5

From: Activation of serotonin neurons promotes active persistence in a probabilistic foraging task

Fig. 5

Fitting behavioral data using the proportional hazards model. a Schematic drawing of proportional hazards model fitting pipe-line for two example consecutive trials. Nose-pokes (pooled across trials and sessions for each mouse independently) were used to fit a logistic regression model—the outcome of which was an estimated hazard rate that is reset at trial start and after each reward and is multiplicatively changed by the different coefficients’ values. This hazard rate can be viewed as an estimate of the probability of leaving after each nose-poke and can therefore be used to simulate mouse leaving decisions. Leaving decisions depicted as red circles. b Scatter plot of simulated vs. real average number of nose-pokes per trial. Each circle represents one mouse (n = 16). Dashed line is the unity diagonal and red line is a linear regression curve, with its correlation coefficient shown as well (p < 0.001). c Same as b for the effect of photostimulation on the number of nose-pokes per trial (p < 0.001). d The modeled hazard function for an example SERT-Cre mouse for phostostimulated and control nose-pokes. Note that decreased hazard means longer staying. e Cox regression photostimulation coefficient for SERT-Cre (n = 10) and wild-type (n = 6) mice. Averages across mice are shown in filled circles. *p < 0.05, Wilcoxon rank-sum test