Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The tallest mountains in the world are located in central and southern Asia. The raw data file Mountains.dat contains information on mountains over 7 ,

The tallest mountains in the world are located in central and southern Asia. The raw data file Mountains.dat contains information on mountains over 7,200 meters (23,622 ft). Researchers measure the prominence of a mountain as the height above the highest saddle connecting it to a higher summit. The variables in this file are mountain name, height (m), height (ft), year of first ascent, and prominence (m).
a. Open the raw data file Mountains.dat in a simple editor such as WordPad. In a comment in your program, state which variables must be read in as character and which variables should be read in as numeric.
b. Read the raw data file into SAS.
c. Print the data set .You'll need to put ENCODING=wlatin1 at the end of your INFILE line, since the data file contains a line with non-standard characters. Also, note that the various fields are separated by two or more spaces. You may find the ampersand (&) operator helpful in completing this exercise.

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

Relational Database And Transact SQL

Authors: Lucy Scott

1st Edition

1974679985, 978-1974679980

More Books

Students also viewed these Databases questions