Filtering input data in statistics generator