Aggregate: (helper function )Aggregate data for WOE/NWOE calculations
Description
Aggregate
returns aggregated data for the WOE and NWOE functions
Usage
Aggregate(data, x, y, breaks, trt)
Arguments
x
variable to be aggregated
trt
binary treatment variable (for net lift only)