Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

( 3 4 points total ) The following key provides variable names, types, and the corresponding column numbers for the values in the data file

(34 points total) The following key provides variable names, types, and the corresponding column numbers for the values in the data file called Textbooks.txt: Engl151C978-019956133925.9518.94Y
Engl180A978-037451536218.0012.24Y
Anth135T978-030008064331.6832.00Y
Anth191H978-022620681316.0011.52Y
Comp 20A978-0470509487126.6797.38N
Mgmt127B978-0324828641214.50173.56N
Phys 6A978-0534491437188.00159.28Y
Psyc134A978-007337854185.1267.40Y
Russ 90B978-067430443729.7024.31Y
Stat200C978-041204371092.1080.37N
Urbn275M978-159213432842.0037.04Y
Wrld409A978-019539082739.5526.37N
Womn285C978-082234114727.7018.22Y
(12 points) Create a data step in SAS to read all of the data using the column style of input. Print the entire results.
(12 points) Use the formatted style of input (making use of the @ symbol) by reading only the following five variables in the order specified: Department first, Course second, Required third, Amazon fourth, and ISBN fifth. Do not read the remaining variable. Print the first 5 observations.
(10 points) Modify the Print procedure in (b) to label Required as Required for the course? and Amazon as Price on Amazon.com. Print all observations but only the variables ISBN. Amazon, and Required, in that order.

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_2

Step: 3

blur-text-image_3

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

Databases DeMYSTiFieD

Authors: Andy Oppel

2nd Edition

0071747990, 978-0071747998

Students also viewed these Databases questions