Difference between revisions of "Health impact assessment"

From Testiwiki
Jump to: navigation, search
m (See also)
(Ovariables for calculating cases)
 
(12 intermediate revisions by the same user not shown)
Line 133: Line 133:
 
'''Personal lifetime risk
 
'''Personal lifetime risk
 
= Extra cases per year * life expectancy * population
 
= Extra cases per year * life expectancy * population
 +
 +
Attributable fraction is (RR-1)/RR=1-1/RR if RR>1. If smaller, you must compare the other way round: control group is considered an exposure to lack of a protective agent and thus the exposure group is the reference. In this comparison, the attributable fraction of lack of protection (AF<sub>lp</sub>) is calculated from a new rate ratio RR<sub>lp</sub> = 1/RR and
 +
 +
:<math>AF_{lp} = 1 - \frac{1}{RR_{lp}} = 1 - \frac{1}{1/RR} = 1 - RR</math>
 +
 +
When multiplied by the number of cases, we get the number of excess cases (that would not have occurred if the population had not been exposed to lack of protection). This comparison is symmetric and we can use either counterfactual situation as the reference just by calculating the difference the other way round, i.e. changing the sign of the value. Therefore, the number of cases avoided with exposure to a protective agent is '''-AF<sub>lp</sub> = RR - 1'''. So, AF is calculated as 1-1/RR or RR-1 depending on whether RR>1 or not, respectively.
  
 
===Calculations===
 
===Calculations===
 +
 +
==== Depreciated code ====
  
 
* The code was restructured and old code [http://en.opasnet.org/en-opwiki/index.php?title=Health_impact_assessment&oldid=37349 archived] 13 June, 2015.
 
* The code was restructured and old code [http://en.opasnet.org/en-opwiki/index.php?title=Health_impact_assessment&oldid=37349 archived] 13 June, 2015.
Line 140: Line 148:
 
* See also Seturi: [[:heande:File:SETURI laskenta06.xls|Excel file]], [http://fi.opasnet.org/fi_wiki/index.php/Special:R-tools?id=Q46E0t9BLPUhIT1K]
 
* See also Seturi: [[:heande:File:SETURI laskenta06.xls|Excel file]], [http://fi.opasnet.org/fi_wiki/index.php/Special:R-tools?id=Q46E0t9BLPUhIT1K]
  
<rcode name="initiate" embed=1 label="Create warning about old method" store=1>
+
<rcode name="initiate" embed=1 label="Create warning about old method">
 
library(OpasnetUtils)
 
library(OpasnetUtils)
  
Line 170: Line 178:
 
</rcode>
 
</rcode>
  
<rcode name="BW" label="Initiate BW body weight (for developers only)" embed=1 store=1>
+
==== Ovariables for calculating RR ====
 +
 
 +
<rcode name="BW" label="Initiate BW body weight (for developers only)" embed=1>
  
 
# This is code Op_en2261/BW on page [[Health impact assessment]].
 
# This is code Op_en2261/BW on page [[Health impact assessment]].
Line 182: Line 192:
 
</rcode>
 
</rcode>
  
<rcode name="frexposed" label="Initiate frexposed (for developers only)" embed=1 store=1>
+
<rcode name="frexposed" label="Initiate frexposed (for developers only)" embed=1>
  
 
# This is code Op_en2261/frexposed on page [[Health impact assessment]].
 
# This is code Op_en2261/frexposed on page [[Health impact assessment]].
Line 194: Line 204:
 
</rcode>
 
</rcode>
  
<rcode name="bgexposure" label="Initiate bgexposure (for developers only)" embed=1 store=1>
+
<rcode name="exposure" label="Initiate exposure (for developers only)" embed=1>
 +
 
 +
# This is code Op_en2261/exposure on page [[Health impact assessment]].
 +
library(OpasnetUtils)
 +
 
 +
exposure <- Ovariable("exposure", data = data.frame(Result = 1))
 +
 
 +
objects.store(exposure)
 +
cat("Ovariable exposure stored. page: Op_en2261, code_name: exposure.\n")
 +
</rcode>
 +
 
 +
<rcode name="bgexposure" label="Initiate bgexposure (for developers only)" embed=1>
  
 
# This is code Op_en2261/bgexposure on page [[Health impact assessment]].
 
# This is code Op_en2261/bgexposure on page [[Health impact assessment]].
Line 206: Line 227:
 
</rcode>
 
</rcode>
  
<rcode name="population" label="Initiate population (for developers only)" embed=1 store=1>
+
<rcode name="population" label="Initiate population (for developers only)" embed=1>
  
 
# This is code Op_en2261/population on page [[Health impact assessment]].
 
# This is code Op_en2261/population on page [[Health impact assessment]].
Line 218: Line 239:
 
</rcode>
 
</rcode>
  
<rcode name="dose" label="Initiate dose (for developers only)" embed=1 store=1>
+
<rcode name="incidence" label="Initiate incidence (for developers only)" embed=1>
  
# This is code Op_en2261/dose on page [[Health impact assessment]].
+
# This is code Op_en2261/incidence on page [[Health impact assessment]].
 
library(OpasnetUtils)
 
library(OpasnetUtils)
  
dose <- Ovariable("dose", # This calculates the body-weight-scaled exposure or "dose" to be used with ERFs.
+
incidence <- Ovariable("incidence", data = data.frame(Result = 0.1))
dependencies = data.frame(
 
Name = c(
 
"exposure", # Exposure to the pollutants
 
"bgexposure", # Background exposure (a level you use for comparison)
 
"BW" # body weight
 
),
 
Ident = c(
 
NA,
 
"Op_en2261/bgexposure",
 
"Op_en2261/BW"
 
)
 
),
 
formula = function(...) {
 
  
########### Create a single ovariable with exposure and background exposure.
+
objects.store(incidence)
 +
cat("Ovariable incidence stored. page: Op_en2261, code_name: incidence.\n")
  
temp <- Ovariable( # Create alternative scenario with background exposure bgexposure.
+
</rcode>
output = data.frame(Exposcen = c("BAU", "No exposure"), Result = c(1, 0)),
 
marginal = c(TRUE, FALSE)
 
)
 
  
out <- temp * exposure + (1 - temp) * bgexposure # Adds exposure and background to respective scenarios
+
<rcode name="dose" label="Initiate dose (for developers only)" embed=1>
  
######### Body weight scaling: In some cases, exposure is given as per body weight and in some cases as absolute amounts.
+
# This is code Op_en2261/dose on page [[Health impact assessment]].
# Here we add one index to define for this difference.
+
library(OpasnetUtils)
  
out2 <- out / BW
+
dose <- Ovariable("dose", # This calculates the body-weight-scaled exposure or "dose" to be used with ERFs.
+
  dependencies = data.frame(
out3 <- log10(out)
+
    Name = c(
+
      "exposure", # Exposure to the pollutants
out@output$Scaling <- "None"
+
      "bgexposure", # Background exposure (a level you use for comparison)
out2@output$Scaling <- "BW"
+
      "BW" # body weight
out3@output$Scaling <- "Log10"
+
    ),
+
    Ident = c(
marg <- colnames(out@output)[out@marginal]
+
      "Op_en2261/exposure",
marg <- union(marg, colnames(out2@output)[out2@marginal])
+
      "Op_en2261/bgexposure",
+
      "Op_en2261/BW"
out@output <- orbind(out, out2)
+
    )
out@output <- orbind(out, out3)
+
  ),
out@marginal <- colnames(out@output) %in% marg
+
  formula = function(...) {
+
   
return(out)
+
    ########### Create a single ovariable with exposure and background exposure.
}
+
   
 +
    temp <- Ovariable( # Create alternative scenario with background exposure bgexposure.
 +
      output = data.frame(Exposcen = c("BAU", "No exposure"), Result = c(1, 0)),
 +
      marginal = c(TRUE, FALSE)
 +
    )
 +
   
 +
    out <- temp * exposure + (1 - temp) * bgexposure # Adds exposure and background to respective scenarios
 +
   
 +
    ######### Body weight scaling: In some cases, exposure is given as per body weight and in some cases as absolute amounts.
 +
    # Here we add one index to define for this difference.
 +
    out2 <- out / BW
 +
    out3 <- log10(out)
 +
   
 +
    out$Scaling <- "None"
 +
    out2$Scaling <- "BW"
 +
    out3$Scaling <- "Log10"
 +
   
 +
    out <- combine(out, out2, out3)
 +
   
 +
    return(out)
 +
  }
 
)
 
)
  
 
objects.store(dose)
 
objects.store(dose)
 
cat("Ovariable dose stored. page: Op_en2261, code_name: dose.\n")
 
cat("Ovariable dose stored. page: Op_en2261, code_name: dose.\n")
 
 
</rcode>
 
</rcode>
  
<rcode name="RR" label="Initiate RR (for developers only)" embed=1 store=1>
+
<rcode name="RR" label="Initiate RR (for developers only)" embed=1>
  
 
# This is code Op_en2261/RR on page [[Health impact assessment]].
 
# This is code Op_en2261/RR on page [[Health impact assessment]].
 
library(OpasnetUtils)
 
library(OpasnetUtils)
  
 +
# Do we need testforrow any more, as RR does not use it?
 
testforrow <- function(x, y) {
 
testforrow <- function(x, y) {
if (nrow(x@output) == 0 | nrow(y@output) == 0) return(FALSE)
+
  if (nrow(x@output) == 0 | nrow(y@output) == 0) return(FALSE)
commons <- intersect(colnames(x@output), colnames(y@output))
+
  commons <- intersect(colnames(x@output), colnames(y@output))
commons <- commons[!grepl("Result$", commons)]
+
  commons <- commons[!grepl("Result$", commons)]
for (i in commons) {
+
  for (i in commons) {
if (!any(x@output[[i]] %in% y@output[[i]])) return(FALSE)
+
    if (!any(unique(x@output[[i]]) %in% unique(y@output[[i]]))) return(FALSE)
}
+
  }
return(TRUE)
+
  return(TRUE)
 
}
 
}
  
RR <- Ovariable("RR", # This calculates the total number of cases in each population subgroup.
+
# This code produces non-unique index combinations. They multiply when
# The cases are calculated for specific (combinations of) causes. However, these causes are NOT visible in the result.
+
# formula is run and probably cause bias in results. Check!
dependencies = data.frame(
+
RR <- Ovariable(
Name = c(
+
  "RR", # This calculates the total number of cases in each population subgroup.
"dose", # Exposure to the pollutants
+
  # The cases are calculated for specific (combinations of) causes. However, these causes are NOT visible in the result.
"ERF", # Exposure-response function of the pollutants or agents (RR for unit exposure)
+
  dependencies = data.frame(
"threshold", # exposure level below which the agent has no impact.
+
    Name = c(
"frexposed" # fraction of population that is exposed
+
      "dose", # Exposure to the pollutants
),
+
      "ERF", # Exposure-response function of the pollutants or agents (RR for unit exposure)
Ident = c(
+
      "threshold", # exposure level below which the agent has no impact.
"Op_en2261/dose",    # [[Health impact assessment]]
+
      "frexposed", # fraction of population that is exposed
"Op_en2031/initiate", # [[Exposure-response function]]
+
      "incidence", # This is only needed for OR and omitted otherwise.
"Op_en2031/initiate", # [[Exposure-response function]]
+
      "mc2d"  # Function to run two-dimensional Monte Carlo
"Op_en2261/frexposed" # [[Health impact assessment]]
+
    ),
)
+
    Ident = c(
),
+
      "Op_en2261/dose",    # [[Health impact assessment]]
formula = function(...) {
+
      "Op_en2031/initiate", # [[Exposure-response function]]
+
      "Op_en2031/initiate", # [[Exposure-response function]]
ERF@marginal[colnames(ERF@output) %in% c("ERF_parameter", "Scaling")] <- FALSE # Make sure that these are not marginals
+
      "Op_en2261/frexposed",# [[Health impact assessment]]
+
      "Op_en2261/incidence", # [[Health impact assessment]]
####################################################################
+
      "Op_en7805/mc2d" # [[Two-dimensional Monte Carlo]]
####### This part is about risks relative to background.
+
    )
# Calcualte the risk ratio to each subgroup based on the exposure in that subgroup.
+
  ),
# Combine pollutant-specific RRs by multiplying. For description, see [[Exposure-response function]].
+
  formula = function(...) {
test <- list()
+
    # Make sure that these are not marginals
marginals <- character()
+
    ERF@marginal[colnames(ERF@output) %in% c("ERF_parameter", "Scaling")] <- FALSE  
+
    # Remove redundant columns
#First take the relative risk estimates
+
    ERF <- ERF[ , !colnames(ERF@output) %in% c(
RRrr <- ERF
+
      "Source",
RRrr@output <- RRrr@output[RRrr@output$ER_function %in% c("RR") , ]
+
      "Exposure_unit"
if(testforrow(RRrr, dose)) {
+
    )]
# If an ovariable whose nrow(ova@output) == 0 is used in Ops, it is re-EvalOutput'ed,
+
    threshold <- threshold[ , !colnames(threshold@output) %in% c(
# and therefore ERFrr*dose may have rows even if ERFrr doesn't.
+
      "Source",
RRrr <- exp(log(RRrr) * (dose - threshold)) # Actual function
+
      "Exposure_unit"
RRrr <- (RRrr - 1) * (dose > threshold) + 1 # RR is 1 below threshold
+
    )]
test <- c(test, RRrr)
+
    out <- NULL
marginals <- c(marginals, colnames(RRrr@output)[RRrr@marginal])
+
    dose <- dose * ERF # Do the merge now to avoid redundant rows
}
+
    result(dose) <- dose$doseResult
RRrr <- NULL # These are not needed any more, so removed to save memory
+
    dose <- unkeep(dose, sources=TRUE)
+
   
# Then take the relative Hill estimates
+
    ####################################################################
ED50 <- threshold
+
    ####### This part is about risks relative to background.
ED50@output <- ED50@output[ED50@output$ER_function %in% c("Relative Hill") , ]
+
    # Calcualte the risk ratio to each subgroup based on the exposure in that subgroup.
if(testforrow(ED50, dose)) { # See ERFrr for explanation
+
    # Combine pollutant-specific RRs by multiplying. For description, see [[Exposure-response function]].
ED50 <- 1 + (dose * ERF) / (dose + ED50) # ERF has parameter value for Imax. If Imax < 0, risk reduces.
+
   
test <- c(test, ED50)
+
    #First take the relative risk estimates. Convert ORs to RRs by using incidence.
marginals <- c(marginals, colnames(ED50@output)[ED50@marginal])
+
    # We need OR but not yet crucial, so let's postpone this. See [[:op_en:Converting between exposure-response parameters]]
}
+
    # #Then take the odds ratio estimates
ED50 <- NULL
+
    # OR <- ERF[ERF$ERF_parameter %in% c("OR", "OR bw") , ]
+
    # if(testforrow(OR, dose)) { # See ERFrr for explanation
# We need OR but not yet crucial, so let's postpone this. See [[:op_en:Converting between exposure-response parameters]]
+
    # out <- OR / (1 - incidence + OR*incidence) # Actual function with background incidence.
# #Then take the odds ratio estimates
+
    # }
# OR <- ERF
+
   
# OR@output <- ERF@output[ERF@output$ERF_parameter %in% c("OR", "OR bw") , ]
+
    temp <- dose[dose$ER_function %in% c("RR", "OR") , ]
# if(testforrow(OR, dose)) { # See ERFrr for explanation
+
    if(nrow(temp@output)>0) {
# OR <- RR = OR/( 1-PX0+OR*PX0 ) # Actual function where PX0 is the background incidence. How to write a code?
+
     
# RRor <- (RRrr - 1) * (dose > threshold) + 1 # RR is 1 below threshold
+
      temp <- exp(log(ERF) * (temp - threshold)) # Actual function
# test <- c(test, RRor)
+
     
# marginals <- c(marginals, colnames(OR@output)[OR@marginal]
+
      result(temp)[temp$doseResult < temp$thresholdResult] <- 1 # RR is 1 below threshold
# }
+
      out <- temp
+
    }
if(length(test) == 0) return(data.frame(Result = 1))
+
 
if(length(test) == 1) out <- test[[1]]@output
+
    # Then take the relative Hill estimates
if(length(test) == 2) out <- orbind(test[[1]], test[[2]])
+
   
if(length(test) == 3) out <- orbind(orbind(test[[1]], test[[2]]), test[3])
+
    temp <- dose[dose$ER_function %in% c("Relative Hill") , ]
+
    if(nrow(temp@output)>0) {
# Find out the right marginals for the output
+
 
marginals <- character()
+
      temp <- 1 + (temp * ERF) / (temp + threshold) # Actual function
nonmarginals <- character()
+
     
for(i in length(test)) {
+
      # ERF has parameter value for Imax. If Imax < 0, risk reduces.
marginals <- c(marginals, colnames(test[[i]]@output)[test[[i]]@marginal])
+
      # threshold has parameter value for ED50.
nonmarginals <- c(nonmarginals, colnames(test[[i]]@output)[!test[[i]]@marginal])
+
      if(is.null(out)) out <- temp else out <- combine(out, temp)
}
+
    }
+
    temp <- NULL
test <- NULL
+
   
+
    if(is.null(out)) {
out <- Ovariable(output = out, marginal = colnames(out) %in% setdiff(marginals, nonmarginals))
+
      out <- oapply(dose, cols = c("Iter","Exposure_agent","Scaling","Exposure"), FUN=sum)
+
      result(out) <- 1
# Dilute the risk in the population if not all are exposed i.e. frexposed < 1.
+
    } else {
out <- frexposed * (out - 1) + 1
+
     
out <- unkeep(out, prevresults = TRUE, sources = TRUE, cols = c("Scaling", "ERF_parameter"))  
+
      # Dilute the risk in the population if not all are exposed i.e. frexposed < 1.
if(length(unique(out@output$Exposure_agent)) > 1) {
+
      out <- frexposed * (out - 1) + 1
out <- oapply(out, cols = "Exposure_agent", FUN = prod)  
+
      out <- unkeep(out, prevresults = TRUE, sources = TRUE, cols = c("Scaling", "ER_function"))  
} else {
+
      if(length(unique(out$Exposure_agent)) > 1) { # Could we just oapply everything?
out <- unkeep(out, cols = c("Exposure_agent"))
+
        out <- oapply(out, cols = c("Exposure_agent", "Exposure"), FUN = prod)  
}
+
      } else {
+
        out <- unkeep(out, cols = c("Exposure_agent", "Exposure"))
return(out)
+
      }
}
+
    }
 +
    if(mc2dparam$run2d) out <- mc2d(out) # Run two-dimensional Monte Carlo
 +
    return(out)
 +
  }
 
)
 
)
  
Line 385: Line 414:
 
</rcode>
 
</rcode>
  
<rcode name="totcases" label="Initiate totcases (for developers only)" embed=1 store=1>
+
==== Ovariables for calculating cases ====
 +
 
 +
<rcode name="sumExposcen" label="Initiate sumExposcen (for developers only)" embed=1>
 +
 
 +
# This is code Op_en2261/sumExposcen on page [[Health impact assessment]].
 +
library(OpasnetUtils)
 +
 
 +
# sumExposcen calculates the difference between scenarios BAU and No exposure.
 +
sumExposcen <- function (out) {
 +
  if ("Exposcen" %in% colnames(out@output)) {
 +
    out <- out * Ovariable(
 +
      output = data.frame(Exposcen = c("BAU", "No exposure"), Result = c(1, -1)),
 +
      marginal = c(TRUE, FALSE)
 +
    )
 +
    # Remove ERF-related indices as they are no longer needed.
 +
    out <- oapply(out, NULL, sum, c("Exposcen","Exposure","ER_function","Exposure_unit","Scaling"))
 +
  }
 +
  return(out)
 +
}
 +
 
 +
objects.store(sumExposcen)
 +
cat("Function sumExposcen dose stored. page: Op_en2261, code_name: sumExposcen.\n")
 +
</rcode>
 +
 
 +
<rcode name="casesabs" label="Initiate caseabs (for developers only)" embed=1>
 +
 
 +
# This is code Op_en2261/casesabs on page [[Health impact assessment]].
 +
library(OpasnetUtils)
 +
 
 +
casesabs <- Ovariable(
 +
  "casesabs", # This calculates the burden of disease for background-independent endpoints.
 +
  dependencies = data.frame(
 +
    Name = c(
 +
      "population", # Population divided into subgroups as necessary
 +
      "dose", # Exposure to the pollutants
 +
      "ERF", # Other ERFs than those that are relative to background.
 +
      "threshold", # exposure level below which the agent has no impact.
 +
      "frexposed", # fraction of population that is exposed
 +
      "sumExposcen", # function that calculates difference between exposure scenarios
 +
      "mc2d"  # Function to run two-dimensional Monte Carlo
 +
    ),
 +
    Ident = c(
 +
      "Op_en2261/population", # [[Health impact assessment]]
 +
      "Op_en2261/dose",      # [[Health impact assessment]]
 +
      "Op_en2031/initiate",  # [[Exposure-response function]]
 +
      "Op_en2031/initiate",  # [[Exposure-response function]]
 +
      "Op_en2261/frexposed",  # [[Health impact assessment]]
 +
      "Op_en2261/sumExposcen",# [[Health impact assessment]]
 +
      "Op_en7805/mc2d"        # [[Two-dimensional Monte Carlo]]
 +
    )
 +
  ),
 +
  formula = function(...) {
 +
    out <- NULL
 +
    dose2 <- dose * ERF # Do the merge first
 +
    result(dose2) <- dose2$doseResult
 +
 
 +
    temp <- dose2[dose2$ER_function %in% c("UR", "CSF", "ERS"), ]
 +
   
 +
    # Dose could be simplified with combine.
 +
    if(nrow(temp@output)>0) {
 +
      out <- (threshold + temp * ERF * frexposed) * population # Actual equation
 +
      # threshold is here interpreted as the baseline response (intercept of the line). It should be 0 for
 +
      # UR and CSF but it may have meaningful values with ERS
 +
      # But this interpretation is problematic. Threshold should have same units as exposure, not response.
 +
    }
 +
 
 +
    # Step estimates: value is 1 below threshold and above ERF, and 0 in between.
 +
   
 +
    temp <- dose2[dose2$ER_function %in% c("Step", "ADI", "TDI", "RDI", "NOAEL") , ]
 +
    if(nrow(temp@output)>0) {
 +
     
 +
      temp <- (1 - (temp >= threshold) * (temp <= ERF)) * frexposed * population # Actual equation
 +
     
 +
      if(is.null(out)) out <- temp else out <- combine(out, temp)
 +
    }
 +
    out <- oapply(out, NULL, sum, c("Exposure_agent", "Exposure", "ER_function", "Scaling"))
 +
    if(mc2dparam$run2d) out <- mc2d(out) # Run two-dimensional Monte Carlo
 +
   
 +
    return(sumExposcen(out))
 +
  }
 +
)
 +
 
 +
objects.store(casesabs)
 +
cat("Ovariable casesabs stored. page: Op_en2261, code_name: casesabs.\n")
 +
</rcode>
 +
 
 +
<rcode name="casesrr" label="Initiate casesrr (for developers only)" embed=1>
 +
 
 +
# This is code Op_en2261/casesrr on page [[Health impact assessment]].
 +
library(OpasnetUtils)
 +
 
 +
casesrr <- Ovariable(
 +
  "casesrr", # This calculates the burden of disease for endpoints using RR.
 +
  dependencies = data.frame(
 +
    Name = c(
 +
      "population", # Population divided into subgroups as necessary
 +
      "RR", # Relative risks for the given exposure
 +
      "incidence", # incidence of responses
 +
      "sumExposcen" # function that calculates difference between exposure scenarios
 +
    ),
 +
    Ident = c(
 +
      "Op_en2261/population", # [[Health impact assessment]]
 +
      "Op_en2261/RR",        # [[Health impact assessment]]
 +
      "Op_en5917/initiate",  # [[Disease risk]]
 +
      "Op_en2261/sumExposcen" # [[Health impact assessment]]
 +
    )
 +
  ),
 +
  formula = function(...) {
 +
    AF <- (RR > 1) * (1 - 1/RR) + (RR <= 1) * (RR - 1)
 +
    out <- population * incidence * AF
 +
 
 +
    return(sumExposcen(out))
 +
  }
 +
)
 +
 
 +
objects.store(casesrr)
 +
cat("Ovariable casesrr stored. page: Op_en2261, code_name: casesrr.\n")
 +
</rcode>
 +
 
 +
==== Totcases (old version) ====
 +
 
 +
<rcode name="totcases" label="Initiate totcases (for developers only)" embed=1>
  
 
# This is code Op_en2261/totcases on page [[Health impact assessment]].
 
# This is code Op_en2261/totcases on page [[Health impact assessment]].
Line 546: Line 696:
 
* [[Duration of morbidity]] (not used yet)
 
* [[Duration of morbidity]] (not used yet)
 
* [[:heande:File:Impact Calculation Tool.ana]] (not used, but functionalities should be merged to this page)
 
* [[:heande:File:Impact Calculation Tool.ana]] (not used, but functionalities should be merged to this page)
 +
 +
See also related page: [[ISTE EBD]].
  
 
==See also==
 
==See also==

Latest revision as of 10:18, 6 September 2017

<section begin=glossary />

Health impact assessment is an assessment method that is used to estimate the health impacts of a particular event or policy. In Europe, it is most widely used in UK, Finland, and the Netherlands.

<section end=glossary />

Question

How to calculate health impacts based on information about exposure, population, disease, and exposure-response function?

Answer

For simple calculations, you can use the concept of attributable fraction. This is presented here. For more complex and comprehensive methods, you may want to consider these:

An example model run by the model below [1].

Number of iterations:

+ Show code


Inputs

If you are able to describe your data in the format similar to the tables below, you can use ready-made tools in Opasnet and things are quite straightforward. The example tables show data about radon in indoor air.

Exposure

  • The table has an index Observation with four locations: Exposed fraction, Background, Exposure, and Description.
Pollutant Exposure route Exposure metric Exposure parameter Population Exposure unit Exposed fraction Background Exposure Description
Radon Inhalation Annual average concentration Population average Finland Bq/m3 1 5 100 Kurttio Päivi, 2006: STUK otantatutkimus 100 (95 – 105); background 5 (4 – 9)
Radon Inhalation Annual average concentration Guidance value for new apartments Finland Bq/m3 1 0 200 STM decision 944/92 for new apartments [2]
Radon Inhalation Annual average concentration Guidance value for old apartments Finland Bq/m3 1 0 400 STM decision 944/92 for old apartments [3]


Disease response

  • The table has index Observation with two locations: Response and Description.
Disease Response metric Population Unit Response Description
Lung cancer Incidence Finland 1/100000 py 38.058 2020/5307690*100000 [4]
Lung cancer Burden of disease Finland DALY 14000 Olli Leino 2010: Includes trachea, bronchus, and lung cancers. [5]


Exposure-response function

Pollutant Disease Response metric Exposure route Exposure metric Exposure unit Threshold ERF parameter ERF Description
Radon Lung cancer Incidence Inhalation Annual average concentration Bq/m3 0 RR 1.0016 Darby 2004: 1.0016 (1.0005 – 1.0031)


Population

Population Year Sex Age Amount Description
Finland 2010 Total All 5307690 [6]

Rationale

These are the equations you should use:

RR for exposure = EXP(LN(RR)*(Exposure Result - MAX(Exposure Background, Exposure-response function threshold)))

Attributable fraction in the whole population = Exposed fraction * (RR for exposure – 1) / (Exposed fraction *(RR for exposure – 1)+1)

Extra cases per year =Disease incidence * Population * attributable fraction

Burden of disease of exposure = Burden of disease of the disase * attributable fraction

Personal lifetime risk = Extra cases per year * life expectancy * population

Attributable fraction is (RR-1)/RR=1-1/RR if RR>1. If smaller, you must compare the other way round: control group is considered an exposure to lack of a protective agent and thus the exposure group is the reference. In this comparison, the attributable fraction of lack of protection (AFlp) is calculated from a new rate ratio RRlp = 1/RR and

Failed to parse (Missing <code>texvc</code> executable. Please see math/README to configure.): AF_{lp} = 1 - \frac{1}{RR_{lp}} = 1 - \frac{1}{1/RR} = 1 - RR

When multiplied by the number of cases, we get the number of excess cases (that would not have occurred if the population had not been exposed to lack of protection). This comparison is symmetric and we can use either counterfactual situation as the reference just by calculating the difference the other way round, i.e. changing the sign of the value. Therefore, the number of cases avoided with exposure to a protective agent is -AFlp = RR - 1. So, AF is calculated as 1-1/RR or RR-1 depending on whether RR>1 or not, respectively.

Calculations

Depreciated code

+ Show code

Ovariables for calculating RR

+ Show code

+ Show code

+ Show code

+ Show code

+ Show code

+ Show code

+ Show code

+ Show code

Ovariables for calculating cases

+ Show code

+ Show code

+ Show code

Totcases (old version)

+ Show code

NOTE! These ovariables used to utilise ooapply function, but it was archived after improved oapply.

The codes above are based on these input variables:

See also related page: ISTE EBD.

See also

Assessments that use this HIA model

Helsinki energy decision 2015
In English
Assessment Main page | Helsinki energy decision options 2015
Helsinki data Building stock in Helsinki | Helsinki energy production | Helsinki energy consumption | Energy use of buildings | Emission factors for burning processes | Prices of fuels in heat production | External cost
Models Building model | Energy balance | Health impact assessment | Economic impacts
Related assessments Climate change policies in Helsinki | Climate change policies and health in Kuopio | Climate change policies in Basel
In Finnish
Yhteenveto Helsingin energiapäätös 2015 | Helsingin energiapäätöksen vaihtoehdot 2015 | Helsingin energiapäätökseen liittyviä arvoja | Helsingin energiapäätös 2015.pptx



Further reading

The text below is a description of HIA by A. Knol and B. Staatsen from RIVM. It was originally written for use in Intarese project.

Health Impact Assessment

One way to compare different policy options is by carrying out a health impact assessment (HIA). HIA is a combination of procedures, methods and instruments used for assessing the potential health impacts of certain matters. These can vary from a single environmental factor to a more complicated set of factors, for instance in an infrastructural or industrial project. For quantifying health impacts, the following steps can be distinguished (Hertz-Picciotto, 1998):

  • Selection of health endpoints with sufficient proof (based on expert judgements) of a causal relationship with the risk factor
  • Assessment of population exposure (combination of measurements, models and demographic data)
  • Identification of exposure-response relations (relative risks, threshold values) based on (meta) analyses and epidemiological and toxicological research.
  • Estimation of the (extra) number of cases with the specific health state, attributable to exposure to the risk factor. This is a function of the population distribution, exposure-response relation and base prevalence of the health state in the population.
  • Computation of the total health burden, or costs to society of all risk factors (if wanted/necessary)


A common problem is that the health effects of environmental factors can vary considerably with regard to their severity, duration and magnitude. These differences hamper the comparison of policies (comparative risk assessment) or the costs of policy measures (cost effectiveness analysis). An integrated health measure, using the same denominator for all health effects, can help with interpretation and comparison of health problems and policies.

Integrated health measures

Common health measures include mortality, morbidity, healthy life expectancy, attributable burden of disease measures, and monetary valuation. Some of these measures will be further described below. All methods have several associated difficulties, such as imprecision of the population exposure assessment; uncertain shapes of the exposure-response curves for the low environmental exposure levels; insufficient (quality of) epidemiological data; extrapolation from animal to man or from occupational to the general population; generalisation of exposure-response relations from locally collected data for use on regional, national or global scale; combined effects in complex mixtures, etc.

Mortality figures The annual mortality risk or the number of deaths related to a certain (environment-related) disease can be compared with this risk or number in another region or country, or with data from another period in time. Subsequently, different policies can be compared and policies that do or do not work can be identified. Within a country, time trends can be analyzed. This method is easy to comprehend. No ethical questions are attached; everyone is treated equal. Since this method only includes mortality, it is not suitable for assessing factors with less severe consequences (morbidity). Also, it is difficult to attribute mortality to specific environmental causes.

Morbidity figures Similar to mortality figures, morbidity numbers (prevalences or incidences based on hospital admissions or doctor visits) can be used to evaluate a (population) health state. Advantages and drawbacks are comparable to those applying to using mortality figures. The use of morbidity numbers is therefore similarly limited, especially when (environmental) causes of the diseases vary.

Healthy life expectancy Using mortality tables, one can calculate the total average life expectancy for different age groups in a population, subdivided into years with good and years with less-than-good health. This measure is especially useful to review the generic health state in a country for the long term, but it doesn’t give insight into specific health effects, effects of specific policy interventions, or trends in certain subgroups.

Attributable burden of disease Health impact assessments can also be executed by calculating the attributable burden of disease. There are several ways to assess the burden of disease attributable to an (environmental) factor, such as the QALY and the DALY. Quality Adjusted Life Years, QALYs, capture both the quality and quantity elements of health in one indicator. Essentially, time spent in ill health (measured in years) is multiplied by a weight measuring the relative (un)desirability of the illness state. Thereby a number is obtained which represents the equivalent number of years with full health. QALYs are commonly used for cost-utility analysis and to appraise different forms of health care. To do that, QALYs combine life years gained as a result of these health interventions/health care programs with a judgment about the quality of these life years. Disability adjusted life years, DALYs, are comparable to QALYs in that they both combine information on quality and quantity of life. However, contrary to QALYs, DALYs give an indication of the (potential) number of healthy life years lost due to premature mortality or morbidity and are estimated for particular diseases, instead of a health state. Morbidity is weighted for the severity of the disorder.

With QALY, the focus is on assessing individual preference for different non-fatal health outcomes that might result from a specific intervention, whereas the DALY was developed primarily to compare relative burdens among different diseases and among different populations (Morrow and Bryant, 1995). DALYs are suitable for analyzing particular disorders or specific factors that influence health. Problems associated with the DALY approach include the difficulty of estimating the duration of the effects (which have hardly been studied) and the severity of a disease; and allowing for combined effects in the same individual (first you have symptoms, then you go to a hospital and then you may die). The DALY concept, which has been used in our study, will be further described in the next chapter. More information on the drawbacks of the method can be found in Chapter 6.4.

Monetary valuation Another approach to health impact assessment is monetary valuation. In this measure, money is used as a unit to express health loss or gain, thereby facilitating the comparison of policy costs and benefits. It can help policy makers in allocating limited (health care) resources and setting priorities. There are different approaches to monetary valuation such as ‘cost of illness’ and ‘willingness to pay/accept’.

The cost of illness (COI) approach estimates the material costs related to mortality and morbidity. It includes the costs for the whole society and considers loss of income, productivity and medical costs. This approach does not include immaterial costs, such as impact of disability (pain, fear) or decrease in quality of life. This could lead to an underestimation of the health costs. Furthermore, individual preferences are not considered.

The willingness to pay (WTP) approach measures how much money one would be willing to pay for improvement of a certain health state or for a reduction in health risk. The willingness to accept (WTA) approach measures how much money one wants to receive to accept an increased risk. WTP and WTA can be estimated by observing the individual’s behaviour and expenditures on related goods (revealed preference). For example, the extra amount of money people are willing to pay for safer or healthier products (e.g. cars with air bags), or the extra salary they accept for compensation of a risky occupation (De Hollander, 2004). Another similar method is contingent valuation (CV), in which people are asked directly how much money they would be willing to pay (under hypothetical circumstances) for obtaining a certain benefit (e.g. clean air or good health).


Source: Knol, A.B. en Staatsen, B.A.M. (2005). Trends in the environmental burden of disease in the Netherlands, 1980-2020. Rapport 500029001, RIVM, Bilthoven. Downloadable at http://www.rivm.nl/bibliotheek/rapporten/500029001.html