Question: Using SAS script language: 13. (8 points) I want to find the average number of errors for Atlanta, Baltimore, and Boston, the number of left

Using SAS script language:Using SAS script language: 13. (8 points) I want to find the

13. (8 points) I want to find the average number of errors for Atlanta, Baltimore, and Boston, the number of left fielders, and see if the salary has increased from $2 million for these teams. When I tried to run my program, it wouldn't run. Help me find where my errors are. Put an X by the line that has a mistake DATA = BASEBALL; INFILE 'C:USERS SUENDESKTOP BASEBALL.CSV' DELIMITER DSD: INPUT ? TEAM $ PLAYER $ SALARY POSITION ERRORS HITS IF TEAM = 'ATL' THEN SALARY 1 - SALARY ; IF TEAM = 'ATL' THEN N+1 RUN; PROC MEANS DATABASEBALL; VAR ERRORS RUN; PROC FREQ DATA BASEBALL TABLES POSITION /NOCUM NOPERCENT RUN; ODS GRAPHICS ON; PROC TTEST DATA = BASEBALL H0-2000000 SIDES-U ALPHA-0.05 PLOTS (SHOWHO); VAR SALARY; END; 13. (8 points) I want to find the average number of errors for Atlanta, Baltimore, and Boston, the number of left fielders, and see if the salary has increased from $2 million for these teams. When I tried to run my program, it wouldn't run. Help me find where my errors are. Put an X by the line that has a mistake DATA = BASEBALL; INFILE 'C:USERS SUENDESKTOP BASEBALL.CSV' DELIMITER DSD: INPUT ? TEAM $ PLAYER $ SALARY POSITION ERRORS HITS IF TEAM = 'ATL' THEN SALARY 1 - SALARY ; IF TEAM = 'ATL' THEN N+1 RUN; PROC MEANS DATABASEBALL; VAR ERRORS RUN; PROC FREQ DATA BASEBALL TABLES POSITION /NOCUM NOPERCENT RUN; ODS GRAPHICS ON; PROC TTEST DATA = BASEBALL H0-2000000 SIDES-U ALPHA-0.05 PLOTS (SHOWHO); VAR SALARY; END

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!