本次代写是SAS市场分析相关的一个Homework

Instructions:

• Go to SAS Studio 3.8 User’s Guide website
https://documentation.sas.com/doc/en/webeditorcdc/3.8/webeditorref/titlepage.htm

• Find SAS Studio Task Reference – Data Tasks

• Find the following eight tasks in Data Tasks:

1) Filter Data
2) Rank Data
3) Transform Data
4) Combine Tables
5) Characterize Data
6) Describe Missing Data
7) Select Random Sample
8) Sort Data

• (5 points) Read the eight tasks carefully and follow the instruction on the website
to conduct the example under each task. Copy and paste the syntax (which is
generated automatically during point-and-click) for all the tasks into ONE SAS file
called “YourLastName_HW2”

• Submit that file under Assignments as your answer to HW2

• (5 points) Start your SAS file with this header by using SAS comments syntax:

Course Name – Semester Year
Your name
HW2 – date and time you complete the assignment

• (5 points) Start your answer to each question below with the Question # by using
SAS comments syntax

• (5 points) Keep your syntax in a clear format

Questions:

1. (10 points) [Filter Data]

a. Example 1: Creating a Simple Filter
b. Example 2: Creating a Compound Filter

2. (10 points) [Rank Data] Example: Ranking Students by Height within Age

3. (10 points) [Transform Data] Example: Transforming the Data in the BASEBALL
Data Set

4. (10 points) [Combine Tables] Combine Tables: Example

5. (10 points) [Characterize Data] Example: Characterize Data Task

6. (10 points) [Describe Missing Data] Example: Describing Missing Data for
SASHELP.BASEBALL

7. (10 points) [Select Random Sample] Example: Creating a Random Sample of the
Sashelp.Pricedata Data Set

8. (10 points) [Sort Data] Sort the SASHELP.CLASS Data Set by Sex and Age