nt-williams / lmtp

:package: Non-parametric Causal Effects Based on Modified Treatment Policies :crystal_ball:
http://www.beyondtheate.com
GNU Affero General Public License v3.0
55 stars 16 forks source link

updated sl3 version to handle competing risks #118

Closed kathoffman closed 2 months ago

kathoffman commented 2 years ago

Added a new parameter comp_risk to lmtp_* estimators. This is a longitudinal indicator variable similar to outcome in time to event settings. The indicator affects the at-risk subset of data for estimation.

nt-williams commented 1 year ago

A lot of changes have been made to the internal structure of the package and the sl3 branch is super behind. I've gone ahead and made the change in this pull request to a new branch that's caught up with devel. Do you have any data available for testing and adding an example?