dualbounds.varite.VarITEDualBounds¶
- class dualbounds.varite.VarITEDualBounds(*args, **kwargs)[source]¶
Computes dual bounds on \(Var(Y(1) - Y(0)).\)
The signature of this class is identical to the
generic.DualBoundsclass. However, the inputfwill be ignored.Methods
compute_dual_variables([y0_dists, y0_vals, ...])Estimates dual variables using the outcome model.
cross_fit([nfolds, suppress_warning, ...])Cross-fits the outcome model.
diagnostics([plot, aipw])Reports a set of technical diagnostics.
Thinly wraps
dist_reg._evaluate_model_predictions.Thinly wraps
dist_reg._evaluate_model_predictions.fit([nfolds, aipw, alpha, y0_dists, ...])Main function which (1) performs cross-fitting, (2) computes optimal dual variables, and (3) computes final dual bounds.
fit_propensity_scores(nfolds[, clip, verbose])Cross-fits the propensity scores.
plot_dual_variables([i])Plots the estimated dual variables for the ith data-point.
results([minval, maxval])Returns a dataframe of key inferential results.
summary([minval, maxval])Prints a summary of main results from the class.