You are on page 1of 6

Nash Vs.

Zucc

data pulled from hockey-reference.com

The purpose of this analysis is to compare the shots made between Nash and
Zucc for games played together in the 2015/2016 season. Data collected are from
game 1 to game 33.
Here is the original data frame. For Nash, games 13 and 14 have been removed.
Data for which Nash and Zucc play together is the data of interest for this
project.
vss
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31

Date
2015-10-07
2015-10-09
2015-10-10
2015-10-13
2015-10-15
2015-10-18
2015-10-19
2015-10-22
2015-10-24
2015-10-25
2015-10-30
2015-11-03
2015-11-10
2015-11-12
2015-11-14
2015-11-15
2015-11-19
2015-11-21
2015-11-23
2015-11-25
2015-11-27
2015-11-28
2015-11-30
2015-12-02
2015-12-03
2015-12-06
2015-12-09
2015-12-11
2015-12-12
2015-12-15
2015-12-17

Tm
NYR
NYR
NYR
NYR
NYR
NYR
NYR
NYR
NYR
NYR
NYR
NYR
NYR
NYR
NYR
NYR
NYR
NYR
NYR
NYR
NYR
NYR
NYR
NYR
NYR
NYR
NYR
NYR
NYR
NYR
NYR

X Opp Nash Zucc


@ CHI
4
0
@ CBJ
1
4
CBJ
5
2
WPG
5
5
@ MTL
4
1
NJD
1
1
SJS
4
1
ARI
4
2
@ PHI
3
5
CGY
1
0
TOR
1
4
WSH
0
1
CAR
4
0
STL
1
3
@ OTT
2
3
TOR
3
1
@ TBL
4
2
@ FLA
10
2
NSH
1
0
MTL
5
3
@ BOS
3
0
PHI
3
1
CAR
4
1
@ NYI
3
0
COL
1
3
OTT
1
0
@ VAN
1
2
@ EDM
5
1
@ CGY
4
2
EDM
4
3
@ MIN
1
0

Reformating the data to compare shots made, the data frame transforms to:
vssk.long
##
## 1

Player shots.made
Nash
4
2

##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##

2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55

Nash
Nash
Nash
Nash
Nash
Nash
Nash
Nash
Nash
Nash
Nash
Nash
Nash
Nash
Nash
Nash
Nash
Nash
Nash
Nash
Nash
Nash
Nash
Nash
Nash
Nash
Nash
Nash
Nash
Nash
Zucc
Zucc
Zucc
Zucc
Zucc
Zucc
Zucc
Zucc
Zucc
Zucc
Zucc
Zucc
Zucc
Zucc
Zucc
Zucc
Zucc
Zucc
Zucc
Zucc
Zucc
Zucc
Zucc
Zucc

1
5
5
4
1
4
4
3
1
1
0
4
1
2
3
4
10
1
5
3
3
4
3
1
1
1
5
4
4
1
0
4
2
5
1
1
1
2
5
0
4
1
0
3
3
1
2
2
0
3
0
1
1
0
3

##
##
##
##
##
##
##

56
57
58
59
60
61
62

Zucc
Zucc
Zucc
Zucc
Zucc
Zucc
Zucc

3
0
2
1
2
3
0

We begin by constructing histograms and boxplots of the shots made for each
player.
The histogram tells us that Nash frequently makes anywhere between 2 and 5
shots per game, while Zucc tends to be on the lower end of shots per game.
10.0

count

7.5

Player
Nash

5.0

Zucc

2.5

0.0
0

shots.made

The Boxplots show that the average between the two players is about 2.3 (shown
by the blue dashed line), and that Nash on average makes between 2 and 4 shots
per game, while Zucc on average makes between 1 and 2 shots per game.

Number of Shots Made

Shots Made w/Nash & Zucc playing same game


10.00
9.75
9.50
9.25
9.00
8.75
8.50
8.25
8.00
7.75
7.50
7.25
7.00
6.75
6.50
6.25
6.00
5.75
5.50
5.25
5.00
4.75
4.50
4.25
4.00
3.75
3.50
3.25
3.00
2.75
2.50
2.25
2.00
1.75
1.50
1.25
1.00
0.75
0.50
0.25
0.00
Nash

Zucc

Player

What does this tell us? Nash is averaging 3 shots per game, which happens
to be the median of shots taken as well; while Zucc is averaging 1.7 shots per
game, with a median of one shot per game. Any values outside the red bars are
unlikely occurences.
The low p-value from the table below shows that the number of shots made
between players is significantly different. This test compares the mean number
of shots for each player.
fit.v <- aov(shots.made ~ Player, data = vssk.long)
summary(fit.v)
##
##
##
##
##

Df Sum Sq Mean Sq F value Pr(>F)


Player
1 25.81 25.806
8.048 0.0062 **
Residuals
60 192.39
3.206
--Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

Conclusion:
Nash takes more shots than Zucc, more frequently. This is true when Nash and
Zucc are playing together.

You might also like