NEWS.md
hal9001
(v0.4.6) and sl3
(v1.4.5).cv_strat
to est_onestep()
and est_tml()
and to the estimator_args
list-argument in medoutcon()
, which allows for stratified folds to be generated for cross-fitting (by passing these to the strata_ids
argument of make_folds()
from the origami
package). This is also triggered by an override in est_onestep()
and est_tml()
when the proportion of detected cases is less than 0.1, a heuristic for rare outcomes.cv_folds = 10L
in named arguments to est_onestep()
and est_tml()
and to the estimator_args
list-argument in medoutcon()
.g_bounds
to c(0.005, 0.995)
from c(0.01, 0.99)
(in v0.22), based on sanity checks and manual experimentation.sl3_Task()
in which outcome_type = "continuous"
is specified in suppressWarnings()
to sink warnings when the outcome variable for a given nuisance estimation task fails sl3
’s check for continuous-ness.est_tml()
to use glm2::glm2
instead of stats::glm
to avoid issues with erratic IRLS in the latter; see https://journal.r-project.org/archive/2011/RJ-2011-012/ for details.g_bounds
by an order of magnitude, from c(0.001, 0.999)
to c(0.01, 0.99)
, to mitigate potential stability issues.est_tml()
.Z = NULL
is specified.est_tml()
so as to avoid fluctuation models for the TMLE step from updating the intermediate confounder nuisance components (i.e., q_prime_Z_one
, q_prime_Z_natural
) and causing numerical issues that violate the above internal checks.ext_weights
) to svy_weights
.effect_type
across functions for estimation, including cv_eif()
, est_onestep()
, and est_tml()
. When Z = NULL
is set in medoutcon()
, a natural effect estimate corresponding to the argument effect
is returned instead of an interventional effect.summary()
and print()
methods have been updated to allow handling of natural effects and counterfactual means under arbitrary contrasts.