Questions are attached in the file below

Homework 6

  1. The following data contains 5 purchase dates for the customers.

Peter 09/21/2012 10/13/2012 10/31/2012 11/24/2012 12/19/2012

Mary 04/15/2012 05/13/2012 06/02/2012 07/04/2012 09/07/2012

Alice 01/05/2013 02/02/2013 02/28/2013 03/14/2013 04/20/2013

  • Read the data into SAS without changing the data structure. Show your program.

  • Use array to change your SAS data set structure to the following. Show your program.

Questions are attached in the file below 1

  1. Please download the HW6-Score.txt from the Blackboard.

  • Find the number of students who took each course, the average, quartile one, median, quartile three, minimum, and maximum for each course and the overall.

  • Find the student ID who scored the highest in each course.

  • Your final result should be shown as below. Show your program.

Questions are attached in the file below 2

  1. Please download the HW6-States.txt from the Blackboard.


  • Create a crosstabulation for area and population.

  • Your final result should be shown as below. Show your program.

Questions are attached in the file below 3