Git Product home page Git Product logo

tlverse / tmle3mediate Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 0.0 4.73 MB

๐ŸŽฏ :twisted_rightwards_arrows: Targeted Learning for Causal Mediation Analysis

Home Page: https://tlverse.org/tmle3mediate

License: GNU General Public License v3.0

Makefile 0.50% R 92.97% TeX 6.19% Shell 0.33%
causal-inference mediation-analysis targeted-learning machine-learning treatment-effects stochastic-interventions causal-mediation-analysis

tmle3mediate's Issues

"Node outcome not specified" when running WASH benefits example

Hi, I've been trying to reproduce the mediation example on the WASH Benefits data as thoroughly explained on the tlverse website. Nonetheless, even on this example dataset, I keep getting the following error when running the tmle3 function for either NIE or NDE estimations:

> washb_NIE <- tmle3(
+   tmle_spec_NIE, washb_data, node_list, learner_list
+ )
Error in generator_fun(node_name, self$nrow) : Node outcome not specified

I am running tmle3 v0.2.0, tmle3mediate v0.0.3, and sl3 v1.4.5 (which, as far as I know, are the most recent versions). Any idea what might be causing this error? It seems to be an sl3 error, but I am not calling sl3 directly here. I did not change any code from the example.

tmle3_Task' not found

I've uploaded a simple script in tests that when run with tmle installed locally results in a taks not found error when using tmle estimator with medshift.

I've been trying to figure out this issue.

NDE/NIE incompatibility with ATE

Hi,

I was using tmle3mediate for a project and noted that the ATE estimated by adding the NIE and NDE together is a bit different than the estimate of the ATE you get without using tmle3mediate, using just tmle3. It would be nice if the tmle3mediate package returned the ATE w/confidence intervals as part of the object returned. Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.