STAT545A Homwork