Answered step by step
Verified Expert Solution
Link Copied!

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.
44b. 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.
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Concepts

Authors: David M Kroenke, David J Auer

6th Edition

0132742926, 978-0132742924

More Books

Students also viewed these Databases questions