Answered step by step
Verified Expert Solution
Question
1 Approved Answer
The SAS data set named CRAYONS contains information on standard Crayola crayon colors. The variables in this file are crayon number, color name, hexadecimal code,
The SAS data set named CRAYONS contains information on standard Crayola crayon colors. The variables in this file are crayon number, color name, hexadecimal code, RGB triplet, pack added, year issued, and year retired.
a In a comment in your code, describe how you could view the variable attributes in this SAS data set.
b Using the method described in part a review the names, labels, and attributes of the variables in the SAS data set CRAYONS. Record the label and length for the variable Color as a comment in your program.
c Calculate the number of colors issued per year. Add a comment to your code stating in which year the largest number of colors were issued.
d Sorting the crayons by color using their names would be ineffective due to the uniqueness of the names, but the information found in the RGB triplets can be used instead. Sort the crayon data by RGB triplet.
e Print the sorted data showing only columns for the variables color name and RGB triplet.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started