-
Notifications
You must be signed in to change notification settings - Fork 14
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
stratified estimator #17
Comments
We have the |
Why don't we not worry about it and include an example in the vignette of how to do it with direct calls to hazard_tmle (or mean_tmle, which I suspect may be faster). |
Sure, sounds good to me. I'll just re-open to remind us to keep it on the radar in terms of adding this to the vignette soon enough. |
Adding in a way to compute stratified Kaplan-Meier-style estimator would also be a nice addition. The code currently can be hacked to do this as follows:
This example runs fine for
n <- 100
but not forn <- 1000
. Changing the call toglm
withinestimateCensoring
andestimateHazards
tofamily = gaussian()
allows larger sample sizes to run, albeit still somewhat slowly (e.g., ~ 1 minute forn <- 1000
).speedglm
helps get this down to around 10 seconds.The text was updated successfully, but these errors were encountered: