TMLE update: include option of place clever covariate as the weights #173
Open
miaow27 wants to merge 1 commit intopzivich:masterfrom
Open
TMLE update: include option of place clever covariate as the weights #173miaow27 wants to merge 1 commit intopzivich:masterfrom
miaow27 wants to merge 1 commit intopzivich:masterfrom
Conversation
Owner
|
Hi @miaow27 I haven't looked at the latest release of R's Thanks for the suggestions, I will try to integrate in the next few weeks. I may change the syntax a bit ( This is also a reminder for me, but I also need to check and update the cross-fit TMLE's as well. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
We have used
zepid:TMLEfor a while and notice the estimate as well as estimate's variance under some setting are majorly different from R:tmle. (Due to company policy, I cannot share data with you).We think we are able to identify the root-cause of this discrepancy: R's implementation of
TMLEuse the "clever covariet" by weighting (target_gwt = True) in the latest release. After changingzepidto have the same setting, we observe a more consistent alliance between R andzepid. Here we want to share you our slight changes of codes and hope this can bring the function to be beneficial to a broader audience.Based on our empirical experience,
target_gwt = Truemight be a more stable setting for general user.target_gwt = Falsetends to give extreme result that is majorly different from IPW or AIPW. Whiletarget_gwt = Truegives more closer and stable result.target_gwt = Truewill gives similar ATE astarget_gwt = Falsewith larger p-value. So the weighting approach might be more conservative and robust to weird data or model specification.Attached with some additional resources about this topics:
importance_sampling):