When doing an iteration with attribute_health(), e.g. in the chunk with the result variable bestcost_pm_copd_geo, the input to bhd_upper is not used in the calculations. It doesn't matter if it's 0 or any other number.
Seemingly, the value of bhd_lower is used for both bhd_upper and bhd_lower.
With bhd_upper = 0
The value in the bhd column in bestcost_pm_copd_geo[["detailed"]][["raw"]] for the rows where bhd_ci is lower (second row in screenshot below) resp. upper (3rd row) is the same. This happens no matter what you input to the argument bhd_upper.
When doing an iteration with attribute_health(), e.g. in the chunk with the result variable
bestcost_pm_copd_geo
, the input tobhd_upper
is not used in the calculations. It doesn't matter if it's 0 or any other number.Seemingly, the value of
bhd_lower
is used for bothbhd_upper
andbhd_lower
.With
bhd_upper = 0
The value in the bhd column in
bestcost_pm_copd_geo[["detailed"]][["raw"]]
for the rows wherebhd_ci
islower
(second row in screenshot below) resp.upper
(3rd row) is the same. This happens no matter what you input to the argumentbhd_upper
.