Statistical Methods Using Python Dictionaries Explained