DOC: stats: Fixed some typos in the stats tutorial (includes fix for ticket #1896).