On Data-Driven Chi Square Statistics. by Huiyu Qian