lmtp icon indicating copy to clipboard operation
lmtp copied to clipboard

:package: Non-parametric Causal Effects Based on Modified Treatment Policies :crystal_ball:

Results 16 lmtp issues
Sort by recently updated
recently updated
newest added

Adds competing risks functionality to the package ala "Causal survival analysis under competing risks using longitudinal modified treatment policies". Credit to @kathoffman .

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...

``` LMTP Estimator: SDR Trt. Policy: (policy) Population intervention estimate Estimate: 507.7538 Std. error: 4.8903 95% CI: (498.169, 517.3386) Additive effect Observed: ... Effect: ... Std. error: ... 95% CI:...

**Describe the issue** Error messages arising when using the "id" option in lmtp_tmle(). **reprex** ``` library(lmtp) # Start with documentation example set.seed(56) n

Capture this error message and indicate setting `intervention_type = "mtp"` will likely fix it. ``` Error in glm.fit(x = c(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,...

Food for thought. As pointed out by @idiazst, the current arguments `shift` and `shifted` aren't generalizable to the full array of treatment effects *lmtp* is capable of estimating, and might...

Common errors/issues that aren't explicitly checked for should now be listed here: - user calls `make_learner()` instead of `make_learner_stack()` with multiple learners. - Factor levels in shift function don't respect...

The required data structure is difficult to figure out. Needs helper function to get into proper format.

enhancement

A current barrier to use is the required data format. A formulaic interface similar to what already exists in R may help. However, the current data structure exists to guarantee...

enhancement