-
Notifications
You must be signed in to change notification settings - Fork 1
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
Tracking of readable implementations of estimators #7
Comments
@nignatiadis come up with consistent estimator_names.R file names etc |
@nignatiadis I will do the S- and T-learners of lasso, and you can work on the F-, X-, and R-lasso |
Things are looking great, I've gone over the *_grf estimators now with comments:
|
@erikcs Thank you so much for the detailed review and comments. These are all GREAT and VERY helpful, particularly item 15, you are right that the uncensored indicator = (D == 1 | Y > t0), a good catch!! I will first fix 15 and the ones that may directly affect our results, then go through the others. Thanks again! |
@nignatiadis What do you think we should do about this comment from Erik? In our setting, without adjusting any Xs, It only happens if all subjects are censored and censored before t0, which is rare but possible. I used to truncate the zero censoring weights to the smallest non-zero values, but I am not a big fan of weight truncation in general. |
Checking the estimated censoring weights can be part of the input validation, if they are zero (or in the case of nelson-aalen extremely close to zero) you can raise an error, and suggest trying increasing t0? |
Thanks, Erik, yes, I think it is a good idea to use error. On the suggestion part, increasing t0 will give more time for developing an event but will also allow more censoring say due to loss-to-follow-up. Maybe we can say "check input variables or consider adjust t0"? |
Minor extra points:
|
Many of these are in the file comparison_estimators.R, which should be part of the package.
The text was updated successfully, but these errors were encountered: