pystra.decision.swtp.SWTP#

Use it: User guide · Worked example · Theory

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, work_leisure_parameter, 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.

  • work_leisure_parameter (float) – The dimensionless LQI work–leisure (income-elasticity) parameter q, typically about 0.1–0.2 (e.g. 0.175 in Schubert and Faber, 2009). This is not an annual mortality rate.

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

  • currency (str) – Currency of gross_domestic_product_per_capita.

  • price_year (int | None) – Price year for the resulting value.

  • source (str | None) – 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