prospect_weight#
- prospect_weight(probability, magnitude, gamma, delta, weighting)[source]#
The decision weights of outcomes, as
ProspectUtilitycomputes them.- Parameters:
- probability, magnitude
floator numpy.ndarray The probabilities and magnitudes of the outcomes, numbers or arrays of the same shape.
- gamma, delta
float The parameters of the weighting function. With the Tversky & Kahneman function,
gammaapplies to gains (positive magnitudes) anddeltato losses and zero magnitudes, as inProspectUtility.- weighting
int The weighting function:
WEIGHTING[name]for name in “tk”, “power”, “prelec” and “gw”.
- probability, magnitude