Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using sl3 fits in tmle3 #407

Open
Ofran-a opened this issue Jan 31, 2023 · 2 comments
Open

Using sl3 fits in tmle3 #407

Ofran-a opened this issue Jan 31, 2023 · 2 comments
Labels

Comments

@Ofran-a
Copy link

Ofran-a commented Jan 31, 2023

Hello
Running tmle3 fit is not working for me: one of the problems I have is that I cannot specify the number of folds in the tmle_task. I have generated two sl3 fits for the Q ang g models. Is there a way to use these existing results into a tmle fit to estimate the ATT please.
Many thanks

@jeremyrcoyle
Copy link
Collaborator

Hello,

Yes, you can pass fitted sl3 objects into the library instead of the unfitted one.

Please be aware that by default tmle3 implements cv-tmle and so the fold structure should be the same across likelihood factors (e.g outcome regression Q and propensity score g). You can achieve this by pregenerating the folds using origami and passing them to the relevant tasks

@Ofran-a
Copy link
Author

Ofran-a commented Feb 1, 2023

Many thanks, is there an example of this on tlverse that you could point me to please.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants