St 555 homework2 coding 1 page

profilerong2017
HW2DugginsBaseballReport.rtf

Variable-Level Metadata (Descriptor) Information

Variables in Creation Order

#

Variable

Type

Len

Format

Label

1

FName

Char

9

First Name

2

LName

Char

11

Last Name

3

Team

Char

13

Team at the end of 1986

4

nAtBat

Num

8

# of At Bats in 1986

5

nHits

Num

8

# of Hits in 1986

6

nHome

Num

8

# of Home Runs in 1986

7

nRuns

Num

8

# of Runs in 1986

8

nRBI

Num

8

# of RBIs in 1986

9

nBB

Num

8

# of Walks in 1986

10

YrMajor

Num

8

# of Years in the Major Leagues

11

CrAtBat

Num

8

# of At Bats in Career

12

CrHits

Num

8

# of Hits in Career

13

CrHome

Num

8

# of Home Runs in Career

14

CrRuns

Num

8

# of Runs in Career

15

CrRbi

Num

8

# of RBIs in Career

16

CrBB

Num

8

# of Walks in Career

17

League

Char

8

League at the end of 1986

18

Division

Char

4

Division at the end of 1986

19

Position

Char

2

Position(s) Played

20

nOuts

Num

8

# of Put Outs in 1986

21

nAssts

Num

8

# of Assists in 1986

22

nError

Num

8

# of Errors in 1986

23

Salary

Num

8

DOLLAR10.3

Salary (Thousands of Dollars)

Salary Format Details

„ƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒ†

‚ FORMAT NAME: SALARY LENGTH: 15 NUMBER OF VALUES: 7 ‚

‚ MIN LENGTH: 1 MAX LENGTH: 40 DEFAULT LENGTH: 15 FUZZ: 0 ‚

‡ƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒ…ƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒ…ƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒ‰

‚START ‚END ‚LABEL (VER. V7|V8 11SEP2019:12:59:41)‚

‡ƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒˆƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒˆƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒ‰

‚ .‚ .‚Missing ‚

‚ 0‚ 0‚None ‚

‚ 0< 190‚First Quartile ‚

‚ 190< 425‚Second Quartile ‚

‚ 425< 750‚Third Quartile ‚

‚ 750< 2460‚Fourth Quartile ‚

‚**OTHER** ‚**OTHER** ‚Unclassified ‚

Šƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒ‹ƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒ‹ƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒŒ

Five Number Summaries of Selected Batting Statistics

Grouped by League (1986), Division (1986), and Salary Category (1987)

League at the end of 1986

Division at the end of 1986

Salary (Thousands of Dollars)

N Obs

Variable

Minimum

25th Pctl

50th Pctl

75th Pctl

Maximum

American

East

Missing

17

nHits nHome nRuns nRBI nBB

36.00 0.00 15.00 10.00 14.00

54.00 1.00 24.00 27.00 18.00

84.00 8.00 33.00 44.00 30.00

113.00 13.00 48.00 56.00 41.00

140.00 23.00 69.00 75.00 54.00

First Quartile

11

nHits nHome nRuns nRBI nBB

41.00 1.00 15.00 18.00 9.00

51.00 4.00 32.00 19.00 16.00

78.00 7.00 41.00 35.00 24.00

113.00 20.00 58.00 69.00 45.00

142.00 28.00 71.00 86.00 54.00

Second Quartile

18

nHits nHome nRuns nRBI nBB

39.00 2.00 18.00 18.00 9.00

57.00 4.00 31.00 27.00 18.00

73.00 8.00 38.00 38.00 22.00

93.00 13.00 54.00 51.00 32.00

213.00 33.00 108.00 121.00 72.00

Third Quartile

14

nHits nHome nRuns nRBI nBB

60.00 0.00 30.00 11.00 22.00

103.00 6.00 48.00 47.00 37.00

136.00 11.50 66.00 56.50 44.50

159.00 17.00 83.00 77.00 56.00

179.00 29.00 107.00 85.00 91.00

Fourth Quartile

25

nHits nHome nRuns nRBI nBB

84.00 4.00 49.00 38.00 13.00

136.00 9.00 69.00 58.00 40.00

150.00 20.00 85.00 74.00 64.00

170.00 26.00 98.00 97.00 77.00

238.00 40.00 130.00 113.00 105.00

West

Missing

19

nHits nHome nRuns nRBI nBB

39.00 0.00 17.00 15.00 11.00

47.00 4.00 25.00 26.00 22.00

80.00 7.00 40.00 36.00 33.00

98.00 9.00 57.00 46.00 46.00

160.00 35.00 86.00 94.00 87.00

First Quartile

25

nHits nHome nRuns nRBI nBB

39.00 0.00 13.00 8.00 7.00

60.00 3.00 26.00 24.00 16.00

102.00 5.00 53.00 35.00 29.00

118.00 17.00 58.00 54.00 52.00

172.00 33.00 85.00 117.00 71.00

Second Quartile

19

nHits nHome nRuns nRBI nBB

41.00 0.00 17.00 15.00 3.00

61.00 4.00 23.00 29.00 18.00

96.00 7.00 50.00 45.00 34.00

126.00 18.00 76.00 58.00 52.00

223.00 31.00 119.00 107.00 88.00

Third Quartile

15

nHits nHome nRuns nRBI nBB

77.00 3.00 35.00 29.00 16.00

83.00 5.00 45.00 47.00 31.00

114.00 13.00 65.00 51.00 47.00

154.00 18.00 74.00 58.00 68.00

169.00 28.00 88.00 94.00 92.00

Fourth Quartile

12

nHits nHome nRuns nRBI nBB

91.00 9.00 41.00 42.00 22.00

129.50 15.00 69.00 59.00 36.00

142.00 19.50 74.50 74.00 52.00

168.50 24.50 82.50 93.00 64.00

171.00 34.00 91.00 108.00 90.00

National

East

Missing

11

nHits nHome nRuns nRBI nBB

31.00 0.00 12.00 13.00 14.00

37.00 2.00 18.00 19.00 20.00

55.00 5.00 21.00 23.00 27.00

69.00 8.00 32.00 37.00 30.00

194.00 14.00 91.00 62.00 78.00

First Quartile

17

nHits nHome nRuns nRBI nBB

37.00 0.00 18.00 8.00 18.00

57.00 1.00 30.00 29.00 21.00

76.00 6.00 38.00 36.00 26.00

96.00 12.00 56.00 48.00 36.00

145.00 17.00 94.00 68.00 65.00

Second Quartile

13

nHits nHome nRuns nRBI nBB

43.00 1.00 21.00 17.00 15.00

54.00 4.00 29.00 27.00 30.00

70.00 7.00 38.00 33.00 36.00

127.00 10.00 62.00 45.00 57.00

167.00 23.00 89.00 88.00 61.00

Third Quartile

17

nHits nHome nRuns nRBI nBB

65.00 1.00 30.00 18.00 22.00

94.00 7.00 48.00 36.00 27.00

113.00 11.00 50.00 58.00 37.00

145.00 15.00 67.00 76.00 44.00

178.00 21.00 90.00 84.00 60.00

Fourth Quartile

14

nHits nHome nRuns nRBI nBB

55.00 0.00 34.00 23.00 32.00

123.00 9.00 56.00 52.00 45.00

136.50 13.00 66.50 69.50 64.50

159.00 21.00 81.00 93.00 74.00

186.00 37.00 107.00 119.00 94.00

West

Missing

12

nHits nHome nRuns nRBI nBB

44.00 0.00 14.00 12.00 11.00

55.50 2.00 23.50 17.00 14.00

70.00 4.00 31.00 28.00 22.00

84.00 9.50 40.50 36.50 33.00

141.00 27.00 70.00 87.00 52.00

First Quartile

14

nHits nHome nRuns nRBI nBB

32.00 0.00 16.00 22.00 8.00

58.00 5.00 26.00 25.00 15.00

83.50 6.00 33.50 31.00 26.00

108.00 7.00 55.00 41.00 34.00

210.00 11.00 91.00 56.00 59.00

Second Quartile

17

nHits nHome nRuns nRBI nBB

52.00 1.00 26.00 15.00 12.00

68.00 4.00 31.00 28.00 22.00

78.00 7.00 36.00 37.00 33.00

102.00 16.00 49.00 52.00 41.00

152.00 31.00 97.00 101.00 68.00

Third Quartile

21

nHits nHome nRuns nRBI nBB

32.00 0.00 14.00 25.00 12.00

77.00 4.00 34.00 36.00 30.00

110.00 8.00 47.00 44.00 38.00

135.00 15.00 62.00 56.00 63.00

211.00 26.00 107.00 96.00 83.00

Fourth Quartile

11

nHits nHome nRuns nRBI nBB

42.00 3.00 17.00 14.00 15.00

106.00 8.00 38.00 33.00 23.00

133.00 12.00 57.00 70.00 55.00

158.00 21.00 89.00 81.00 73.00

174.00 31.00 89.00 116.00 84.00

Breakdown of Players by Position and Position by Salary

Position(s) Played

Position

Frequency

Percent

Cumulative Frequency

Cumulative Percent

13

1

0.31

1

0.31

1B

31

9.63

32

9.94

1O

1

0.31

33

10.25

23

1

0.31

34

10.56

2B

31

9.63

65

20.19

2S

1

0.31

66

20.50

32

1

0.31

67

20.81

3B

32

9.94

99

30.75

3O

1

0.31

100

31.06

3S

3

0.93

103

31.99

C

40

12.42

143

44.41

CD

1

0.31

144

44.72

CF

26

8.07

170

52.80

CS

1

0.31

171

53.11

DH

16

4.97

187

58.07

DO

2

0.62

189

58.70

LF

25

7.76

214

66.46

O1

4

1.24

218

67.70

OD

1

0.31

219

68.01

OF

30

9.32

249

77.33

OS

2

0.62

251

77.95

RF

26

8.07

277

86.02

S3

1

0.31

278

86.34

SS

30

9.32

308

95.65

UT

14

4.35

322

100.00

Breakdown of Players by Position and Position by Salary

Table of Position by Salary

Position(Position(s) Played)

Salary(Salary (Thousands of Dollars))

Frequency Percent Row Pct Col Pct

Missing

First Quartile

Second Quartile

Third Quartile

Fourth Quartile

Total

13

1 0.31 100.00 1.69

0 0.00 0.00 0.00

0 0.00 0.00 0.00

0 0.00 0.00 0.00

0 0.00 0.00 0.00

1 0.31

1B

7 2.17 22.58 11.86

6 1.86 19.35 8.96

3 0.93 9.68 4.48

5 1.55 16.13 7.46

10 3.11 32.26 16.13

31 9.63

1O

0 0.00 0.00 0.00

1 0.31 100.00 1.49

0 0.00 0.00 0.00

0 0.00 0.00 0.00

0 0.00 0.00 0.00

1 0.31

23

0 0.00 0.00 0.00

0 0.00 0.00 0.00

1 0.31 100.00 1.49

0 0.00 0.00 0.00

0 0.00 0.00 0.00

1 0.31

2B

5 1.55 16.13 8.47

5 1.55 16.13 7.46

5 1.55 16.13 7.46

12 3.73 38.71 17.91

4 1.24 12.90 6.45

31 9.63

2S

0 0.00 0.00 0.00

0 0.00 0.00 0.00

1 0.31 100.00 1.49

0 0.00 0.00 0.00

0 0.00 0.00 0.00

1 0.31

32

0 0.00 0.00 0.00

0 0.00 0.00 0.00

1 0.31 100.00 1.49

0 0.00 0.00 0.00

0 0.00 0.00 0.00

1 0.31

3B

2 0.62 6.25 3.39

8 2.48 25.00 11.94

5 1.55 15.63 7.46

7 2.17 21.88 10.45

10 3.11 31.25 16.13

32 9.94

3O

0 0.00 0.00 0.00

0 0.00 0.00 0.00

0 0.00 0.00 0.00

1 0.31 100.00 1.49

0 0.00 0.00 0.00

1 0.31

3S

0 0.00 0.00 0.00

0 0.00 0.00 0.00

3 0.93 100.00 4.48

0 0.00 0.00 0.00

0 0.00 0.00 0.00

3 0.93

C

10 3.11 25.00 16.95

9 2.80 22.50 13.43

5 1.55 12.50 7.46

8 2.48 20.00 11.94

8 2.48 20.00 12.90

40 12.42

CD

0 0.00 0.00 0.00

0 0.00 0.00 0.00

1 0.31 100.00 1.49

0 0.00 0.00 0.00

0 0.00 0.00 0.00

1 0.31

CF

3 0.93 11.54 5.08

5 1.55 19.23 7.46

6 1.86 23.08 8.96

6 1.86 23.08 8.96

6 1.86 23.08 9.68

26 8.07

CS

1 0.31 100.00 1.69

0 0.00 0.00 0.00

0 0.00 0.00 0.00

0 0.00 0.00 0.00

0 0.00 0.00 0.00

1 0.31

DH

5 1.55 31.25 8.47

1 0.31 6.25 1.49

4 1.24 25.00 5.97

4 1.24 25.00 5.97

2 0.62 12.50 3.23

16 4.97

DO

0 0.00 0.00 0.00

0 0.00 0.00 0.00

2 0.62 100.00 2.99

0 0.00 0.00 0.00

0 0.00 0.00 0.00

2 0.62

LF

5 1.55 20.00 8.47

8 2.48 32.00 11.94

4 1.24 16.00 5.97

4 1.24 16.00 5.97

4 1.24 16.00 6.45

25 7.76

O1

0 0.00 0.00 0.00

2 0.62 50.00 2.99

2 0.62 50.00 2.99

0 0.00 0.00 0.00

0 0.00 0.00 0.00

4 1.24

OD

0 0.00 0.00 0.00

0 0.00 0.00 0.00

1 0.31 100.00 1.49

0 0.00 0.00 0.00

0 0.00 0.00 0.00

1 0.31

OF

8 2.48 26.67 13.56

6 1.86 20.00 8.96

9 2.80 30.00 13.43

4 1.24 13.33 5.97

3 0.93 10.00 4.84

30 9.32

OS

0 0.00 0.00 0.00

2 0.62 100.00 2.99

0 0.00 0.00 0.00

0 0.00 0.00 0.00

0 0.00 0.00 0.00

2 0.62

RF

4 1.24 15.38 6.78

2 0.62 7.69 2.99

2 0.62 7.69 2.99

7 2.17 26.92 10.45

11 3.42 42.31 17.74

26 8.07

S3

0 0.00 0.00 0.00

0 0.00 0.00 0.00

0 0.00 0.00 0.00

0 0.00 0.00 0.00

1 0.31 100.00 1.61

1 0.31

SS

4 1.24 13.33 6.78

11 3.42 36.67 16.42

6 1.86 20.00 8.96

6 1.86 20.00 8.96

3 0.93 10.00 4.84

30 9.32

UT

4 1.24 28.57 6.78

1 0.31 7.14 1.49

6 1.86 42.86 8.96

3 0.93 21.43 4.48

0 0.00 0.00 0.00

14 4.35

Total

59 18.32

67 20.81

67 20.81

67 20.81

62 19.25

322 100.00

Listing of Selected 1986 Players

Included: Players with Salaries of at least $1,000,000 or who played for the Chicago Cubs

Last Name

First Name

Position(s) Played

League at the end of 1986

Division at the end of 1986

Team at the end of 1986

Salary (Thousands of Dollars)

# of Hits in 1986

Murray

Eddie

1B

American

East

Baltimore

$2,460.000

151

Ripken

Cal

SS

American

East

Baltimore

$1,350.000

177

Rice

Jim

LF

American

East

Boston

$2,412.500

200

Boggs

Wade

3B

American

East

Boston

$1,600.000

207

Thornton

Andre

DH

American

East

Cleveland

$1,100.000

92

Gibson

Kirk

RF

American

East

Detroit

$1,300.000

118

Molitor

Paul

3B

American

East

Milwaukee

$1,260.000

123

Yount

Robin

CF

American

East

Milwaukee

$1,000.000

163

Mattingly

Don

1B

American

East

New York

$1,975.000

238

Winfield

Dave

RF

American

East

New York

$1,861.460

148

Henderson

Rickey

CF

American

East

New York

$1,670.000

160

Griffey

Ken

OF

American

East

New York

$1,000.000

150

Barfield

Jesse

RF

American

East

Toronto

$1,237.500

170

Bell

George

LF

American

East

Toronto

$1,175.000

198

Brett

George

3B

American

West

Kansas City

$1,500.000

128

Wilson

Willie

CF

American

West

Kansas City

$1,000.000

170

Hrbek

Kent

1B

American

West

Minneapolis

$1,310.000

147

Lansford

Carney

3B

American

West

Oakland

$1,200.000

168

Durham

Leon

1B

National

East

Chicago

$1,183.333

127

Cey

Ron

3B

National

East

Chicago

$1,050.000

70

Moreland

Keith

RF

National

East

Chicago

$1,043.333

159

Davis

Jody

C

National

East

Chicago

$1,008.333

132

Sandberg

Ryne

2B

National

East

Chicago

$740.000

178

Matthews

Gary

LF

National

East

Chicago

$733.333

96

Dernier

Bob

CF

National

East

Chicago

$708.333

73

Mumphrey

Jerry

OF

National

East

Chicago

$600.000

94

Lopes

Davey

3O

National

East

Chicago

$450.000

70

Speier

Chris

3S

National

East

Chicago

$275.000

44

Dunston

Shawon

SS

National

East

Chicago

$155.000

145

Carter

Gary

C

National

East

New York

$1,925.571

125

Hernandez

Keith

1B

National

East

New York

$1,800.000

171

Strawberry

Darryl

RF

National

East

New York

$1,220.000

123

Schmidt

Mike

3B

National

East

Philadelphia

$2,127.333

160

Hayes

Von

1B

National

East

Philadelphia

$1,300.000

186

Pena

Tony

C

National

East

Pittsburgh

$1,150.000

147

Smith

Ozzie

SS

National

East

St Louis

$1,940.000

144

Clark

Jack

1B

National

East

St Louis

$1,300.000

55

Murphy

Dale

CF

National

West

Atlanta

$1,900.000

163

Parker

Dave

RF

National

West

Cincinnati

$1,041.667

174

Garvey

Steve

1B

National

West

San Diego

$1,450.000

142

$51,512.696

5,686

Last Name

First Name

Position(s) Played

# of Home Runs in 1986

# of Runs in 1986

# of RBIs in 1986

# of Walks in 1986

Murray

Eddie

1B

17

61

84

78

Ripken

Cal

SS

25

98

81

70

Rice

Jim

LF

20

98

110

62

Boggs

Wade

3B

8

107

71

105

Thornton

Andre

DH

17

49

66

65

Gibson

Kirk

RF

28

84

86

68

Molitor

Paul

3B

9

62

55

40

Yount

Robin

CF

9

82

46

62

Mattingly

Don

1B

31

117

113

53

Winfield

Dave

RF

24

90

104

77

Henderson

Rickey

CF

28

130

74

89

Griffey

Ken

OF

21

69

58

35

Barfield

Jesse

RF

40

107

108

69

Bell

George

LF

31

101

108

41

Brett

George

3B

16

70

73

80

Wilson

Willie

CF

9

77

44

31

Hrbek

Kent

1B

29

85

91

71

Lansford

Carney

3B

19

80

72

39

Durham

Leon

1B

20

66

65

67

Cey

Ron

3B

13

42

36

44

Moreland

Keith

RF

12

72

79

53

Davis

Jody

C

21

61

74

41

Sandberg

Ryne

2B

14

68

76

46

Matthews

Gary

LF

21

49

46

60

Dernier

Bob

CF

4

32

18

22

Mumphrey

Jerry

OF

5

37

32

26

Lopes

Davey

3O

7

49

35

43

Speier

Chris

3S

6

21

23

15

Dunston

Shawon

SS

17

66

68

21

Carter

Gary

C

24

81

105

62

Hernandez

Keith

1B

13

94

83

94

Strawberry

Darryl

RF

27

76

93

72

Schmidt

Mike

3B

37

97

119

89

Hayes

Von

1B

19

107

98

74

Pena

Tony

C

10

56

52

53

Smith

Ozzie

SS

0

67

54

79

Clark

Jack

1B

9

34

23

45

Murphy

Dale

CF

29

89

83

75

Parker

Dave

RF

31

89

116

56

Garvey

Steve

1B

21

58

81

23

741

2,978

2,903

2,295