Variational Analysis in Psychological Modeling