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:
objectSocietal willingness to pay per statistical life.
Methods
Return the SWTP-equivalent consequence for expected fatalities.
Create an SWTP value from the built-in country table.
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.
indexedmust be supplied explicitly. Useindexed=Falsefor the Rackwitz 1999 anchor andindexed=Truefor the built-in indexed current-PPP view.- Return type:
- 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, denotedgin the LQI literature.work_leisure_parameter (
float) – The dimensionless LQI work–leisure (income-elasticity) parameterq, 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 multiplyingg / q.currency (
str) – Currency ofgross_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: