DirectEffects icon indicating copy to clipboard operation
DirectEffects copied to clipboard

An R package for estimating controlled direct effects.

Results 5 DirectEffects issues
Sort by recently updated
recently updated
newest added

Thanks for your wonderful work! On page 15 of the paper [Acharya, Blackwell, and Sen (2016)](http://www.mattblackwell.org/files/papers/direct-effects.pdf), there are illustrations about "recentering" the mediator to visualize the relationship between ACDE and...

When there is a singularity in the first-stage of `sequential_g()`, `summary()` errors out ungracefully: ``` Error in Fhat %*% R1 %*% t(efun1) : non-conformable arguments ```

MWE: ``` r library(DirectEffects) # ACDE of the plow on female participation, with income as mediator form_main

I have been exploring the assembly line approach to estimating CDEs. Given the data I am working with, I want to incorporate weights into my outcome regression. I have tried...