DirectEffects

R ยท CRAN

(with Matthew Blackwell, Avidit Acharya, Maya Sen, Shiro Kuriwaki, and Jacob Brown)

Estimates the controlled direct effect of a treatment while fixing a potential mediator at a specific value, using sequential g-estimation or telescope matching.

Installation

install.packages("DirectEffects")