A. Download the file and open it with Notepad. You may copy and paste the data i
ID: 3200508 • Letter: A
Question
A. Download the file and open it with Notepad. You may copy and paste the data into SAS. Use datalines and column input to read the data into a permanent SAS data set by reading the data instream. Print the data set.
B. Create a temporarySAS data set from the permanent SAS data set created in part (a). Print the data set.
CAK ATL 528 424, FL 111.03 CAK MCO 860 276 FL 118.94 ALB ATL 852 215 DL 167.12 ALB BWI 288 606 WN 68.86 ALBORD 723 313 UA 145.42 ALB FLL 1204 199 WN 127.69 ALB LAS 2237 237 WN 148.59 ALB LAX 2467 191 DL 174.00Explanation / Answer
data perm.airfares;
infile datalines;
input city1 $ 1-3 city2 $ 5-7 distance 9-12 passengers 14-16 airline $ 18-19 price@21:3.2;
datalines;
Given data
;
run;
proc print data=perm.airfares;
run;
Solutionb:
Data temp;
set perm.airfares;
run;
Proc print data=work.temp;
run;
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.