Note that we changed indicator zA(y) to gn(y) which correspond to relevant statistics, and N is their index set.