Open p104p04.sas from the practices folder. Create a new column named SqMiles by multiplying Acres by .0015625. Create a new column named Camping as the sum of OtherCamping, TentCampers, RVCampers, and BackcountryCampers. Format SqMiles and Camping to include commas and zero decimal places. Modify the KEEP statement to include the new columns. Submit the program. I tried the following codes but I am getting different answers. data np_summary_update;
set pg1.np_summary;
keep Reg ParkName DayVisits OtherLodging Acres SqMiles Camping;
SqMiles=Acres*.0015625;
Camping=sum(OtherCamping,TentCampers,
RVCampers,BackcountryCampers);
format SqMiles comma6. Camping comma10.;
run; So, the question is and the answers in the answerkey are: SqMiles 1,014 and Camping 6,375. and my answers are: SqMile 77 and Camping 201,741 I copied and pasted the codes from the answer key and still geting the same results (77, 201741). I did not sort the data in anyway nor the question asked to sort the data. Did anyone else had the same issue?
... View more