STSTEER

Compute Expected Utility

The ability to correctly compute the sum of the products of each outcome's utility and its probability.

Question template

In Job A, the chance of high job satisfaction is p1% (utility = u1), and the chance of low satisfaction is p2% (utility = u2). What's the expected utility?

Use it

from datasets import load_dataset
ds = load_dataset("narunraman/steer", "compute_expected_utility")