Data analysis section of homework 4