pystra.ddo.SWTP#

class SWTP(value_per_life, currency='PPPUSD', price_year=None, source=None)[source]#

Bases: object

Societal willingness to pay per statistical life.

Methods

for_lives

Return the SWTP-equivalent consequence for expected fatalities.

from_country

Create an SWTP value from the built-in country table.

from_lqi

Create an SWTP value from the LQI relation.

classmethod from_country(code, indexed=None)[source]#

Create an SWTP value from the built-in country table.

indexed must be supplied explicitly. Use indexed=False for the Rackwitz 1999 anchor and indexed=True for the built-in indexed current-PPP view.

Return type:

SWTP

classmethod from_lqi(gross_domestic_product_per_capita, mortality_rate, demographic_constant, currency='currency units', price_year=None, source='LQI relation SWTP = g / q * G')[source]#

Create an SWTP value from the LQI relation.

Parameters:
  • gross_domestic_product_per_capita (float) – Gross domestic product per person, denoted g in the LQI literature.

  • mortality_rate (float) – Annual mortality rate, denoted q.

  • demographic_constant (float) – Demographic life-time constant multiplying g / q.

  • currency (str) – Currency of gross_domestic_product_per_capita.

  • price_year (Optional[int]) – Price year for the resulting value.

  • source (Optional[str]) – Source note carried with the value.

Return type:

SWTP

for_lives(expected_fatalities)[source]#

Return the SWTP-equivalent consequence for expected fatalities.

Return type:

float