An economist’s rule for making tough life decisions