indirect_effect {inferference} | R Documentation |
Retreive Indirect Effect estimates
Description
Retrieves the population average indirect causal effect for
specified allocations:
\hat{Y}(0, alpha1) - \hat{Y}(0, alpha2)
.
This is the effect due to the coverage (allocation) levels.
Usage
indirect_effect(object, allocation1, allocation2 = NULL, trt.lvl = 0)
ie(object, allocation1, allocation2 = NULL, trt.lvl = 0)
Arguments
object |
an object of class |
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. |
Value
a data.frame with requested values
[Package inferference version 1.0.2 Index]