econml.validate.CalibrationEvaluationResults
- class econml.validate.CalibrationEvaluationResults(cal_r_squared: array, plot_data_dict: Dict[Any, DataFrame], treatments: array)[source]
Bases:
object
Results class for calibration test.
- Parameters:
cal_r_squared (list or numpy array of floats) – Sequence of calibration R^2 values
plot_data_dict (dict) – Dictionary mapping treatment levels to dataframes containing necessary data for plotting calibration test GATE results
treatments (list or numpy array of floats) – Sequence of treatment labels
Methods
__init__
(cal_r_squared, plot_data_dict, ...)plot_cal
(tmt)Plot group average treatment effects (GATEs) and predicted GATEs by quantile-based group in validation sample.
summary
()Construct a dataframe summarizing the results of the calibration test.