direct_effect: Retreive Direct Effect estimates

Description Usage Arguments Value

Description

Retrieves the population average direct causal effect for a specified allocation: Yhat(0, alpha) - Yhat(1, alpha).

Usage

1
direct_effect(object, allocation = NULL, trt.lvl1 = 0)

Arguments

object

an object of class interference

allocation

the allocation scheme for which to estimate direct effects. If NULL, then returns all direct effects.

trt.lvl1

Defaults to 0.

Value

a data.frame with requested values



Search within the inferference package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.