SlideShare a Scribd company logo
PROJECTWORK 2020
TOPIC: COMPARISON OF TOP ORDER
BATSMAN IN HOME AND AWAY
CONDITION
Presented by
Pankaj Chowdhury
Bsc Sem-6
DEPARTMENTOF STATISTICS
SIKSHABHAVANA
VISVA BHARATI
SHANTINIKETAN
Born
5 November
1988 (age 31)
Delhi
Chikoo
1.75 m (5 ft 9 in)
Right-handed
Right-arm
medium
Nickname
Height
Batting
Bowling
Role top
(order
batsman)
Born
Full name Rohit Gurunath Sharma
30 April 1987 (age 33)
Nagpur
Nickname Shaana, Hitman, Ro
Batting Right-handed
Bowling Right-arm off break
Born
5 December 1985 (age 34)
Delhi
Nickname Gabbar
Height
Batting
1.80 m (5 ft 11 in)
Left-handed
Bowling Right-arm off spin
Role Opening batsman
ACKNOWLEDGEME
NTThe satisfaction and euphoria that accompany
the successful completion of any task would be
incomplete without mentioning the people who
made it possible whose consistent guidance
and encouragement crowned the effort with
success.
Fist of all , I am thankful to our project
supervisor
– Mr Tirthankar Ghosh ,under whose guidance I
am able to complete our project . I am
wholeheartedly thankful to him for giving me his
valuable to time and attention and providing me
a systematic way for completing our project in
time.
Also I will like to thank my friends,seniors,and
lab maintenance staff and everyone who has
helped me in completing this project.
Thank You.
INTRODUCTIO
N
AIM
To understand and compare the different
parameters in the field of cricket with the help
of statistical software like Microsoft Excel and
R .OBJECTIV
E
For carrying out the project the following objectives
have been formulated :
To learn the use of software for doing statistical
analysis.
To prepare hypothesis in order to compare the
home
and away match performance of different
cricketers of India .
Literature
Indian cricket team isoneof the mostsuccessfulteam
among all International cricket playing nations.
Traditionally India ismuchstronger at home than abroad,
the Indian team hasimproved its overseas from
,especially in limited-overs cricket, sincethe start of the
21stcentury ,winning test matches in Australia, England
and SouthAfrica.
Asof 10February 2020, India ranked 1stin test, 2nd in ODI,
4th in T20 byICC.
In this content I will discussthe batting performances of
Indian top three batsman in home and overseas matches
in recent two years .
Opener 1 :
Rohit Sharma
Opener 2:
Shikhar Dhawan
First down :
Virat Kohli
Source and description of the
data
Source of data
The data iscollected from
https://stats.espncricinfo.com,updated on 20th
February,2020.
Description of data
The data isgiven with individual away,home
match scoresof Virat Kohli , RohitSharma
,Shikhar Sharma.
We describe the whole data one by one and
graphical representation.
The data used in the analysis is given
below :
Name of the player
:
Virat kohli
Home match Away match
46
132
105
27
3
17
89
24
84
16
66
119
13
71
19
63
114
11
36
108
51
120
89
107
67
6
87
107
76
146
110
135
2
69
23
46
22
59
74
171
Name of the player
:
Shikhar Dhawan
Home match Away match
36
64
34
99
7
23
26
38
47
45
12
17
95
35
47
0
47
19
3
23
89
70
26
61
12
12
94
48
33
55
88
46
39
17
16
63
1
46
88
44
Name of the player
:
Rohit Sharma
Home match Away match
192
42
116
99
150
65
98
65
45
88
17
75
55
31
24
63
129
99
41
138
6
10
28
94
77
39
93
38
85
90
60
8
80
60
50
83
3
138
37
38
Objective of the data
:Here I want to test a player is equally efficient in home match and away match or not.
So,here we can use statistical tools to compare their mean performance in home and away
matches.
A well known test to compare two means is paired t-test when they have equal number of
sample size.
Statistical Analysis :
Let,
H0:the mean of two samples are
equal. vs
H1:the means are not equal.
Before we conduct the t-test we should test whether the two data have same variances by F-
test and for normality checking we can use Shapiro-wilk test.
Suppose there is n samples for home and away match each .
Let ,x(i) be the i th observation of home
match y(i) be the i th observation of away
match .
𝑚 𝑥 =mean of scores in home matches
𝑚 𝑦 = mean of scores in away matches
t=(𝑚 𝑥 -𝑚 𝑦 ) /√𝑆2(1/𝑛 𝑦 + 1/𝑛 𝑦 )
𝑆2=(∑(𝑥 − 𝑚 𝑥 )2 + ∑(𝑦 − 𝑚 𝑦 )2)/( 𝑛𝑥+ 𝑛𝑦-2)
The df is = 𝑛𝑥+ 𝑛𝑦-2
If the absolute value of t test statistics |t| is greater than the critical value ,then the
difference is significant . otherwise itisn’t .
The Shapiro-Wilk test is a way to tell if a random sample comes from a normal distribution. The
test gives you a W value; small values indicate your sample is not normally distributed (you can
reject the null hypothesis that your population is normally distributed if your values are under a
certain threshold). The formula for the W value is:
where:
xi are the ordered random sample values
ai are constants generated from the covariances, variances and means of the sample (size n) from
a normally distributed sample.
The test has limitations, most importantly that the test has a bias by sample size. The larger the
sample, the more likely you’ll get a statistically significat result
Let X1, ..., Xn and Y1, ..., Ym be samples from two populations which each has normal distribution.
The expected values.for the two populations can be different, and the hypothesis to be tested is
that the variances are equal. Let
𝑋 = ∑ 𝑛 𝑋𝑖/n; 𝑌= ∑ 𝑛 𝑌𝑖/n
𝑖=1 𝑖=1
be the sample means Let
2
y
2‫﷩‬‫﷩‬‫﷩‬S2
= 1
∑n (X − X) ,S=
x i=1 i(n−1) (n−1)
1
(Y − Y)2∑n
i=1 i
be the sample variences Then the test statistic
S2
xS2F= y
;
has an F distribution with n − 1 and m − 1 degrees of freedom if the null hypothesis of equality
of variances is true. Otherwise it follows an F-distribution scaled by the ratio of true variances.
The null hypothesis is rejected if F is either too large or too small based on the desired alpha
level
Test for this experiment:(Virat Kohli)
Shapiro-Wilk normality test
𝐻𝑜: the data follows normality .
𝐻1: the data is not following normal distribution.
Data: Virat Kohli HOME
W = 0.91069 p-value = 0.06571
Data: Virat Kohli AWAY
W = 0.98051, p-value = 0.9406
As p values in both the cases (>0.05), so data follows normal
distribution .
F testℎ 𝑎𝑆2,𝑆2are the sample variances of home and away
matches.
ℎ 𝑎𝐻𝑜: 𝑆2=𝑆2
ℎ 𝑎𝐻1: 𝑆2≠ 𝑆2
F = 0.83414, num df = 19, denom df = 19, p-value = 0.6967 alternative hypothesis: true
ratio of variances is not equal to 1
95 percent confidence interval:
0.3301624 2.1074118
sample estimates:
ratio of variances
0.834139
As p values in the case(>0.05), so data those two samples have
equal variances .
t-test
𝐻 ,𝐴are the mean of home and away match of Virat Kohli
𝐻𝑜: 𝐻 =𝐴;
𝐻1: 𝐻 ≠ 𝐴;
t = -1.4421,
df = 38,
p-value =0.1575
alternative hypothesis: true difference in means is not equal to 0
95 percent confidence interval:
-48.555803 8.155803
sample estimates:
mean of H:58.15
mean of A:78.35
As p values in the case(>0.05), so the mean of the home and away match
can not differ to each other .
barplot of virat's home match
020406080100120
barplot of virat's away match
050100150
home away
virat's avarage run comparison
run
0204060
Test for this experiment:(Shikhar
Dhawan)
Shapiro-Wilk normality test
𝐻𝑜: the data follows normality .
𝐻1: the data is not following normal distribution.
Data: Shikhar Dhawan HOME
W = 0.90533, p-value = 0.05195
Data: Shikhar Dhawan AWAY
W = 0.94757, p-value = 0.3317
As p values in both the cases (>0.05), so data follows normal
distribution .
F test
𝑆2,𝑆2are the sample variances of home and away matches.
ℎ 𝑎
𝐻𝑜 : 𝑆2 =𝑆2
ℎ 𝑎
𝐻1 : 𝑆2 ≠ 𝑆2
ℎ 𝑎
F = 0.87496, num df = 19, denomdf
= 19, p-value = 0.7739
alternative hypothesis: true ratio of variances is not equal to 1
95 percent confidence interval:
0.3463191 2.2105387
sample estimates:
ratio of variances
0.8749581
As p values in the case(>0.05), so data those two samples have
equal variances .
t-test
𝐻 ,𝐴are the mean of home and away match of Shikhar Dhawan
𝐻𝑜: 𝐻 =𝐴;
𝐻1: 𝐻 ≠ 𝐴;
t = -1.32, df = 38, p-value = 0.1947
alternative hypothesis: true difference in means is not equal to 0
95 percent confidence interval:
-29.263327 6.163327
sample estimates:
mean of H:35.85
mean of A:47.70
As p values in the case(>0.05), so the mean of the home and away match
can not differ to each other .
barplot of shikhars's home match
020406080
barplot of shikhars's away match
020406080
home away
shikhar dhawan's avarage run comparison
run
010203040
Test for this experiment:(Rohit
Sharma)Shapiro-Wilk normality test
𝐻𝑜: the data follows normality .
𝐻1: the data is not following normal distribution.
Data: Rohit Sharma HOME
W = 0.95311, p-value = 0.4168
Data: Rohit Sharma AWAY
W = 0.94808, p-value = 0.3389
As p values in both the cases (>0.05), so data follows normal
distribution .
F test
𝑆2,𝑆2are the sample variances of home and away matches.
ℎ 𝑎
𝐻𝑜 : 𝑆2 =𝑆2
ℎ 𝑎
𝐻1 : 𝑆2 ≠ 𝑆2
ℎ 𝑎
F = 1.6157, num df = 19, denom df = 19, p-value = 0.3043 alternative hypothesis: true
ratio of variances is not equal to 1
95 percent confidence interval:
0.6395158 4.0819999
sample estimates:
ratio of variances
1.615705
As p values in the case(>0.05), so data those two samples have
equal variances .
t-test
𝐻 ,𝐴are the mean of home and away match of Rohit Sharma
𝐻𝑜: 𝐻 =𝐴;
𝐻1: 𝐻 ≠ 𝐴;
t = 1.9567
df = 38
p-value = 0.05776
alternative hypothesis: true difference in means is not equal to 0
95 percent confidence interval:
-0.8903839 52.3903839
sample estimates:
mean of x : 81.60
mean of y: 55.85
barplot of rohit's home match
050100150
barplot of rohit's away match
020406080100120
home away
rohit's avarage run comparison
run
020406080
Rcode
Virat Kohli
vi=read.csv("C:/Users/hp/Desktop/project
work/virat.csv",header=T) vi
vix=vi$home
viy=vi$awa
y vix
viy
p=data.frame(vix,vi
y) p
shapiro.test(vi
x)
shapiro.test(vi
y)
var.test(vix,viy,alternative="two.sided")
t.test(vix,viy,alternative = "two.sided",var.equal =
TRUE) summary(vix)
summary(viy)
par(mfrow=c(2,1
))
barplot(vix,main="barplot of virat's home match",horiz
=F ) barplot(viy,main="barplot of virat's away
match",horiz = F) mvix=mean(vix)
mviy=mean(viy)
mvi=c(mvix,mvi
y)
barplot(mvi,horiz=F,col="red",ylab="run",names.arg=c("home","aw
ay"))
Rohit Sharma
rh=read.csv("C:/Users/hp/Desktop/project
work/rohit.csv",header=T) rh
rhx=rh$hom
e
rhy=rh$awa
y rhx
rhy
p=data.frame(rhx,rh
y) p
shapiro.test(rhx
)
shapiro.test(rhy
)
var.test(rhx,rhy,alternative="two.sided")
t.test(rhx,rhy,alternative = "two.sided",var.equal =
TRUE)
summary(rhx)
summary(rhy)
par(mfrow=c(2,1
))
barplot(rhx,main="barplot of virat's home match",horiz
=F ) barplot(rhy,main="barplot of virat's away
match",horiz = F) mrhx=mean(rhx)
mrhy=mean(rhy)
mrh=c(mrhx,mrh
Shikhar Dhawan
sh=read.csv("C:/Users/hp/Desktop/project work/shikhar.csv",header
= T) sh
shx=sh$home
shy=sh$aw
ay shx
shy
p=data.frame(shx,sh
y) p
shapiro.test(sh
x)
shapiro.test(sh
y)
var.test(shx,shy,alternative="two.sided")
t.test(shx,shy,alternative = "two.sided",var.equal =
TRUE) summary(shx)
summary(shy)
par(mfrow=c(2,1
))
barplot(shx,main="barplot of shikhars's home match",horiz =F )
barplot(shy,main="barplot of shikhars's away match",horiz
= F) mshx=mean(shx)
mshy=mean(shy)
msh=c(mshx,msh
y)
barplot(msh,horiz=F,col="red",ylab="run",names.arg=c("home","away"),main="shikhar
dhawan's avarage run comparison")
Conclusio
nThere is no difference in performance due to home match away match of Virat Kohli,
Shikhar Dhawan,Rohit Sharama.
By graphical representation we can see the average score of Rohit Sharma in home matches
is higher tham away match and for Virat Kohli and Shikhar Dhawan away match average
score is higher than home match.

More Related Content

What's hot

PROBABILITY DISTRIBUTION
PROBABILITY DISTRIBUTIONPROBABILITY DISTRIBUTION
PROBABILITY DISTRIBUTION
shahzadebaujiti
 
Indain hockey.ppt
Indain hockey.pptIndain hockey.ppt
Indain hockey.pptUday Meena
 
Hockey
HockeyHockey
Hockey
mfeltrinMCC
 
Sports and games
Sports and gamesSports and games
Sports and games
bkukuckova
 
Cricket
CricketCricket
SUNIL CHHETRI
SUNIL CHHETRISUNIL CHHETRI
SUNIL CHHETRI
Mubeena Shabeer
 
Hockey
HockeyHockey
The commonwealth games
The commonwealth gamesThe commonwealth games
The commonwealth gameslah32
 
Cricket basics
Cricket basicsCricket basics
Cricket basicsloles
 
cricket ppt
cricket pptcricket ppt
Normal approximation to the binomial distribution
Normal approximation to the binomial distributionNormal approximation to the binomial distribution
Normal approximation to the binomial distribution
Nadeem Uddin
 
Mathematics and sports
Mathematics and sportsMathematics and sports
Mathematics and sports
Marina Njers
 
The Art of Coaching
The Art of CoachingThe Art of Coaching
The Art of Coaching
Wayne Goldsmith
 
Ppt india world cup cricket wins
Ppt  india world cup cricket winsPpt  india world cup cricket wins
Ppt india world cup cricket wins
Abhishek Abhi
 
Understanding the Z- score (Application on evaluating a Learner`s performance)
Understanding the Z- score (Application on evaluating a Learner`s performance)Understanding the Z- score (Application on evaluating a Learner`s performance)
Understanding the Z- score (Application on evaluating a Learner`s performance)
Lawrence Avillano
 
Zoom training 2
Zoom training 2Zoom training 2
Zoom training 2
Carole McCulloch
 
The history of field hockey edu
The history of field hockey eduThe history of field hockey edu
The history of field hockey edu
giras1ea
 
Cricket
CricketCricket

What's hot (20)

PROBABILITY DISTRIBUTION
PROBABILITY DISTRIBUTIONPROBABILITY DISTRIBUTION
PROBABILITY DISTRIBUTION
 
Indain hockey.ppt
Indain hockey.pptIndain hockey.ppt
Indain hockey.ppt
 
Hockey
HockeyHockey
Hockey
 
Sports and games
Sports and gamesSports and games
Sports and games
 
Cricket
CricketCricket
Cricket
 
SUNIL CHHETRI
SUNIL CHHETRISUNIL CHHETRI
SUNIL CHHETRI
 
Hockey
HockeyHockey
Hockey
 
The commonwealth games
The commonwealth gamesThe commonwealth games
The commonwealth games
 
Cricket basics
Cricket basicsCricket basics
Cricket basics
 
cricket ppt
cricket pptcricket ppt
cricket ppt
 
Normal approximation to the binomial distribution
Normal approximation to the binomial distributionNormal approximation to the binomial distribution
Normal approximation to the binomial distribution
 
Mathematics and sports
Mathematics and sportsMathematics and sports
Mathematics and sports
 
The Art of Coaching
The Art of CoachingThe Art of Coaching
The Art of Coaching
 
Ppt india world cup cricket wins
Ppt  india world cup cricket winsPpt  india world cup cricket wins
Ppt india world cup cricket wins
 
Understanding the Z- score (Application on evaluating a Learner`s performance)
Understanding the Z- score (Application on evaluating a Learner`s performance)Understanding the Z- score (Application on evaluating a Learner`s performance)
Understanding the Z- score (Application on evaluating a Learner`s performance)
 
Zoom training 2
Zoom training 2Zoom training 2
Zoom training 2
 
Powerpoint football
Powerpoint footballPowerpoint football
Powerpoint football
 
The history of field hockey edu
The history of field hockey eduThe history of field hockey edu
The history of field hockey edu
 
Dhayan chand
Dhayan chandDhayan chand
Dhayan chand
 
Cricket
CricketCricket
Cricket
 

Similar to Statistics project on comparison of two batsmen

Stat 130 chi-square goodnes-of-fit test
Stat 130   chi-square goodnes-of-fit testStat 130   chi-square goodnes-of-fit test
Stat 130 chi-square goodnes-of-fit test
Aldrin Lozano
 
Statistik 1 11 15 edited_chi square
Statistik 1 11 15 edited_chi squareStatistik 1 11 15 edited_chi square
Statistik 1 11 15 edited_chi squareSelvin Hadi
 
Final examexamplesapr2013
Final examexamplesapr2013Final examexamplesapr2013
Final examexamplesapr2013
Brent Heard
 
Week8finalexamlivelecture dec2012
Week8finalexamlivelecture dec2012Week8finalexamlivelecture dec2012
Week8finalexamlivelecture dec2012
Brent Heard
 
Week8finalexamlivelecture april2012
Week8finalexamlivelecture april2012Week8finalexamlivelecture april2012
Week8finalexamlivelecture april2012
Brent Heard
 
Chisquared test.pptx
Chisquared test.pptxChisquared test.pptx
Chisquared test.pptx
Krishna Krish Krish
 
Chi square test
Chi square testChi square test
Chi square test evidence based dentistry
Chi square test evidence based dentistryChi square test evidence based dentistry
Chi square test evidence based dentistry
PiyushJain163909
 
Marketing Research Hypothesis Testing.pptx
Marketing Research Hypothesis Testing.pptxMarketing Research Hypothesis Testing.pptx
Marketing Research Hypothesis Testing.pptx
xababid981
 
chi square test lecture for nurses in pakistan
chi square test lecture for nurses in pakistanchi square test lecture for nurses in pakistan
chi square test lecture for nurses in pakistan
muhammad shahid
 
CHISQUAREgenetics.ppt
CHISQUAREgenetics.pptCHISQUAREgenetics.ppt
CHISQUAREgenetics.ppt
bashirlone123
 
K.A.Sindhura-t,z,f tests
K.A.Sindhura-t,z,f testsK.A.Sindhura-t,z,f tests
K.A.Sindhura-t,z,f tests
Sindhura Kopparthi
 
Hypothesis Testing
Hypothesis TestingHypothesis Testing
Hypothesis Testing
Kalyan Acharjya
 
Hypothesis testing Part1
Hypothesis testing Part1Hypothesis testing Part1
Hypothesis testing Part1
Akhila Prabhakaran
 
Stat2013
Stat2013Stat2013
Chi Square Goodness of fit test 2021 (2).pptx
Chi Square Goodness of fit test 2021 (2).pptxChi Square Goodness of fit test 2021 (2).pptx
Chi Square Goodness of fit test 2021 (2).pptx
lushomo3
 
ders 5 hypothesis testing.pptx
ders 5 hypothesis testing.pptxders 5 hypothesis testing.pptx
ders 5 hypothesis testing.pptx
Ergin Akalpler
 
Chi square[1]
Chi square[1]Chi square[1]
Chi square[1]
yogesh turkane
 
Hypothesis
HypothesisHypothesis
Hypothesis
Nilanjan Bhaumik
 

Similar to Statistics project on comparison of two batsmen (20)

Stat 130 chi-square goodnes-of-fit test
Stat 130   chi-square goodnes-of-fit testStat 130   chi-square goodnes-of-fit test
Stat 130 chi-square goodnes-of-fit test
 
Statistik 1 11 15 edited_chi square
Statistik 1 11 15 edited_chi squareStatistik 1 11 15 edited_chi square
Statistik 1 11 15 edited_chi square
 
Final examexamplesapr2013
Final examexamplesapr2013Final examexamplesapr2013
Final examexamplesapr2013
 
Week8finalexamlivelecture dec2012
Week8finalexamlivelecture dec2012Week8finalexamlivelecture dec2012
Week8finalexamlivelecture dec2012
 
Week8finalexamlivelecture april2012
Week8finalexamlivelecture april2012Week8finalexamlivelecture april2012
Week8finalexamlivelecture april2012
 
Chisquared test.pptx
Chisquared test.pptxChisquared test.pptx
Chisquared test.pptx
 
Chi square test
Chi square testChi square test
Chi square test
 
Chi square test evidence based dentistry
Chi square test evidence based dentistryChi square test evidence based dentistry
Chi square test evidence based dentistry
 
Marketing Research Hypothesis Testing.pptx
Marketing Research Hypothesis Testing.pptxMarketing Research Hypothesis Testing.pptx
Marketing Research Hypothesis Testing.pptx
 
chi square test lecture for nurses in pakistan
chi square test lecture for nurses in pakistanchi square test lecture for nurses in pakistan
chi square test lecture for nurses in pakistan
 
CHISQUAREgenetics.ppt
CHISQUAREgenetics.pptCHISQUAREgenetics.ppt
CHISQUAREgenetics.ppt
 
Nonparametric and Distribution- Free Statistics _contd
Nonparametric and Distribution- Free Statistics _contdNonparametric and Distribution- Free Statistics _contd
Nonparametric and Distribution- Free Statistics _contd
 
K.A.Sindhura-t,z,f tests
K.A.Sindhura-t,z,f testsK.A.Sindhura-t,z,f tests
K.A.Sindhura-t,z,f tests
 
Hypothesis Testing
Hypothesis TestingHypothesis Testing
Hypothesis Testing
 
Hypothesis testing Part1
Hypothesis testing Part1Hypothesis testing Part1
Hypothesis testing Part1
 
Stat2013
Stat2013Stat2013
Stat2013
 
Chi Square Goodness of fit test 2021 (2).pptx
Chi Square Goodness of fit test 2021 (2).pptxChi Square Goodness of fit test 2021 (2).pptx
Chi Square Goodness of fit test 2021 (2).pptx
 
ders 5 hypothesis testing.pptx
ders 5 hypothesis testing.pptxders 5 hypothesis testing.pptx
ders 5 hypothesis testing.pptx
 
Chi square[1]
Chi square[1]Chi square[1]
Chi square[1]
 
Hypothesis
HypothesisHypothesis
Hypothesis
 

Recently uploaded

Sample_Global Non-invasive Prenatal Testing (NIPT) Market, 2019-2030.pdf
Sample_Global Non-invasive Prenatal Testing (NIPT) Market, 2019-2030.pdfSample_Global Non-invasive Prenatal Testing (NIPT) Market, 2019-2030.pdf
Sample_Global Non-invasive Prenatal Testing (NIPT) Market, 2019-2030.pdf
Linda486226
 
Influence of Marketing Strategy and Market Competition on Business Plan
Influence of Marketing Strategy and Market Competition on Business PlanInfluence of Marketing Strategy and Market Competition on Business Plan
Influence of Marketing Strategy and Market Competition on Business Plan
jerlynmaetalle
 
一比一原版(Deakin毕业证书)迪肯大学毕业证如何办理
一比一原版(Deakin毕业证书)迪肯大学毕业证如何办理一比一原版(Deakin毕业证书)迪肯大学毕业证如何办理
一比一原版(Deakin毕业证书)迪肯大学毕业证如何办理
oz8q3jxlp
 
The affect of service quality and online reviews on customer loyalty in the E...
The affect of service quality and online reviews on customer loyalty in the E...The affect of service quality and online reviews on customer loyalty in the E...
The affect of service quality and online reviews on customer loyalty in the E...
jerlynmaetalle
 
06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...
06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...
06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...
Timothy Spann
 
Adjusting primitives for graph : SHORT REPORT / NOTES
Adjusting primitives for graph : SHORT REPORT / NOTESAdjusting primitives for graph : SHORT REPORT / NOTES
Adjusting primitives for graph : SHORT REPORT / NOTES
Subhajit Sahu
 
Machine learning and optimization techniques for electrical drives.pptx
Machine learning and optimization techniques for electrical drives.pptxMachine learning and optimization techniques for electrical drives.pptx
Machine learning and optimization techniques for electrical drives.pptx
balafet
 
【社内勉強会資料_Octo: An Open-Source Generalist Robot Policy】
【社内勉強会資料_Octo: An Open-Source Generalist Robot Policy】【社内勉強会資料_Octo: An Open-Source Generalist Robot Policy】
【社内勉強会資料_Octo: An Open-Source Generalist Robot Policy】
NABLAS株式会社
 
一比一原版(CBU毕业证)不列颠海角大学毕业证成绩单
一比一原版(CBU毕业证)不列颠海角大学毕业证成绩单一比一原版(CBU毕业证)不列颠海角大学毕业证成绩单
一比一原版(CBU毕业证)不列颠海角大学毕业证成绩单
nscud
 
一比一原版(爱大毕业证书)爱丁堡大学毕业证如何办理
一比一原版(爱大毕业证书)爱丁堡大学毕业证如何办理一比一原版(爱大毕业证书)爱丁堡大学毕业证如何办理
一比一原版(爱大毕业证书)爱丁堡大学毕业证如何办理
g4dpvqap0
 
一比一原版(ArtEZ毕业证)ArtEZ艺术学院毕业证成绩单
一比一原版(ArtEZ毕业证)ArtEZ艺术学院毕业证成绩单一比一原版(ArtEZ毕业证)ArtEZ艺术学院毕业证成绩单
一比一原版(ArtEZ毕业证)ArtEZ艺术学院毕业证成绩单
vcaxypu
 
Criminal IP - Threat Hunting Webinar.pdf
Criminal IP - Threat Hunting Webinar.pdfCriminal IP - Threat Hunting Webinar.pdf
Criminal IP - Threat Hunting Webinar.pdf
Criminal IP
 
原版制作(Deakin毕业证书)迪肯大学毕业证学位证一模一样
原版制作(Deakin毕业证书)迪肯大学毕业证学位证一模一样原版制作(Deakin毕业证书)迪肯大学毕业证学位证一模一样
原版制作(Deakin毕业证书)迪肯大学毕业证学位证一模一样
u86oixdj
 
My burning issue is homelessness K.C.M.O.
My burning issue is homelessness K.C.M.O.My burning issue is homelessness K.C.M.O.
My burning issue is homelessness K.C.M.O.
rwarrenll
 
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单
ewymefz
 
Levelwise PageRank with Loop-Based Dead End Handling Strategy : SHORT REPORT ...
Levelwise PageRank with Loop-Based Dead End Handling Strategy : SHORT REPORT ...Levelwise PageRank with Loop-Based Dead End Handling Strategy : SHORT REPORT ...
Levelwise PageRank with Loop-Based Dead End Handling Strategy : SHORT REPORT ...
Subhajit Sahu
 
Q1’2024 Update: MYCI’s Leap Year Rebound
Q1’2024 Update: MYCI’s Leap Year ReboundQ1’2024 Update: MYCI’s Leap Year Rebound
Q1’2024 Update: MYCI’s Leap Year Rebound
Oppotus
 
一比一原版(Coventry毕业证书)考文垂大学毕业证如何办理
一比一原版(Coventry毕业证书)考文垂大学毕业证如何办理一比一原版(Coventry毕业证书)考文垂大学毕业证如何办理
一比一原版(Coventry毕业证书)考文垂大学毕业证如何办理
74nqk8xf
 
一比一原版(UofS毕业证书)萨省大学毕业证如何办理
一比一原版(UofS毕业证书)萨省大学毕业证如何办理一比一原版(UofS毕业证书)萨省大学毕业证如何办理
一比一原版(UofS毕业证书)萨省大学毕业证如何办理
v3tuleee
 
做(mqu毕业证书)麦考瑞大学毕业证硕士文凭证书学费发票原版一模一样
做(mqu毕业证书)麦考瑞大学毕业证硕士文凭证书学费发票原版一模一样做(mqu毕业证书)麦考瑞大学毕业证硕士文凭证书学费发票原版一模一样
做(mqu毕业证书)麦考瑞大学毕业证硕士文凭证书学费发票原版一模一样
axoqas
 

Recently uploaded (20)

Sample_Global Non-invasive Prenatal Testing (NIPT) Market, 2019-2030.pdf
Sample_Global Non-invasive Prenatal Testing (NIPT) Market, 2019-2030.pdfSample_Global Non-invasive Prenatal Testing (NIPT) Market, 2019-2030.pdf
Sample_Global Non-invasive Prenatal Testing (NIPT) Market, 2019-2030.pdf
 
Influence of Marketing Strategy and Market Competition on Business Plan
Influence of Marketing Strategy and Market Competition on Business PlanInfluence of Marketing Strategy and Market Competition on Business Plan
Influence of Marketing Strategy and Market Competition on Business Plan
 
一比一原版(Deakin毕业证书)迪肯大学毕业证如何办理
一比一原版(Deakin毕业证书)迪肯大学毕业证如何办理一比一原版(Deakin毕业证书)迪肯大学毕业证如何办理
一比一原版(Deakin毕业证书)迪肯大学毕业证如何办理
 
The affect of service quality and online reviews on customer loyalty in the E...
The affect of service quality and online reviews on customer loyalty in the E...The affect of service quality and online reviews on customer loyalty in the E...
The affect of service quality and online reviews on customer loyalty in the E...
 
06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...
06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...
06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...
 
Adjusting primitives for graph : SHORT REPORT / NOTES
Adjusting primitives for graph : SHORT REPORT / NOTESAdjusting primitives for graph : SHORT REPORT / NOTES
Adjusting primitives for graph : SHORT REPORT / NOTES
 
Machine learning and optimization techniques for electrical drives.pptx
Machine learning and optimization techniques for electrical drives.pptxMachine learning and optimization techniques for electrical drives.pptx
Machine learning and optimization techniques for electrical drives.pptx
 
【社内勉強会資料_Octo: An Open-Source Generalist Robot Policy】
【社内勉強会資料_Octo: An Open-Source Generalist Robot Policy】【社内勉強会資料_Octo: An Open-Source Generalist Robot Policy】
【社内勉強会資料_Octo: An Open-Source Generalist Robot Policy】
 
一比一原版(CBU毕业证)不列颠海角大学毕业证成绩单
一比一原版(CBU毕业证)不列颠海角大学毕业证成绩单一比一原版(CBU毕业证)不列颠海角大学毕业证成绩单
一比一原版(CBU毕业证)不列颠海角大学毕业证成绩单
 
一比一原版(爱大毕业证书)爱丁堡大学毕业证如何办理
一比一原版(爱大毕业证书)爱丁堡大学毕业证如何办理一比一原版(爱大毕业证书)爱丁堡大学毕业证如何办理
一比一原版(爱大毕业证书)爱丁堡大学毕业证如何办理
 
一比一原版(ArtEZ毕业证)ArtEZ艺术学院毕业证成绩单
一比一原版(ArtEZ毕业证)ArtEZ艺术学院毕业证成绩单一比一原版(ArtEZ毕业证)ArtEZ艺术学院毕业证成绩单
一比一原版(ArtEZ毕业证)ArtEZ艺术学院毕业证成绩单
 
Criminal IP - Threat Hunting Webinar.pdf
Criminal IP - Threat Hunting Webinar.pdfCriminal IP - Threat Hunting Webinar.pdf
Criminal IP - Threat Hunting Webinar.pdf
 
原版制作(Deakin毕业证书)迪肯大学毕业证学位证一模一样
原版制作(Deakin毕业证书)迪肯大学毕业证学位证一模一样原版制作(Deakin毕业证书)迪肯大学毕业证学位证一模一样
原版制作(Deakin毕业证书)迪肯大学毕业证学位证一模一样
 
My burning issue is homelessness K.C.M.O.
My burning issue is homelessness K.C.M.O.My burning issue is homelessness K.C.M.O.
My burning issue is homelessness K.C.M.O.
 
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单
 
Levelwise PageRank with Loop-Based Dead End Handling Strategy : SHORT REPORT ...
Levelwise PageRank with Loop-Based Dead End Handling Strategy : SHORT REPORT ...Levelwise PageRank with Loop-Based Dead End Handling Strategy : SHORT REPORT ...
Levelwise PageRank with Loop-Based Dead End Handling Strategy : SHORT REPORT ...
 
Q1’2024 Update: MYCI’s Leap Year Rebound
Q1’2024 Update: MYCI’s Leap Year ReboundQ1’2024 Update: MYCI’s Leap Year Rebound
Q1’2024 Update: MYCI’s Leap Year Rebound
 
一比一原版(Coventry毕业证书)考文垂大学毕业证如何办理
一比一原版(Coventry毕业证书)考文垂大学毕业证如何办理一比一原版(Coventry毕业证书)考文垂大学毕业证如何办理
一比一原版(Coventry毕业证书)考文垂大学毕业证如何办理
 
一比一原版(UofS毕业证书)萨省大学毕业证如何办理
一比一原版(UofS毕业证书)萨省大学毕业证如何办理一比一原版(UofS毕业证书)萨省大学毕业证如何办理
一比一原版(UofS毕业证书)萨省大学毕业证如何办理
 
做(mqu毕业证书)麦考瑞大学毕业证硕士文凭证书学费发票原版一模一样
做(mqu毕业证书)麦考瑞大学毕业证硕士文凭证书学费发票原版一模一样做(mqu毕业证书)麦考瑞大学毕业证硕士文凭证书学费发票原版一模一样
做(mqu毕业证书)麦考瑞大学毕业证硕士文凭证书学费发票原版一模一样
 

Statistics project on comparison of two batsmen

  • 1. PROJECTWORK 2020 TOPIC: COMPARISON OF TOP ORDER BATSMAN IN HOME AND AWAY CONDITION Presented by Pankaj Chowdhury Bsc Sem-6 DEPARTMENTOF STATISTICS SIKSHABHAVANA VISVA BHARATI SHANTINIKETAN
  • 2. Born 5 November 1988 (age 31) Delhi Chikoo 1.75 m (5 ft 9 in) Right-handed Right-arm medium Nickname Height Batting Bowling Role top (order batsman)
  • 3. Born Full name Rohit Gurunath Sharma 30 April 1987 (age 33) Nagpur Nickname Shaana, Hitman, Ro Batting Right-handed Bowling Right-arm off break
  • 4. Born 5 December 1985 (age 34) Delhi Nickname Gabbar Height Batting 1.80 m (5 ft 11 in) Left-handed Bowling Right-arm off spin Role Opening batsman
  • 5. ACKNOWLEDGEME NTThe satisfaction and euphoria that accompany the successful completion of any task would be incomplete without mentioning the people who made it possible whose consistent guidance and encouragement crowned the effort with success. Fist of all , I am thankful to our project supervisor – Mr Tirthankar Ghosh ,under whose guidance I am able to complete our project . I am wholeheartedly thankful to him for giving me his valuable to time and attention and providing me a systematic way for completing our project in time. Also I will like to thank my friends,seniors,and lab maintenance staff and everyone who has helped me in completing this project. Thank You.
  • 6. INTRODUCTIO N AIM To understand and compare the different parameters in the field of cricket with the help of statistical software like Microsoft Excel and R .OBJECTIV E For carrying out the project the following objectives have been formulated : To learn the use of software for doing statistical analysis. To prepare hypothesis in order to compare the home and away match performance of different cricketers of India .
  • 7. Literature Indian cricket team isoneof the mostsuccessfulteam among all International cricket playing nations. Traditionally India ismuchstronger at home than abroad, the Indian team hasimproved its overseas from ,especially in limited-overs cricket, sincethe start of the 21stcentury ,winning test matches in Australia, England and SouthAfrica. Asof 10February 2020, India ranked 1stin test, 2nd in ODI, 4th in T20 byICC. In this content I will discussthe batting performances of Indian top three batsman in home and overseas matches in recent two years .
  • 8. Opener 1 : Rohit Sharma Opener 2: Shikhar Dhawan First down : Virat Kohli
  • 9. Source and description of the data Source of data The data iscollected from https://stats.espncricinfo.com,updated on 20th February,2020. Description of data The data isgiven with individual away,home match scoresof Virat Kohli , RohitSharma ,Shikhar Sharma. We describe the whole data one by one and graphical representation.
  • 10. The data used in the analysis is given below : Name of the player : Virat kohli Home match Away match 46 132 105 27 3 17 89 24 84 16 66 119 13 71 19 63 114 11 36 108 51 120 89 107 67 6 87 107 76 146 110 135 2 69 23 46 22 59 74 171
  • 11. Name of the player : Shikhar Dhawan Home match Away match 36 64 34 99 7 23 26 38 47 45 12 17 95 35 47 0 47 19 3 23 89 70 26 61 12 12 94 48 33 55 88 46 39 17 16 63 1 46 88 44
  • 12. Name of the player : Rohit Sharma Home match Away match 192 42 116 99 150 65 98 65 45 88 17 75 55 31 24 63 129 99 41 138 6 10 28 94 77 39 93 38 85 90 60 8 80 60 50 83 3 138 37 38
  • 13. Objective of the data :Here I want to test a player is equally efficient in home match and away match or not. So,here we can use statistical tools to compare their mean performance in home and away matches. A well known test to compare two means is paired t-test when they have equal number of sample size. Statistical Analysis : Let, H0:the mean of two samples are equal. vs H1:the means are not equal. Before we conduct the t-test we should test whether the two data have same variances by F- test and for normality checking we can use Shapiro-wilk test. Suppose there is n samples for home and away match each . Let ,x(i) be the i th observation of home match y(i) be the i th observation of away match . 𝑚 𝑥 =mean of scores in home matches 𝑚 𝑦 = mean of scores in away matches t=(𝑚 𝑥 -𝑚 𝑦 ) /√𝑆2(1/𝑛 𝑦 + 1/𝑛 𝑦 ) 𝑆2=(∑(𝑥 − 𝑚 𝑥 )2 + ∑(𝑦 − 𝑚 𝑦 )2)/( 𝑛𝑥+ 𝑛𝑦-2) The df is = 𝑛𝑥+ 𝑛𝑦-2 If the absolute value of t test statistics |t| is greater than the critical value ,then the difference is significant . otherwise itisn’t .
  • 14. The Shapiro-Wilk test is a way to tell if a random sample comes from a normal distribution. The test gives you a W value; small values indicate your sample is not normally distributed (you can reject the null hypothesis that your population is normally distributed if your values are under a certain threshold). The formula for the W value is: where: xi are the ordered random sample values ai are constants generated from the covariances, variances and means of the sample (size n) from a normally distributed sample. The test has limitations, most importantly that the test has a bias by sample size. The larger the sample, the more likely you’ll get a statistically significat result
  • 15. Let X1, ..., Xn and Y1, ..., Ym be samples from two populations which each has normal distribution. The expected values.for the two populations can be different, and the hypothesis to be tested is that the variances are equal. Let 𝑋 = ∑ 𝑛 𝑋𝑖/n; 𝑌= ∑ 𝑛 𝑌𝑖/n 𝑖=1 𝑖=1 be the sample means Let 2 y 2‫﷩‬‫﷩‬‫﷩‬S2 = 1 ∑n (X − X) ,S= x i=1 i(n−1) (n−1) 1 (Y − Y)2∑n i=1 i be the sample variences Then the test statistic S2 xS2F= y ; has an F distribution with n − 1 and m − 1 degrees of freedom if the null hypothesis of equality of variances is true. Otherwise it follows an F-distribution scaled by the ratio of true variances. The null hypothesis is rejected if F is either too large or too small based on the desired alpha level
  • 16. Test for this experiment:(Virat Kohli) Shapiro-Wilk normality test 𝐻𝑜: the data follows normality . 𝐻1: the data is not following normal distribution. Data: Virat Kohli HOME W = 0.91069 p-value = 0.06571 Data: Virat Kohli AWAY W = 0.98051, p-value = 0.9406 As p values in both the cases (>0.05), so data follows normal distribution . F testℎ 𝑎𝑆2,𝑆2are the sample variances of home and away matches. ℎ 𝑎𝐻𝑜: 𝑆2=𝑆2 ℎ 𝑎𝐻1: 𝑆2≠ 𝑆2 F = 0.83414, num df = 19, denom df = 19, p-value = 0.6967 alternative hypothesis: true ratio of variances is not equal to 1 95 percent confidence interval: 0.3301624 2.1074118 sample estimates: ratio of variances 0.834139 As p values in the case(>0.05), so data those two samples have equal variances . t-test 𝐻 ,𝐴are the mean of home and away match of Virat Kohli 𝐻𝑜: 𝐻 =𝐴; 𝐻1: 𝐻 ≠ 𝐴; t = -1.4421, df = 38, p-value =0.1575 alternative hypothesis: true difference in means is not equal to 0 95 percent confidence interval: -48.555803 8.155803
  • 17. sample estimates: mean of H:58.15 mean of A:78.35 As p values in the case(>0.05), so the mean of the home and away match can not differ to each other .
  • 18. barplot of virat's home match 020406080100120 barplot of virat's away match 050100150
  • 19. home away virat's avarage run comparison run 0204060
  • 20. Test for this experiment:(Shikhar Dhawan) Shapiro-Wilk normality test 𝐻𝑜: the data follows normality . 𝐻1: the data is not following normal distribution. Data: Shikhar Dhawan HOME W = 0.90533, p-value = 0.05195 Data: Shikhar Dhawan AWAY W = 0.94757, p-value = 0.3317 As p values in both the cases (>0.05), so data follows normal distribution . F test 𝑆2,𝑆2are the sample variances of home and away matches. ℎ 𝑎 𝐻𝑜 : 𝑆2 =𝑆2 ℎ 𝑎 𝐻1 : 𝑆2 ≠ 𝑆2 ℎ 𝑎 F = 0.87496, num df = 19, denomdf = 19, p-value = 0.7739 alternative hypothesis: true ratio of variances is not equal to 1 95 percent confidence interval: 0.3463191 2.2105387 sample estimates: ratio of variances 0.8749581 As p values in the case(>0.05), so data those two samples have equal variances . t-test 𝐻 ,𝐴are the mean of home and away match of Shikhar Dhawan 𝐻𝑜: 𝐻 =𝐴;
  • 21. 𝐻1: 𝐻 ≠ 𝐴; t = -1.32, df = 38, p-value = 0.1947 alternative hypothesis: true difference in means is not equal to 0 95 percent confidence interval: -29.263327 6.163327 sample estimates: mean of H:35.85 mean of A:47.70 As p values in the case(>0.05), so the mean of the home and away match can not differ to each other .
  • 22. barplot of shikhars's home match 020406080 barplot of shikhars's away match 020406080
  • 23. home away shikhar dhawan's avarage run comparison run 010203040
  • 24. Test for this experiment:(Rohit Sharma)Shapiro-Wilk normality test 𝐻𝑜: the data follows normality . 𝐻1: the data is not following normal distribution. Data: Rohit Sharma HOME W = 0.95311, p-value = 0.4168 Data: Rohit Sharma AWAY W = 0.94808, p-value = 0.3389 As p values in both the cases (>0.05), so data follows normal distribution . F test 𝑆2,𝑆2are the sample variances of home and away matches. ℎ 𝑎 𝐻𝑜 : 𝑆2 =𝑆2 ℎ 𝑎 𝐻1 : 𝑆2 ≠ 𝑆2 ℎ 𝑎 F = 1.6157, num df = 19, denom df = 19, p-value = 0.3043 alternative hypothesis: true ratio of variances is not equal to 1 95 percent confidence interval: 0.6395158 4.0819999 sample estimates: ratio of variances 1.615705 As p values in the case(>0.05), so data those two samples have equal variances . t-test 𝐻 ,𝐴are the mean of home and away match of Rohit Sharma 𝐻𝑜: 𝐻 =𝐴; 𝐻1: 𝐻 ≠ 𝐴; t = 1.9567 df = 38 p-value = 0.05776 alternative hypothesis: true difference in means is not equal to 0 95 percent confidence interval: -0.8903839 52.3903839 sample estimates: mean of x : 81.60 mean of y: 55.85
  • 25. barplot of rohit's home match 050100150 barplot of rohit's away match 020406080100120
  • 26. home away rohit's avarage run comparison run 020406080
  • 27. Rcode Virat Kohli vi=read.csv("C:/Users/hp/Desktop/project work/virat.csv",header=T) vi vix=vi$home viy=vi$awa y vix viy p=data.frame(vix,vi y) p shapiro.test(vi x) shapiro.test(vi y) var.test(vix,viy,alternative="two.sided") t.test(vix,viy,alternative = "two.sided",var.equal = TRUE) summary(vix) summary(viy) par(mfrow=c(2,1 )) barplot(vix,main="barplot of virat's home match",horiz =F ) barplot(viy,main="barplot of virat's away match",horiz = F) mvix=mean(vix) mviy=mean(viy) mvi=c(mvix,mvi y) barplot(mvi,horiz=F,col="red",ylab="run",names.arg=c("home","aw ay"))
  • 28. Rohit Sharma rh=read.csv("C:/Users/hp/Desktop/project work/rohit.csv",header=T) rh rhx=rh$hom e rhy=rh$awa y rhx rhy p=data.frame(rhx,rh y) p shapiro.test(rhx ) shapiro.test(rhy ) var.test(rhx,rhy,alternative="two.sided") t.test(rhx,rhy,alternative = "two.sided",var.equal = TRUE) summary(rhx) summary(rhy) par(mfrow=c(2,1 )) barplot(rhx,main="barplot of virat's home match",horiz =F ) barplot(rhy,main="barplot of virat's away match",horiz = F) mrhx=mean(rhx) mrhy=mean(rhy) mrh=c(mrhx,mrh
  • 29. Shikhar Dhawan sh=read.csv("C:/Users/hp/Desktop/project work/shikhar.csv",header = T) sh shx=sh$home shy=sh$aw ay shx shy p=data.frame(shx,sh y) p shapiro.test(sh x) shapiro.test(sh y) var.test(shx,shy,alternative="two.sided") t.test(shx,shy,alternative = "two.sided",var.equal = TRUE) summary(shx) summary(shy) par(mfrow=c(2,1 )) barplot(shx,main="barplot of shikhars's home match",horiz =F ) barplot(shy,main="barplot of shikhars's away match",horiz = F) mshx=mean(shx) mshy=mean(shy) msh=c(mshx,msh y) barplot(msh,horiz=F,col="red",ylab="run",names.arg=c("home","away"),main="shikhar dhawan's avarage run comparison")
  • 30. Conclusio nThere is no difference in performance due to home match away match of Virat Kohli, Shikhar Dhawan,Rohit Sharama. By graphical representation we can see the average score of Rohit Sharma in home matches is higher tham away match and for Virat Kohli and Shikhar Dhawan away match average score is higher than home match.