Adaptation, anticipation and social interaction in happiness: An integrated error-correction approach