prospect_weight#

prospect_weight(probability, magnitude, gamma, delta, weighting)[source]#

The decision weights of outcomes, as ProspectUtility computes them.

Parameters:
probability, magnitudefloat or numpy.ndarray

The probabilities and magnitudes of the outcomes, numbers or arrays of the same shape.

gamma, deltafloat

The parameters of the weighting function. With the Tversky & Kahneman function, gamma applies to gains (positive magnitudes) and delta to losses and zero magnitudes, as in ProspectUtility.

weightingint

The weighting function: WEIGHTING[name] for name in “tk”, “power”, “prelec” and “gw”.