This function calculates the population impact fraction of a health outcome due to exposure to an environmental stressor
Arguments
- rr_at_exp_1
Numerical valueshowing the risk estimate of the concentration response function for a specific concentration in the scenario 1. The population attributable fraction is normally calculated using the risk estimate that refers to the concentration that reflects the population exposure and the cut-off. This risk estimate is obtained after re-scaling from the epidemiological study with a particular increment (e.g. for PM2.5 10 or 5 ug/m3) to the aimed concentration.- rr_at_exp_2
Numerical valueshowing the risk estimate of the concentration response function for a specific concentration in the scenario 2. The population attributable fraction is normally calculated using the risk estimate that refers to the concentration that reflects the population exposure and the cut-off. This risk estimate is obtained after re-scaling from the epidemiological study with a particular increment (e.g. for PM2.5 10 or 5 ug/m3) to the aimed concentration.- prop_pop_exp_1
Numerical valueshowing the fraction ([0,1]) of population exposed to the environmental stressor in the scenario 1. Per default = 1 (i.e. 100% of population is exposed).- prop_pop_exp_2
Numerical valueshowing the fraction ([0,1]) of population exposed to the environmental stressor in the scenario 1. Per default = 1 (i.e. 100% of population is exposed).
Details
For more information about the equations used by get_pif please see the function documentation of compare.
Examples
# Goal: calculate the population impact fraction (PIF)
results <- get_pif(
rr_at_exp_1 = 1.043879,
rr_at_exp_2 = 1.011217,
prop_pop_exp_1 = 1,
prop_pop_exp_2 = 1
)
print(results)
#> [1] 0.03128907
