Hello, dear friend, you can consult us at any time if you have any questions, add WeChat: daixieit

MKAN1-UC 5103 Marketing Analytics Fall 2023 HW 1

Instructions:

•    (3 points) Develop the SAS syntax for each question below and save all syntax in ONE SAS file called  "YourLastName_HW1"

•   Submit that file under Assignments as your answer to HW1

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

o Course Name - Semester Year

o Your name

o HW1 - date you complete the assignment

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

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

Questions:

1.   (20 points) (1) Use LIBNAME Statement to create a library named

“yourlastname” (e.g. zervoudakis) in your shared folder. (2) Cancel this library

2.   (22 points) Use the INPUT and DATALINES statements to manually enter the data below into a SAS data set called “info” in the WORK library.

Name

Gender

Score

JZ

M

98

AD

M

57

HM

F

76

3.   (20 points) Use point-and-click OR Proc Import and Proc Contents statements to import “hw1.csv” file into a SAS data set named “hw1” in anew library called

“your first name” (e.g. stavros)” . The syntax should display the descriptor portion and data portion of the data set.

4.   (22 points) Use the INFILE statement in the DATA step to import “hw1.csv” file

into a SAS data set named “hw1” in the library you created in question 3.

Note:

This is a 100-point assignment. You need to submit your answer by the due time,   answer satisfactorily all points in each question and follow these instructions fully. Late submissions will receive automatic 0 point.

This is an individual assignment. Any teamwork found will receive automatic 0.