sl3 icon indicating copy to clipboard operation
sl3 copied to clipboard

Using sl3 fits in tmle3

Open Ofran-a opened this issue 2 years ago • 2 comments

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

Ofran-a avatar Jan 31 '23 08:01 Ofran-a

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

jeremyrcoyle avatar Jan 31 '23 18:01 jeremyrcoyle

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

Ofran-a avatar Feb 01 '23 08:02 Ofran-a