Modeling the psychological determinants of life quality