Question: ( 3 4 points total ) Refer to the file called diamond.csv and complete the following tasks: a . ( 8 points ) Use PROC
points total Refer to the file called diamond.csv and complete the following tasks:
a points Use PROC IMPORT to import the file into SAS so that it can be used as a
SAS data set.
b points Using the data set produced in a print just the carat, color, and price
values for only diamonds considered to be onehalf carat actual carat weight between
and carat inclusive and having a color rating of D
c points Using a new data step, create a new data set that consists of diamonds
that only have the T color and creates a new variable Size that classifies
diamonds less than carats as "Little" and diamonds carats and larger as
"Big". Print the first observations from the resulting data set.
d points Sort the data set in c by Size and Clarity listed in that order and print the
data set for only the variables Clarity and Price using a BY statement applied to Size.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
