expected_externality_function