pystra.ddo.SWTP#
- 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, 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, denotedgin the LQI literature.mortality_rate (
float) – Annual mortality rate, denotedq.demographic_constant (
float) – Demographic life-time constant multiplyingg / q.currency (
str) – Currency ofgross_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: