SlideShare a Scribd company logo
1 of 44
FIZZA SARFARAZ
ABBOTTABAD UNIVERSITY OF
SCIENCE & TECHNOLOGY (A.U.S.T)
CORRELATION
HISTORY
GALTON:
Obsessed with measurement
Tried to measure everything
from the weather to female
beauty
Invented correlation and
regression
KARL PEARSON
formalized Galton's method
invented method
CORRELATION
Measure of the degree to
which any two variables
vary together.
or
Simultaneously variation
of variables in some
direction.
e.g., iron bar
INTRODUCTION
Association b/w two variables
Nature & strength of
relationship b/w two variables
Both random variables
Lies b/w +1 & -1
0 = No relationship b/w
variables
-1 = Perfect Negative
correlation
+1 = Perfect positive
correlation
Ice-cream - Temperature
MATHEMATICALLY








−








−
−
=
∑ ∑∑ ∑
∑ ∑ ∑
n
y)(
y.
n
x)(
x
n
yx
xy
r
2
2
2
2
EXAMPLE
AnxietyAnxiety
(X)(X)
TestTest
score (Y)score (Y)
XX22
YY22
XYXY
1010 22 100100 44 2020
88 33 6464 99 2424
22 99 44 8181 1818
11 77 11 4949 77
55 66 2525 3636 3030
66 55 3636 2525 3030
∑∑X = 32X = 32 ∑∑Y = 32Y = 32 ∑∑XX22
= 230= 230 ∑∑YY22
= 204= 204 ∑∑XY=12XY=12
99
Calculating CorrelationCalculating Correlation
CoefficientCoefficient
( )( )
94.
)200)(356(
1024774
32)204(632)230(6
)32)(32()129)(6(
22
−=
−
=
−−
−
=r
r = - 0.94
Indirect strong correlation
METHODS OF STUDYING
CORRELATION
METHODS
SCATTER DIAGRAM
KARL PEARSON
COEFFICIENT
SPEARMAN'S RANK
SCATTER DIAGRAM
Rectangular coordinate
Two quantitative variables
1 variable: independent (X) & 2nd:
dependent (Y)
Points are not joined
KARL PEARSON
COEFFICIENT
• Statistic showing the degree of relationship
b/w two variables.
• represented by 'r'
• called Pearson's correlation
SPEARMAN'S RANK
Actual measurement of objects/individualsActual measurement of objects/individuals
not availablenot available
Accurate assesment is not possibleAccurate assesment is not possible
Arranged in orderArranged in order
Ordered arrangement: RankingOrdered arrangement: Ranking
Order Given to object: RanksOrder Given to object: Ranks
Correlation blw two sets X & Y: RankCorrelation blw two sets X & Y: Rank
correlationcorrelation
PROCEDURE
 Rank values of X from 1-nRank values of X from 1-n
n: # of pairs of values of X & Yn: # of pairs of values of X & Y
 Rank Y from 1-nRank Y from 1-n
 Compute value of 'di' by Xi - YiCompute value of 'di' by Xi - Yi
 Square each di & compute ∑diSquare each di & compute ∑di22
 Apply formula;Apply formula; 2
s 2
6 (di)
r 1
n(n 1)
= −
−
∑
EXAMPLE
In a study of the relationship between level education andIn a study of the relationship between level education and
income the following data was obtained. Find the relationshipincome the following data was obtained. Find the relationship
between them and comment.between them and comment.
sample
numbers
level education
(X)
Income
(Y)
A Preparatory.Preparatory. 25
B Primary.Primary. 10
C University.University. 8
D secondarysecondary 10
E secondarysecondary 15
F illiterateilliterate 50
G University.University. 60
X Y rank
X
rank
Y
di di2
A Preparato
ry
25 5 3 2 4
B Primary 10 6 5.5 0.5 0.25
C University 8 1.5 7 -5.5 30.25
D secondary 10 3.5 5.5 -2 4
E secondary 15 3.5 4 -0.5 0.25
F illiterate 50 7 2 5 25
G university 60 1.5 1 0.5 0.25
∑ di2
=64
Conclusion:Conclusion:
There is an indirect weak correlationThere is an indirect weak correlation
between level of education and income.between level of education and income.
1.0
)48(7
646
1 −=
×
−=sr
TYPES
Types
Type 1 Type 2 Type 3
TYPE 1
Type 1
Negative NO Perfect
Positive
• POSITIVE - both
either increase or
decrease
• NEGATIVE - one
increase while other
decrease
• NO - no correlation
• PERFECT - both
variables are
independents
EXAMPLES
+ive Relationships
• WAter consumption
& temperature
• Study times &
grades
-ive Relationships
• Alcohol
consumption &
driving ability
• Price & Quantity
demanded
TYPE 2
Type 2
Linear
Non-linear
• LINEAR - Perfect
straight line on graph
• NON-LINEAR - Not
a perfect straight line
TYPE 3
Type 3
Simple Multiple Partial
• SIMPLE - 1 independent & 1 dependent
variable
• MULTIPLE - 1 dep & more than 1 indep
variable
• PARTIAL - 1 dep & more than 1 indep
variable bt only 1 indep variable is considered
while other const
COEFFICIENT OF
CORRELATION
Measure of the strength of linear relationship
b/w two variables.
Represented by 'r'
'r' lies b/w +1 & -1
-1 ≤ r ≤ +1
 +ive sign = +ive linear correlation
 -ive sign = -ive linear correlation
MATHEMATICALLY 'r'
2 2 2 2
( )( )
[ ( ) ][ ( ) ]
n xy x y
r
n x x n y y
−
=
− −
∑ ∑ ∑
∑ ∑ ∑ ∑
INTERPRETATION OF 'r'
INTERPRETATION
-1 ≤ r ≤ +1
-1 10-0.25-0.75 0.750.25
strong strongintermediate intermediateweak weak
no relation
perfect
correlation
perfect
correlation
Directindirect
CORRELATIION: LINEAR
RELATIONSHIPS
0
20
40
60
80
100
120
140
160
180
0 50 100 150 200 250
Drug A (dose in mg)
SymptomIndex
0
20
40
60
80
100
120
140
160
0 50 100 150 200 250
Drug B (dose in mg)
SymptomIndex
Srong Relationship → Good linear fit
Points clustered closely around a line show a
strong correlation. The line is a good
predictor (good fit) with the data. The more
spread out the points, the weaker the
correlation, and the less good the fit. The line
is a REGRESSSION line (Y = bX + a)
r : shows relationship b/w variables either
+ive or -ive
r2
: shows % of variation by best fit line
Example:Example:
A sample of 6 children was selected, data about their ageA sample of 6 children was selected, data about their age
in years and weight in kilograms was recorded as shownin years and weight in kilograms was recorded as shown
in the following table . It is required to find thein the following table . It is required to find the
correlation between age and weight.correlation between age and weight.
serial # Age X
I.V(years)
Weight Y
D.V(Kg)
1 7 12
2 6 8
3 8 12
4 5 10
5 6 11
6 9 13
Serial
n.
Age
(years)
(x)
Weight
(Kg)
(y)
xy X2
Y2
1 7 12 84 49 144
2 6 8 48 36 64
3 8 12 96 64 144
4 5 10 50 25 100
5 6 11 66 36 121
6 9 13 117 81 169
Total ∑x=
41
∑y=
66
∑xy=
461
∑x2
=
291
∑y2
=
742
r = 0.759r = 0.759
strong direct correlationstrong direct correlation
2 2
41 66
461
6r
(41) (66)
291 . 742
6 6
×
−
=
   
− −   
   
2 2
2 2
x y
xy
nr
( x) ( y)
x . y
n n
−
=
   
− − ÷ ÷ ÷ ÷
   
∑ ∑∑
∑ ∑∑ ∑
APPLICATIONS
Estimating & improving.,
Seasonal sales for departmental stores
Quantity demanded & production
Motivating tools for employees
Cost of products demanded
accuracy of estimations for demands for sails
Inflation & real wage
Oil exploration
Moreover, Radar system is field where
correlation is vehicle to map distance
&
in communication, for instance in digital
receivers.
SPSS TUTORIAL
1.Analyz
2.Correlate 3.
(Bivariate)
Points to be noted:
Confidence Level
Correlation is
highly significant
0.01**
Correlation is
significant 0.05*
Correlation new 2017 black
Correlation new 2017 black
Correlation new 2017 black
Correlation new 2017 black
Correlation new 2017 black
Correlation new 2017 black

More Related Content

What's hot

What's hot (20)

Regression
RegressionRegression
Regression
 
Chapter 12
Chapter 12Chapter 12
Chapter 12
 
Reg
RegReg
Reg
 
Correlation continued
Correlation continuedCorrelation continued
Correlation continued
 
Pearson product moment correlation
Pearson product moment correlationPearson product moment correlation
Pearson product moment correlation
 
Regression analysis
Regression analysisRegression analysis
Regression analysis
 
2.2 Direct Variation
2.2 Direct Variation2.2 Direct Variation
2.2 Direct Variation
 
Chapter 5 Direct Variation
Chapter 5 Direct VariationChapter 5 Direct Variation
Chapter 5 Direct Variation
 
Direct inverse variation
Direct inverse variationDirect inverse variation
Direct inverse variation
 
Direct variation-ppt
Direct variation-pptDirect variation-ppt
Direct variation-ppt
 
Regression & correlation
Regression & correlationRegression & correlation
Regression & correlation
 
Arithmetic and geometric mean
Arithmetic and geometric meanArithmetic and geometric mean
Arithmetic and geometric mean
 
Direct variation
Direct variationDirect variation
Direct variation
 
Variation
VariationVariation
Variation
 
PEARSON PRODUCT MOMENT CORRELATION COEFFICIENT
PEARSON PRODUCT MOMENT CORRELATION COEFFICIENTPEARSON PRODUCT MOMENT CORRELATION COEFFICIENT
PEARSON PRODUCT MOMENT CORRELATION COEFFICIENT
 
multiple regression
multiple regressionmultiple regression
multiple regression
 
Presentation on Regression Analysis
Presentation on Regression AnalysisPresentation on Regression Analysis
Presentation on Regression Analysis
 
4.6 model direct variation day 1
4.6 model direct variation   day 14.6 model direct variation   day 1
4.6 model direct variation day 1
 
Regression analysis
Regression analysisRegression analysis
Regression analysis
 
Malhotra17
Malhotra17Malhotra17
Malhotra17
 

Viewers also liked

Science to Business? Where's the Correlation?
Science to Business? Where's the Correlation?Science to Business? Where's the Correlation?
Science to Business? Where's the Correlation?Cian Ó Ceallaigh
 
Scientific Method Mod
Scientific Method ModScientific Method Mod
Scientific Method Modguestac0099
 
Towards Understanding the Basic Medical Sciences Foundation of Clinical Medicine
Towards Understanding the Basic Medical Sciences Foundation of Clinical MedicineTowards Understanding the Basic Medical Sciences Foundation of Clinical Medicine
Towards Understanding the Basic Medical Sciences Foundation of Clinical MedicineImhotep Virtual Medical School
 
Statistics And Correlation
Statistics And CorrelationStatistics And Correlation
Statistics And Correlationpankaj prabhakar
 
Data Science in Drug Discovery
Data Science in Drug DiscoveryData Science in Drug Discovery
Data Science in Drug DiscoveryWrangleConf
 
Introduction to R for Data Science :: Session 6 [Linear Regression in R]
Introduction to R for Data Science :: Session 6 [Linear Regression in R] Introduction to R for Data Science :: Session 6 [Linear Regression in R]
Introduction to R for Data Science :: Session 6 [Linear Regression in R] Goran S. Milovanovic
 
Task of Correlation Research Questions
Task of Correlation Research QuestionsTask of Correlation Research Questions
Task of Correlation Research QuestionsHATS
 
Correlation of subjects in school (b.ed notes)
Correlation of subjects in school (b.ed notes)Correlation of subjects in school (b.ed notes)
Correlation of subjects in school (b.ed notes)Namrata Saxena
 
Dr. adhra al mawali - immunophenotyping and mrd of acute myeloid leukemia
Dr. adhra al mawali - immunophenotyping and mrd of acute myeloid leukemiaDr. adhra al mawali - immunophenotyping and mrd of acute myeloid leukemia
Dr. adhra al mawali - immunophenotyping and mrd of acute myeloid leukemiaHitham Esam
 
Correlation analysis
Correlation analysisCorrelation analysis
Correlation analysisFassbender123
 

Viewers also liked (17)

Module 02
Module 02Module 02
Module 02
 
Science to Business? Where's the Correlation?
Science to Business? Where's the Correlation?Science to Business? Where's the Correlation?
Science to Business? Where's the Correlation?
 
Scientific Method Mod
Scientific Method ModScientific Method Mod
Scientific Method Mod
 
Biostatistics
BiostatisticsBiostatistics
Biostatistics
 
Towards Understanding the Basic Medical Sciences Foundation of Clinical Medicine
Towards Understanding the Basic Medical Sciences Foundation of Clinical MedicineTowards Understanding the Basic Medical Sciences Foundation of Clinical Medicine
Towards Understanding the Basic Medical Sciences Foundation of Clinical Medicine
 
Statistics And Correlation
Statistics And CorrelationStatistics And Correlation
Statistics And Correlation
 
Data Science in Drug Discovery
Data Science in Drug DiscoveryData Science in Drug Discovery
Data Science in Drug Discovery
 
Research Paper On Correlation
Research Paper On CorrelationResearch Paper On Correlation
Research Paper On Correlation
 
Introduction to R for Data Science :: Session 6 [Linear Regression in R]
Introduction to R for Data Science :: Session 6 [Linear Regression in R] Introduction to R for Data Science :: Session 6 [Linear Regression in R]
Introduction to R for Data Science :: Session 6 [Linear Regression in R]
 
Task of Correlation Research Questions
Task of Correlation Research QuestionsTask of Correlation Research Questions
Task of Correlation Research Questions
 
Correlation
CorrelationCorrelation
Correlation
 
Correlation analysis
Correlation analysisCorrelation analysis
Correlation analysis
 
Correlation and Simple Regression
Correlation  and Simple RegressionCorrelation  and Simple Regression
Correlation and Simple Regression
 
Correlation of subjects in school (b.ed notes)
Correlation of subjects in school (b.ed notes)Correlation of subjects in school (b.ed notes)
Correlation of subjects in school (b.ed notes)
 
Correlation ppt...
Correlation ppt...Correlation ppt...
Correlation ppt...
 
Dr. adhra al mawali - immunophenotyping and mrd of acute myeloid leukemia
Dr. adhra al mawali - immunophenotyping and mrd of acute myeloid leukemiaDr. adhra al mawali - immunophenotyping and mrd of acute myeloid leukemia
Dr. adhra al mawali - immunophenotyping and mrd of acute myeloid leukemia
 
Correlation analysis
Correlation analysisCorrelation analysis
Correlation analysis
 

Similar to Correlation new 2017 black

Regression and corelation (Biostatistics)
Regression and corelation (Biostatistics)Regression and corelation (Biostatistics)
Regression and corelation (Biostatistics)Muhammadasif909
 
Module 2_ Regression Models..pptx
Module 2_ Regression Models..pptxModule 2_ Regression Models..pptx
Module 2_ Regression Models..pptxnikshaikh786
 
correlation and regression
correlation and regressioncorrelation and regression
correlation and regressionUnsa Shakir
 
correlation_regression.ppt
correlation_regression.pptcorrelation_regression.ppt
correlation_regression.pptRicha Joshi
 
Regression and correlation in statistics
Regression and correlation in statisticsRegression and correlation in statistics
Regression and correlation in statisticsiphone4s4
 
Correlation Coefficient
Correlation CoefficientCorrelation Coefficient
Correlation CoefficientSaadSaif6
 
Correlation by Neeraj Bhandari ( Surkhet.Nepal )
Correlation by Neeraj Bhandari ( Surkhet.Nepal )Correlation by Neeraj Bhandari ( Surkhet.Nepal )
Correlation by Neeraj Bhandari ( Surkhet.Nepal )Neeraj Bhandari
 
Unit 4_3 Correlation Regression.pptx
Unit 4_3 Correlation Regression.pptxUnit 4_3 Correlation Regression.pptx
Unit 4_3 Correlation Regression.pptxAppasamiG
 
Correlation and Regression
Correlation and RegressionCorrelation and Regression
Correlation and RegressionNeha Dokania
 
correlation.final.ppt (1).pptx
correlation.final.ppt (1).pptxcorrelation.final.ppt (1).pptx
correlation.final.ppt (1).pptxChieWoo1
 
Regression & Correlation.pdf
Regression & Correlation.pdfRegression & Correlation.pdf
Regression & Correlation.pdfMuhammadFaizan389
 
Regression and Co-Relation
Regression and Co-RelationRegression and Co-Relation
Regression and Co-Relationnuwan udugampala
 
Unit 1 Correlation- BSRM.pdf
Unit 1 Correlation- BSRM.pdfUnit 1 Correlation- BSRM.pdf
Unit 1 Correlation- BSRM.pdfRavinandan A P
 
Correlation and Regression ppt
Correlation and Regression pptCorrelation and Regression ppt
Correlation and Regression pptSantosh Bhaskar
 
Biostats coorelation vs rREGRESSION.DIFFERENCE BETWEEN CORRELATION AND REGRES...
Biostats coorelation vs rREGRESSION.DIFFERENCE BETWEEN CORRELATION AND REGRES...Biostats coorelation vs rREGRESSION.DIFFERENCE BETWEEN CORRELATION AND REGRES...
Biostats coorelation vs rREGRESSION.DIFFERENCE BETWEEN CORRELATION AND REGRES...Payaamvohra1
 
Correlation engineering mathematics
Correlation  engineering mathematicsCorrelation  engineering mathematics
Correlation engineering mathematicsErSaurabh2
 

Similar to Correlation new 2017 black (20)

Regression and corelation (Biostatistics)
Regression and corelation (Biostatistics)Regression and corelation (Biostatistics)
Regression and corelation (Biostatistics)
 
33851.ppt
33851.ppt33851.ppt
33851.ppt
 
Module 2_ Regression Models..pptx
Module 2_ Regression Models..pptxModule 2_ Regression Models..pptx
Module 2_ Regression Models..pptx
 
correlation and regression
correlation and regressioncorrelation and regression
correlation and regression
 
correlation_regression.ppt
correlation_regression.pptcorrelation_regression.ppt
correlation_regression.ppt
 
Regression and correlation in statistics
Regression and correlation in statisticsRegression and correlation in statistics
Regression and correlation in statistics
 
Correlation Coefficient
Correlation CoefficientCorrelation Coefficient
Correlation Coefficient
 
Correlation by Neeraj Bhandari ( Surkhet.Nepal )
Correlation by Neeraj Bhandari ( Surkhet.Nepal )Correlation by Neeraj Bhandari ( Surkhet.Nepal )
Correlation by Neeraj Bhandari ( Surkhet.Nepal )
 
Co re
Co reCo re
Co re
 
Unit 4_3 Correlation Regression.pptx
Unit 4_3 Correlation Regression.pptxUnit 4_3 Correlation Regression.pptx
Unit 4_3 Correlation Regression.pptx
 
Correlation and Regression
Correlation and RegressionCorrelation and Regression
Correlation and Regression
 
correlation.final.ppt (1).pptx
correlation.final.ppt (1).pptxcorrelation.final.ppt (1).pptx
correlation.final.ppt (1).pptx
 
Regression & Correlation.pdf
Regression & Correlation.pdfRegression & Correlation.pdf
Regression & Correlation.pdf
 
Regression and Co-Relation
Regression and Co-RelationRegression and Co-Relation
Regression and Co-Relation
 
Unit 1 Correlation- BSRM.pdf
Unit 1 Correlation- BSRM.pdfUnit 1 Correlation- BSRM.pdf
Unit 1 Correlation- BSRM.pdf
 
Correlation
CorrelationCorrelation
Correlation
 
Correlation and Regression ppt
Correlation and Regression pptCorrelation and Regression ppt
Correlation and Regression ppt
 
UNIT 4.pptx
UNIT 4.pptxUNIT 4.pptx
UNIT 4.pptx
 
Biostats coorelation vs rREGRESSION.DIFFERENCE BETWEEN CORRELATION AND REGRES...
Biostats coorelation vs rREGRESSION.DIFFERENCE BETWEEN CORRELATION AND REGRES...Biostats coorelation vs rREGRESSION.DIFFERENCE BETWEEN CORRELATION AND REGRES...
Biostats coorelation vs rREGRESSION.DIFFERENCE BETWEEN CORRELATION AND REGRES...
 
Correlation engineering mathematics
Correlation  engineering mathematicsCorrelation  engineering mathematics
Correlation engineering mathematics
 

Recently uploaded

Russian Call Girls In Gurgaon ❤️8448577510 ⊹Best Escorts Service In 24/7 Delh...
Russian Call Girls In Gurgaon ❤️8448577510 ⊹Best Escorts Service In 24/7 Delh...Russian Call Girls In Gurgaon ❤️8448577510 ⊹Best Escorts Service In 24/7 Delh...
Russian Call Girls In Gurgaon ❤️8448577510 ⊹Best Escorts Service In 24/7 Delh...lizamodels9
 
Call Girls From Pari Chowk Greater Noida ❤️8448577510 ⊹Best Escorts Service I...
Call Girls From Pari Chowk Greater Noida ❤️8448577510 ⊹Best Escorts Service I...Call Girls From Pari Chowk Greater Noida ❤️8448577510 ⊹Best Escorts Service I...
Call Girls From Pari Chowk Greater Noida ❤️8448577510 ⊹Best Escorts Service I...lizamodels9
 
Call Girls In Panjim North Goa 9971646499 Genuine Service
Call Girls In Panjim North Goa 9971646499 Genuine ServiceCall Girls In Panjim North Goa 9971646499 Genuine Service
Call Girls In Panjim North Goa 9971646499 Genuine Serviceritikaroy0888
 
Monthly Social Media Update April 2024 pptx.pptx
Monthly Social Media Update April 2024 pptx.pptxMonthly Social Media Update April 2024 pptx.pptx
Monthly Social Media Update April 2024 pptx.pptxAndy Lambert
 
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...Dipal Arora
 
Value Proposition canvas- Customer needs and pains
Value Proposition canvas- Customer needs and painsValue Proposition canvas- Customer needs and pains
Value Proposition canvas- Customer needs and painsP&CO
 
A DAY IN THE LIFE OF A SALESMAN / WOMAN
A DAY IN THE LIFE OF A  SALESMAN / WOMANA DAY IN THE LIFE OF A  SALESMAN / WOMAN
A DAY IN THE LIFE OF A SALESMAN / WOMANIlamathiKannappan
 
FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756dollysharma2066
 
Mysore Call Girls 8617370543 WhatsApp Number 24x7 Best Services
Mysore Call Girls 8617370543 WhatsApp Number 24x7 Best ServicesMysore Call Girls 8617370543 WhatsApp Number 24x7 Best Services
Mysore Call Girls 8617370543 WhatsApp Number 24x7 Best ServicesDipal Arora
 
John Halpern sued for sexual assault.pdf
John Halpern sued for sexual assault.pdfJohn Halpern sued for sexual assault.pdf
John Halpern sued for sexual assault.pdfAmzadHosen3
 
Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...
Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...
Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...amitlee9823
 
Famous Olympic Siblings from the 21st Century
Famous Olympic Siblings from the 21st CenturyFamous Olympic Siblings from the 21st Century
Famous Olympic Siblings from the 21st Centuryrwgiffor
 
Pharma Works Profile of Karan Communications
Pharma Works Profile of Karan CommunicationsPharma Works Profile of Karan Communications
Pharma Works Profile of Karan Communicationskarancommunications
 
Insurers' journeys to build a mastery in the IoT usage
Insurers' journeys to build a mastery in the IoT usageInsurers' journeys to build a mastery in the IoT usage
Insurers' journeys to build a mastery in the IoT usageMatteo Carbone
 
0183760ssssssssssssssssssssssssssss00101011 (27).pdf
0183760ssssssssssssssssssssssssssss00101011 (27).pdf0183760ssssssssssssssssssssssssssss00101011 (27).pdf
0183760ssssssssssssssssssssssssssss00101011 (27).pdfRenandantas16
 
Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...
Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...
Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...daisycvs
 
Dr. Admir Softic_ presentation_Green Club_ENG.pdf
Dr. Admir Softic_ presentation_Green Club_ENG.pdfDr. Admir Softic_ presentation_Green Club_ENG.pdf
Dr. Admir Softic_ presentation_Green Club_ENG.pdfAdmir Softic
 
MONA 98765-12871 CALL GIRLS IN LUDHIANA LUDHIANA CALL GIRL
MONA 98765-12871 CALL GIRLS IN LUDHIANA LUDHIANA CALL GIRLMONA 98765-12871 CALL GIRLS IN LUDHIANA LUDHIANA CALL GIRL
MONA 98765-12871 CALL GIRLS IN LUDHIANA LUDHIANA CALL GIRLSeo
 

Recently uploaded (20)

Russian Call Girls In Gurgaon ❤️8448577510 ⊹Best Escorts Service In 24/7 Delh...
Russian Call Girls In Gurgaon ❤️8448577510 ⊹Best Escorts Service In 24/7 Delh...Russian Call Girls In Gurgaon ❤️8448577510 ⊹Best Escorts Service In 24/7 Delh...
Russian Call Girls In Gurgaon ❤️8448577510 ⊹Best Escorts Service In 24/7 Delh...
 
Call Girls From Pari Chowk Greater Noida ❤️8448577510 ⊹Best Escorts Service I...
Call Girls From Pari Chowk Greater Noida ❤️8448577510 ⊹Best Escorts Service I...Call Girls From Pari Chowk Greater Noida ❤️8448577510 ⊹Best Escorts Service I...
Call Girls From Pari Chowk Greater Noida ❤️8448577510 ⊹Best Escorts Service I...
 
Call Girls In Panjim North Goa 9971646499 Genuine Service
Call Girls In Panjim North Goa 9971646499 Genuine ServiceCall Girls In Panjim North Goa 9971646499 Genuine Service
Call Girls In Panjim North Goa 9971646499 Genuine Service
 
Monthly Social Media Update April 2024 pptx.pptx
Monthly Social Media Update April 2024 pptx.pptxMonthly Social Media Update April 2024 pptx.pptx
Monthly Social Media Update April 2024 pptx.pptx
 
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
 
Value Proposition canvas- Customer needs and pains
Value Proposition canvas- Customer needs and painsValue Proposition canvas- Customer needs and pains
Value Proposition canvas- Customer needs and pains
 
A DAY IN THE LIFE OF A SALESMAN / WOMAN
A DAY IN THE LIFE OF A  SALESMAN / WOMANA DAY IN THE LIFE OF A  SALESMAN / WOMAN
A DAY IN THE LIFE OF A SALESMAN / WOMAN
 
FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756
 
Mysore Call Girls 8617370543 WhatsApp Number 24x7 Best Services
Mysore Call Girls 8617370543 WhatsApp Number 24x7 Best ServicesMysore Call Girls 8617370543 WhatsApp Number 24x7 Best Services
Mysore Call Girls 8617370543 WhatsApp Number 24x7 Best Services
 
John Halpern sued for sexual assault.pdf
John Halpern sued for sexual assault.pdfJohn Halpern sued for sexual assault.pdf
John Halpern sued for sexual assault.pdf
 
Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...
Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...
Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...
 
Famous Olympic Siblings from the 21st Century
Famous Olympic Siblings from the 21st CenturyFamous Olympic Siblings from the 21st Century
Famous Olympic Siblings from the 21st Century
 
Forklift Operations: Safety through Cartoons
Forklift Operations: Safety through CartoonsForklift Operations: Safety through Cartoons
Forklift Operations: Safety through Cartoons
 
Pharma Works Profile of Karan Communications
Pharma Works Profile of Karan CommunicationsPharma Works Profile of Karan Communications
Pharma Works Profile of Karan Communications
 
Insurers' journeys to build a mastery in the IoT usage
Insurers' journeys to build a mastery in the IoT usageInsurers' journeys to build a mastery in the IoT usage
Insurers' journeys to build a mastery in the IoT usage
 
0183760ssssssssssssssssssssssssssss00101011 (27).pdf
0183760ssssssssssssssssssssssssssss00101011 (27).pdf0183760ssssssssssssssssssssssssssss00101011 (27).pdf
0183760ssssssssssssssssssssssssssss00101011 (27).pdf
 
Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...
Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...
Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...
 
Dr. Admir Softic_ presentation_Green Club_ENG.pdf
Dr. Admir Softic_ presentation_Green Club_ENG.pdfDr. Admir Softic_ presentation_Green Club_ENG.pdf
Dr. Admir Softic_ presentation_Green Club_ENG.pdf
 
MONA 98765-12871 CALL GIRLS IN LUDHIANA LUDHIANA CALL GIRL
MONA 98765-12871 CALL GIRLS IN LUDHIANA LUDHIANA CALL GIRLMONA 98765-12871 CALL GIRLS IN LUDHIANA LUDHIANA CALL GIRL
MONA 98765-12871 CALL GIRLS IN LUDHIANA LUDHIANA CALL GIRL
 
unwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabi
unwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabiunwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabi
unwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabi
 

Correlation new 2017 black

  • 1. FIZZA SARFARAZ ABBOTTABAD UNIVERSITY OF SCIENCE & TECHNOLOGY (A.U.S.T)
  • 2.
  • 4. HISTORY GALTON: Obsessed with measurement Tried to measure everything from the weather to female beauty Invented correlation and regression KARL PEARSON formalized Galton's method invented method
  • 5. CORRELATION Measure of the degree to which any two variables vary together. or Simultaneously variation of variables in some direction. e.g., iron bar
  • 6. INTRODUCTION Association b/w two variables Nature & strength of relationship b/w two variables Both random variables Lies b/w +1 & -1 0 = No relationship b/w variables -1 = Perfect Negative correlation +1 = Perfect positive correlation
  • 9. EXAMPLE AnxietyAnxiety (X)(X) TestTest score (Y)score (Y) XX22 YY22 XYXY 1010 22 100100 44 2020 88 33 6464 99 2424 22 99 44 8181 1818 11 77 11 4949 77 55 66 2525 3636 3030 66 55 3636 2525 3030 ∑∑X = 32X = 32 ∑∑Y = 32Y = 32 ∑∑XX22 = 230= 230 ∑∑YY22 = 204= 204 ∑∑XY=12XY=12 99
  • 10. Calculating CorrelationCalculating Correlation CoefficientCoefficient ( )( ) 94. )200)(356( 1024774 32)204(632)230(6 )32)(32()129)(6( 22 −= − = −− − =r r = - 0.94 Indirect strong correlation
  • 11. METHODS OF STUDYING CORRELATION METHODS SCATTER DIAGRAM KARL PEARSON COEFFICIENT SPEARMAN'S RANK
  • 12. SCATTER DIAGRAM Rectangular coordinate Two quantitative variables 1 variable: independent (X) & 2nd: dependent (Y) Points are not joined
  • 13. KARL PEARSON COEFFICIENT • Statistic showing the degree of relationship b/w two variables. • represented by 'r' • called Pearson's correlation
  • 14. SPEARMAN'S RANK Actual measurement of objects/individualsActual measurement of objects/individuals not availablenot available Accurate assesment is not possibleAccurate assesment is not possible Arranged in orderArranged in order Ordered arrangement: RankingOrdered arrangement: Ranking Order Given to object: RanksOrder Given to object: Ranks Correlation blw two sets X & Y: RankCorrelation blw two sets X & Y: Rank correlationcorrelation
  • 15. PROCEDURE  Rank values of X from 1-nRank values of X from 1-n n: # of pairs of values of X & Yn: # of pairs of values of X & Y  Rank Y from 1-nRank Y from 1-n  Compute value of 'di' by Xi - YiCompute value of 'di' by Xi - Yi  Square each di & compute ∑diSquare each di & compute ∑di22  Apply formula;Apply formula; 2 s 2 6 (di) r 1 n(n 1) = − − ∑
  • 16. EXAMPLE In a study of the relationship between level education andIn a study of the relationship between level education and income the following data was obtained. Find the relationshipincome the following data was obtained. Find the relationship between them and comment.between them and comment. sample numbers level education (X) Income (Y) A Preparatory.Preparatory. 25 B Primary.Primary. 10 C University.University. 8 D secondarysecondary 10 E secondarysecondary 15 F illiterateilliterate 50 G University.University. 60
  • 17. X Y rank X rank Y di di2 A Preparato ry 25 5 3 2 4 B Primary 10 6 5.5 0.5 0.25 C University 8 1.5 7 -5.5 30.25 D secondary 10 3.5 5.5 -2 4 E secondary 15 3.5 4 -0.5 0.25 F illiterate 50 7 2 5 25 G university 60 1.5 1 0.5 0.25 ∑ di2 =64
  • 18. Conclusion:Conclusion: There is an indirect weak correlationThere is an indirect weak correlation between level of education and income.between level of education and income. 1.0 )48(7 646 1 −= × −=sr
  • 20. TYPE 1 Type 1 Negative NO Perfect Positive
  • 21. • POSITIVE - both either increase or decrease • NEGATIVE - one increase while other decrease • NO - no correlation • PERFECT - both variables are independents
  • 22. EXAMPLES +ive Relationships • WAter consumption & temperature • Study times & grades -ive Relationships • Alcohol consumption & driving ability • Price & Quantity demanded
  • 24. • LINEAR - Perfect straight line on graph • NON-LINEAR - Not a perfect straight line
  • 25. TYPE 3 Type 3 Simple Multiple Partial
  • 26. • SIMPLE - 1 independent & 1 dependent variable • MULTIPLE - 1 dep & more than 1 indep variable • PARTIAL - 1 dep & more than 1 indep variable bt only 1 indep variable is considered while other const
  • 27. COEFFICIENT OF CORRELATION Measure of the strength of linear relationship b/w two variables. Represented by 'r' 'r' lies b/w +1 & -1 -1 ≤ r ≤ +1  +ive sign = +ive linear correlation  -ive sign = -ive linear correlation
  • 28. MATHEMATICALLY 'r' 2 2 2 2 ( )( ) [ ( ) ][ ( ) ] n xy x y r n x x n y y − = − − ∑ ∑ ∑ ∑ ∑ ∑ ∑
  • 30. INTERPRETATION -1 ≤ r ≤ +1 -1 10-0.25-0.75 0.750.25 strong strongintermediate intermediateweak weak no relation perfect correlation perfect correlation Directindirect
  • 31. CORRELATIION: LINEAR RELATIONSHIPS 0 20 40 60 80 100 120 140 160 180 0 50 100 150 200 250 Drug A (dose in mg) SymptomIndex 0 20 40 60 80 100 120 140 160 0 50 100 150 200 250 Drug B (dose in mg) SymptomIndex Srong Relationship → Good linear fit Points clustered closely around a line show a strong correlation. The line is a good predictor (good fit) with the data. The more spread out the points, the weaker the correlation, and the less good the fit. The line is a REGRESSSION line (Y = bX + a)
  • 32. r : shows relationship b/w variables either +ive or -ive r2 : shows % of variation by best fit line
  • 33. Example:Example: A sample of 6 children was selected, data about their ageA sample of 6 children was selected, data about their age in years and weight in kilograms was recorded as shownin years and weight in kilograms was recorded as shown in the following table . It is required to find thein the following table . It is required to find the correlation between age and weight.correlation between age and weight. serial # Age X I.V(years) Weight Y D.V(Kg) 1 7 12 2 6 8 3 8 12 4 5 10 5 6 11 6 9 13
  • 34. Serial n. Age (years) (x) Weight (Kg) (y) xy X2 Y2 1 7 12 84 49 144 2 6 8 48 36 64 3 8 12 96 64 144 4 5 10 50 25 100 5 6 11 66 36 121 6 9 13 117 81 169 Total ∑x= 41 ∑y= 66 ∑xy= 461 ∑x2 = 291 ∑y2 = 742
  • 35. r = 0.759r = 0.759 strong direct correlationstrong direct correlation 2 2 41 66 461 6r (41) (66) 291 . 742 6 6 × − =     − −        2 2 2 2 x y xy nr ( x) ( y) x . y n n − =     − − ÷ ÷ ÷ ÷     ∑ ∑∑ ∑ ∑∑ ∑
  • 36. APPLICATIONS Estimating & improving., Seasonal sales for departmental stores Quantity demanded & production Motivating tools for employees Cost of products demanded accuracy of estimations for demands for sails Inflation & real wage Oil exploration
  • 37. Moreover, Radar system is field where correlation is vehicle to map distance & in communication, for instance in digital receivers.
  • 38. SPSS TUTORIAL 1.Analyz 2.Correlate 3. (Bivariate) Points to be noted: Confidence Level Correlation is highly significant 0.01** Correlation is significant 0.05*

Editor's Notes

  1. [linear: heat wave] ; worker doubl=produ,double & [non linear: pressure and volume]
  2. r2 = coefficient of determination
  3. points 2 b noted: confidence level, n (sample) & pearsons correlation