https://github.com/PierreMasselot/Paper--2022--Biostatistics--CGAIM