statistical inference handwritten notes