An estimation method for the Neyman chi-square divergence with application to test of hypotheses