direct_effect: Retreive Direct Effect estimates

View source: R/utilities.R

direct_effectR Documentation

Retreive Direct Effect estimates

Description

Retrieves the population average direct causal effect for a specified allocation: \hat{Y}(0, alpha) - \hat{Y}(1, alpha).

Usage

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


inferference documentation built on June 8, 2025, 1:34 p.m.