direct_effect | R Documentation |
Retrieves the population average direct causal effect for a
specified allocation:
\hat{Y}(0, alpha) - \hat{Y}(1, alpha)
.
direct_effect(object, allocation = NULL, trt.lvl1 = 0)
object |
an object of class |
allocation |
the allocation scheme for which to estimate direct effects. If NULL, then returns all direct effects. |
trt.lvl1 |
Defaults to 0. |
a data.frame with requested values
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.