A Stata command to generate a variable for the ecological intensity of well-being.
eiwb generates a variable for the ecological intensity of well-being (EIWB) based on the work of Dietz et al. (2009, 2012). The EIWB measures
how much stress is placed on the environment per unit of human well-being (environmental stress/human well-being). To prevent the numerator or
denominator from dominating the ratio, the coefficient of variation of the two variables must be constrained to be equal (see New Economics Foundation 2009; Dietz et al. 2012).
This is done by adding a constant (referred to as the correction factor) to the variable with the larger coefficient of variation, which shifts the mean without changing the variance.
The ratio is then multiplied by 100 to scale it. Following the generation of the variable, the coefficients of variation and the calculated correction factor are displayed on screen.
eiwb varlist(min=2 max=2) [, vname(string) ln]
where the environmental variable must be specified first in the variable list.
vname(string) specifies the name of the variable to be generated; default variable name is eiwb.
ln creates a variable consisting of the natural logarithms of the eiwb values. The variable includes a _ln suffix.
As an example, say our environmental indicator is CO2 emissions per capita (co2pc) and our indicator of human well-being is health-adjusted life expectancy (hale).
Then we can generate the eiwb by (make sure to specify the environmental variable first):
eiwb co2pc hale
Because out environmental variable is CO2 emissions per capita, we can more aptly name it the ciwb (Jorgenson 2014; Kelly 2020):
eiwb co2pc hale, vname(ciwb)
We can also generate an additional variable that consists of the natural logarithms of the eiwb:
eiwb co2pc hale, vname(ciwb) ln
eiwb can be installed by typing the following in Stata:
net install eiwb, from("https://raw.githubusercontent.com/rthombs/eiwb/main")
Ryan P. Thombs
(Boston College)
Contact Me: thombs@bc.edu