Figure 2

Happiness model performance: The happiness model was fit using hierarchical Bayesian analysis to estimate both individual-level and group-level parameters simultaneously. The model’s predicted ratings appeared to follow participants' actual ratings. (A–H) Selected non-ICD and ICD individual participants’ ratings and the model’s predicted ratings are plotted for their on-medication visit (A, C) and off-medication visit (E, G). The resulting correlation between the actual and predicted ratings are shown in (B, D, F, H). Mean ratings and model predicted ratings across subjects in each group: (I) Non-ICD Off: r2 = 0.3888, (J) ICD Off: r2 = 0.1759, (K) Non-ICD On: r2 = 0.3698, (L) ICD On: r2 = 0.2663.