Turn in one copy for each group. If group members are not present in class they will be required to complete their own lab to receive credit. Please turn in a file with your output and a file containing your SAS code. This is due November, 6 at 10:30 AM.

Questions

Answer the following questions in this R Markdown document. Please include code where necessary.

1. Using PROC MEANS (40 points)

  1. Using a LIBNAME reference, load the housing file.
  2. Create a new SAS data set that only contains homes in MT, CO, ID, and WY.
  3. Use PROC MEANS to summarize the price and square footage of the homes by state. Note this will require sorting the data set prior to using PROC MEANS.

2. Creating a data set (40 points)

  1. Create a data set consisting of each group member’s:
  • name,
  • favorite Halloween Candy,
  • last time your trick-or-treated
  • number of candies you plan to eat on Halloween
  1. Print this data set and make sure to include an informative title.

  2. Use Proc Means to summarize the mean number of Halloween candies eaten by your group.

3. SAS GOALS (20 points)

Create a list of at least three things you’d like to know how to do in SAS.