Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Please help in SAS... (this is the data from the dat file) The info for golf.dat

ID: 3202352 • Letter: P

Question

Please help in SAS...

(this is the data from the dat file) The info for golf.dat is the one below

Kapalua Plantation 18 73 7263 125.00

Pukalani                18 72 6945 55.00

Sandlewood          18 72 6469 35.00

Silversword            18 71    .    57.00

Waiehu Municipal  18 72 6330 25.00

Grand Waikapa      18 72 6122 200.00

That is: (1) double space your output, (2) label the variables as in the above output, (3) title the output as it appears above, (4) suppress the printing of the observation number, and (5) make sure that the yardage contains a comma (e.g., 7,263) and the fees are preceded by a dollar sign (e.g., $125.00).

Explanation / Answer

create one new folder in C to read and write the datsets.

Write trhe datsets is to store

read to bring to SAS environment

program1:

data perm.question02;
infile datalines ;
length golfcourse $ 20;
input @1 golfcourse $ & holes par total_yardage fees ;

datalines;

Kapalua Plantation 18 73 7263 125.00

Pukalani 18 72 6945 55.00

Sandlewood 18 72 6469 35.00

Silversword 18 71 . 57.00

Waiehu Municipal 18 72 6330 25.00

Grand Waikapa 18 72 6122 200.0

;

run;

options linesize=80 pagesize=58;
title "Question#3";
proc print data=perm.question02 double noobs split='*';
var golfcourse par holes total_yardage fees ;
label holes='No. of*holes'
fees='Greens*Fees';
format total_yardage comma5. fees dollar7.2;
run;

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote