Modeling preference heterogeneity in uncertain choice contexts characterized by external shocks