indirect_effect function

Retreive Indirect Effect estimates

Retreive Indirect Effect estimates

Retrieves the population average indirect causal effect for specified allocations: Yhat(0,alpha1)Yhat(0,alpha2)Yhat(0, alpha1) - Yhat(0, alpha2). This is the effect due to the coverage (allocation) levels.

indirect_effect(object, allocation1, allocation2 = NULL, trt.lvl = 0) ie(object, allocation1, allocation2 = NULL, trt.lvl = 0)

Arguments

  • object: an object of class interference
  • allocation1: the allocation scheme for which to estimate indirect effects
  • allocation2: the allocation scheme for which to estimate indirect effects. If NULL, then returns all indirect effects compared to allocation1.
  • trt.lvl: Defaults to 0.

Returns

a data.frame with requested values

  • Maintainer: Bradley Saul
  • License: GPL (>= 2)
  • Last published: 2021-04-21

Useful links