Risk aversion heterogeneity and the investment-uncertainty relationship: a closed-form formulation