Question: Do Exercises 2 and 3 in SAS code. Please have the answers typed. DATA sales; INPUT VisitingTeam $ 1-20 ConcessionSales 21-24 BleacherSales 25-28 OurHits 29-31

Do Exercises 2 and 3 in SAS code. Please have the answers typed.
DATA sales; INPUT VisitingTeam $ 1-20 ConcessionSales 21-24 BleacherSales 25-28 OurHits 29-31 TheirHits 32-34 OurRuns 35-37 TheirRuns 38 40; DATALINES Columbia Peaches Plains Peanuts Gilroy Garlics Sacramento Tomatoes 124 85 15 4 9 1 35 67 1 10 21 2 5 0 2 151035 12 11 7 6 210 PROC PRINT DATAsales; TITLE 'SAS Data Set Sales'; RUN; SAS Data Set Sales Concession Bleacher Our Their Our Their Sales Hits Hits Runs Runs Obs VisitingTeam Sales 1 Columbia Peaches 2 Plains Peanuts 3 Gilroy Garics 4 Sacramento Tomatoes 35 210 15 124 67 10 5 2 0 1035 85 2 12 15 2 6 4 Exercise 2: Save the data in the file 'Onions.dat', and use the following script to read the data DATA sales; INFILE ": path). Onions.dat'; INPUT VisitingTeam $ 1-20 ConcessionSales 21-24 BleacherSales 25-28 OurHits 29-31 TheirHits 32-34 OurRuns 35-37 TheirRuns 38-40 PROC PRINT DATA = sales; TITLE 'SAS Data Set Sales'; RUN ; th Exercise 3: Add or delete a blank column at the 19" column, and see what happens
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
