Survey Data

(crosstabulations and formats)

  1. Create SAS data sets using the survey data set.
  2. Produce a cross tabulation using proc freq, to look at the relationship between the number of days stayed at the hotel, and the variable which records whether or not the respondent would return to the hotel in the future.
  3. There are many levels of the variable representing the number of days stayed, which makes the resulting table difficult to interpret. Break down the number of days into a smaller number of groups, and run a new crosstabulation.
  4. Do you see any pattern between the number of days stayed and whether or not the customer would return to the hotel?