The Python counterpart should serve as inspiration. The related `Statistics` methods should also be renamed.