STAT 640 Lecture Notes