How-to Implement Algorithms for the Statistical Manager