Applied-Statistics-STA442-homework This file contains parts of homework assignment that needs to implement R code.