Determinants of effort and resources in decision making