Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please use typed SAS code. Question 3: Write a SAS DATA step to read the following data. The data is separated by the commas. The

image text in transcribed

Please use typed SAS code.

Question 3: Write a SAS DATA step to read the following data. The data is separated by the commas. The list of variables is ID, GENDER, SCORE, DATE (mmddyyyy), AMOUNT and PROFIT dollar). (Note that the variable AMOUNT is a four-digit integer with a comma format. e.g: 1,000-1000). (hint: column input is not proper.) 001,M,98,10/11/1981,1,000,$7.81 002,F,100,03/13/1986,9,999.S17.91 003,M,89,04/11/1979,1,200,$1.42 004,M,77,02/13/1985,5,300,$9.26 Write a SAS PROC step to print out the observations on condition that the AMOUNT is greater than 1100 and the PROFIT is greater than S2. Please keep the format for DATE, AMOUNT and PROFIT

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

Guide To Client Server Databases

Authors: Joe Salemi

2nd Edition

1562763105, 978-1562763107

More Books

Students also viewed these Databases questions