- Add
...args tohaldensify()to allow arbitrary arguments to be passed directly tofit_hal(). - Remove
use_futureargument tohaldensify(), instead reducing to callingfuture_mapply(), with sequential evaluation viaplan(sequential). - Add example of working with bootstrap samples, e.g., using
rsample. - Add a
plot()method to more easily visualize how empirical risk changes across the sequence of explored regularization parameter values. - Add an
ipw_shift()function for constructing IPW estimators of the mean counterfactual outcome of a stochastic shift intervention viahaldensify. - Add an argument to
haldensify()to allow normalization of the density estimates to improve estimation stability. Note that this normalized density is actually g(A|W)/g(A), instead of the currently estimated g(A|W).