GetStatisticsBy... function

Get statistical values (vectorization ready)