https://github.com/PierreMasselot/Paper--2018--Aggregated_response_in_regression