econml.validate.CalibrationEvaluationResults
- class econml.validate.CalibrationEvaluationResults(cal_r_squared: numpy.array, plot_data_dict: Dict[Any, pandas.core.frame.DataFrame], treatments: numpy.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
- __init__(cal_r_squared: numpy.array, plot_data_dict: Dict[Any, pandas.core.frame.DataFrame], treatments: numpy.array)[source]
Methods
__init__
(cal_r_squared, plot_data_dict, ...)plot_cal
(tmt)Plots group average treatment effects (GATEs) and predicted GATEs by quantile-based group in validation sample.
summary
()Constructs dataframe summarizing the results of the calibration test.