formula_stress_test: some statistical functions