def METHOD_NAME(self, statistics: dict, statistic) -> dict:
    noise_gen = self.noise_generators[statistic]
    for ds_name in statistics[statistic]:
        for feature_name in statistics[statistic][ds_name]:
            local_value = statistics[statistic][ds_name][feature_name]
            noise_value = noise_gen(local_value, self.noise_level)
            statistics[statistic][ds_name][feature_name] = noise_value
    return statistics