SlideShare a Scribd company logo
Correlation-Regression
It deals with association between two or
more variables
Correlation analysis deals with
covariation between two or more
variables
Types
1. Positive or negative
Simple or multiple
Linear or non-linear
Methods of Measuring correlation
1. Graphic Method
2. Diagramatic Method- Scatter Diagram
3. Algebraic method
a. Karl Pearson’s Coefficient of correlation
b. Spearman’s Rank Co-efficient Correlation
c. Coefficient of Concurrent deviations
d. Least Squares Method
Karl Pearson’s Coefficient of Correlation
Σ dx dy
γ ( Gamma) = -------------------------
√ Σ dx2
Σ dy2
Σ dx dy
= -------------------------
N σxσy
dx = x-xbar
dy = y- ybar
dx dy = sum of products of deviations from
respective arithmetic means of both series
Karl Pearson’s Coefficient of Correlation
After calculating assumed or working mean Ax &
Ay
Σ dx dy – (Σ dx) *( Σ dy)
γ ( Gamma) = --------------------------------
√ [ NΣ dx2
- (Σ dx)2
* [Σ Ndy2
- (Σ dy)2
]
Σ dx dy = total of products of deviation from
assumed means of x and y series
Σ dx = total of deviations of x series
Σ dy = total of deviations of y series
Σ dx2
= total of squared deviations of x series
Σ dy2
= total of squared deviations of y series
N= No. of items ( no. of paired items
Karl Pearson’s Coefficient of Correlation
After calculating assumed or working mean Ax &
Ay
Σ dx x Σ dy
Σ dx dy - ----------------
N
γ ( Gamma) = -------------------------
(Σ dx)2
(Σ dy)2
√ [ Σ dx2
- --------- ] x [ Σ dy2
- ------------]
N N
Assumptions of Karl Pearson’s Coefficient of
Correlation
1. Linear relationship exists between the variables
Properties of Karl Pearson’s Coefficient of
Correlation
1.value lies between +1 & - 1
2.Zero means no correlation
3.γ ( Gamma) = √ bxy X byx
Where bxy X byx are regression coefficicent
Merit
Convenient for accurate interpretation as it gives
degree & direction of relationship between two
variables
Limitations
1. Assumes linear relationship , even though it
may not be
2. Method & process of calculation is difficult &
time consuming
3. Affected by extreme values in distribution
Probable Error of Karl Pearson’s Coefficient of
Correlation
1- γ2
Probable Error of γ ( Gamma) = 0.6745 --------
√ N
Q7.Calculate coefficient of correlation for following data
X
65 63 67 64 68 62 70 66 68 67 69 71
Y 68 66 68 65 69 66 68 65 71 67 68 70
Ans Σ dx dy
γ ( Gamma) = -------------------------
√ Σ dx2
Σ dy2
Σ dx dy
= -------------------
N σxσy
1 2 3 4 5 6 7 8 9 10 11 12
Su
mX Xbar
X 65 63 67 64 68 62 70 66 68 67 69 71 800 66.67
Y 68 66 68 65 69 66 68 65 71 67 68 70 811 67.58
dx=x-xbar -1.67 -3.67 0.33 -2.67 1.33 -4.67 3.33 -0.67 1.33 0.33 2.33 4.33
dx2
2.78 13.44 0.11 7.11 1.78 21.78 11.11 0.44 1.78 0.11 5.44 18.78
84.
67
dx.dy -0.69 5.81 0.14 6.89 1.89 7.39 1.39 1.72 4.56 -0.19 0.97 10.47
40.
33
dy=y-ybar 0.42 -1.58 0.42 -2.58 1.42 -1.58 0.42 -2.58 3.42 -0.58 0.42 2.42
dy2
0.17 2.51 0.17 6.67 2.01 2.51 0.17 6.67 11.67 0.34 0.17 5.84
38.
92
Σ dx dy
sum dx2*
sumdy2
3294.
9
√ Σ dx2 Σ dy2 57.40
coeff of
correlation = 0.70
Q8. following information about age of husbands
& wives. Find correlation coefficient
Husband
23 27 28 29 30 31 33 35 36 39
Wife 18 22 23 24 25 26 28 29 30 32
γ ( Gamma) =0.99
1 2 3 4 5 6 7 8 9 10
Sum
X Xbar
X 23 27 28 29 30 31 33 35 36 39 311 31.10
Y 18 22 23 24 25 26 28 29 30 32 257 25.70
dx=x-
xbar -8.10 -4.10 -3.10 -2.10 -1.10 -0.10 1.90 3.90 4.90 7.90
dx2
65.61 16.81 9.61 4.41 1.21 0.01 3.61 15.21 24.01 62.41
202.
9
dx.dy 62.37 15.17 8.37 3.57 0.77 -0.03 4.37 12.87 21.07 49.77
178.
3
dy=y-
ybar -7.70 -3.70 -2.70 -1.70 -0.70 0.30 2.30 3.30 4.30 6.30
dy2
59.29 13.69 7.29 2.89 0.49 0.09 5.29 10.89 18.49 39.69
158.
1
Σ dx dy sum dx2* sumdy2
32078.4
9
√ Σ dx2 Σ dy2 179.10
coeff of correlation
= 1.00
Q9. ten competitors in a cooking competition are
ranked by three judges in the following way .by
using rank coorelation method find out which
pair of judges have nearest approach
Ans P&Q= -0.21 , Q &R=--0.3 P &R = +0.64
Q9. ten competitors in a cooking competition are ranked
by three judges in the following way .by using rank
coorelation method find out which pair of judges have
nearest approach
P Q R
1 1 3 6
2 6 5 4
3 5 8 9
4 10 4 8
5 3 7 1
6 2 10 2
7 4 2 3
8 9 1 10
9 7 6 5
10 8 9 7
Rank coefficient of correlation
6Σ d2
ρ (rho) = 1 - -------------------
N3
-N
Σ d2
= total of squared difference
N = number of items
P Q R
Rp-
Rq dpq2
Rq-
Rr dqr2
Rp-
Rr dpr2
1 1 3 6 -2 4 -3 9 -5 25
2 6 5 4 1 1 1 1 2 4
3 5 8 9 -3 9 -1 1 -4 16
4 10 4 8 6 36 -4 16 2 4
5 3 7 1 -4 16 6 36 2 4
6 2 10 2 -8 64 8 64 0 0
7 4 2 3 2 4 -1 1 1 1
8 9 1 10 8 64 -9 81 -1 1
9 7 6 5 1 1 1 1 2 4
10 8 9 7 -1 1 2 4 1 1
1000 200 214 0 60
6Sigma d2 1200 1284 360
N3
-N 990 6Sigma d2/N3
-N 1.21 1.297 0.3636
P= -0.21 -0.297 0.636364

More Related Content

What's hot

Linear function and slopes of a line
Linear function and slopes of a lineLinear function and slopes of a line
Linear function and slopes of a line
Jerlyn Fernandez
 
Iterativos Methods
Iterativos MethodsIterativos Methods
Iterativos Methods
Jeannie
 

What's hot (19)

Presentation on Regression Analysis
Presentation on Regression AnalysisPresentation on Regression Analysis
Presentation on Regression Analysis
 
Basic calculus (i)
Basic calculus (i)Basic calculus (i)
Basic calculus (i)
 
Linear function and slopes of a line
Linear function and slopes of a lineLinear function and slopes of a line
Linear function and slopes of a line
 
5 regression
5 regression5 regression
5 regression
 
Regression analysis
Regression analysisRegression analysis
Regression analysis
 
Regression
Regression Regression
Regression
 
Correlation and Regression
Correlation and RegressionCorrelation and Regression
Correlation and Regression
 
Iterativos Methods
Iterativos MethodsIterativos Methods
Iterativos Methods
 
Direct Methods For The Solution Of Systems Of
Direct Methods For The Solution Of Systems OfDirect Methods For The Solution Of Systems Of
Direct Methods For The Solution Of Systems Of
 
Principle of Least Square, its Properties, Regression line and standard error...
Principle of Least Square, its Properties, Regression line and standard error...Principle of Least Square, its Properties, Regression line and standard error...
Principle of Least Square, its Properties, Regression line and standard error...
 
Course pack unit 5
Course pack unit 5Course pack unit 5
Course pack unit 5
 
Gauss jordan and Guass elimination method
Gauss jordan and Guass elimination methodGauss jordan and Guass elimination method
Gauss jordan and Guass elimination method
 
Consistency of linear equations in two and three variables
Consistency of linear equations in two and three variablesConsistency of linear equations in two and three variables
Consistency of linear equations in two and three variables
 
Unidad 1 (segunda parte)
Unidad 1 (segunda parte)Unidad 1 (segunda parte)
Unidad 1 (segunda parte)
 
Correlation & regression (3)
Correlation & regression (3)Correlation & regression (3)
Correlation & regression (3)
 
REGRESSION ANALYSIS
REGRESSION ANALYSISREGRESSION ANALYSIS
REGRESSION ANALYSIS
 
Regression Analysis
Regression AnalysisRegression Analysis
Regression Analysis
 
Basic calculus (ii) recap
Basic calculus (ii) recapBasic calculus (ii) recap
Basic calculus (ii) recap
 
Linear equation in two variables
Linear equation in two variablesLinear equation in two variables
Linear equation in two variables
 

Similar to Correlation & regression uwsb (3)

Measures of variation and dispersion report
Measures of variation and dispersion reportMeasures of variation and dispersion report
Measures of variation and dispersion report
Angelo
 

Similar to Correlation & regression uwsb (3) (20)

Correlation & regression
Correlation & regression Correlation & regression
Correlation & regression
 
Correlation & regression (2)
Correlation & regression (2)Correlation & regression (2)
Correlation & regression (2)
 
Correlation & regression uwsb
Correlation & regression   uwsbCorrelation & regression   uwsb
Correlation & regression uwsb
 
Correlation
CorrelationCorrelation
Correlation
 
Correlation continued
Correlation continuedCorrelation continued
Correlation continued
 
TABREZ KHAN.ppt
TABREZ KHAN.pptTABREZ KHAN.ppt
TABREZ KHAN.ppt
 
PEARSON PRODUCT MOMENT CORRELATION COEFFICIENT
PEARSON PRODUCT MOMENT CORRELATION COEFFICIENTPEARSON PRODUCT MOMENT CORRELATION COEFFICIENT
PEARSON PRODUCT MOMENT CORRELATION COEFFICIENT
 
Determinants
DeterminantsDeterminants
Determinants
 
matrices and determinantes
matrices and determinantes matrices and determinantes
matrices and determinantes
 
Core 2 revision notes
Core 2 revision notesCore 2 revision notes
Core 2 revision notes
 
Measures of variation and dispersion report
Measures of variation and dispersion reportMeasures of variation and dispersion report
Measures of variation and dispersion report
 
Pearson's correlation
Pearson's correlationPearson's correlation
Pearson's correlation
 
correlation (3).pdf
correlation (3).pdfcorrelation (3).pdf
correlation (3).pdf
 
Introduction of determinant
Introduction of determinantIntroduction of determinant
Introduction of determinant
 
Vectors2
Vectors2Vectors2
Vectors2
 
simple linear regression - brief introduction
simple linear regression - brief introductionsimple linear regression - brief introduction
simple linear regression - brief introduction
 
determinants-160504230830.pdf
determinants-160504230830.pdfdeterminants-160504230830.pdf
determinants-160504230830.pdf
 
determinants-160504230830_repaired.pdf
determinants-160504230830_repaired.pdfdeterminants-160504230830_repaired.pdf
determinants-160504230830_repaired.pdf
 
Determinants and matrices.ppt
Determinants and matrices.pptDeterminants and matrices.ppt
Determinants and matrices.ppt
 
1.trigonometry Further Mathematics Zimbabwe Zimsec Cambridge
1.trigonometry Further Mathematics Zimbabwe Zimsec Cambridge1.trigonometry Further Mathematics Zimbabwe Zimsec Cambridge
1.trigonometry Further Mathematics Zimbabwe Zimsec Cambridge
 

More from Arnab Roy Chowdhury

Unnati - Unitedworld School of Business
Unnati - Unitedworld School of BusinessUnnati - Unitedworld School of Business
Unnati - Unitedworld School of Business
Arnab Roy Chowdhury
 
Training and developement - Unitedworld School of Business
Training and developement - Unitedworld School of BusinessTraining and developement - Unitedworld School of Business
Training and developement - Unitedworld School of Business
Arnab Roy Chowdhury
 
The organizational structure, managers and activities Ppt - Unitedworld Schoo...
The organizational structure, managers and activities Ppt - Unitedworld Schoo...The organizational structure, managers and activities Ppt - Unitedworld Schoo...
The organizational structure, managers and activities Ppt - Unitedworld Schoo...
Arnab Roy Chowdhury
 
The environment protection act,1986 - Unitedworld School of Business
The  environment protection act,1986 - Unitedworld School of BusinessThe  environment protection act,1986 - Unitedworld School of Business
The environment protection act,1986 - Unitedworld School of Business
Arnab Roy Chowdhury
 
Tean color - Unitedworld School of Business
Tean color - Unitedworld School of BusinessTean color - Unitedworld School of Business
Tean color - Unitedworld School of Business
Arnab Roy Chowdhury
 
Target market - Unitedworld School of Business
Target market - Unitedworld School of BusinessTarget market - Unitedworld School of Business
Target market - Unitedworld School of Business
Arnab Roy Chowdhury
 
Service marketing - Unitedworld School of Business
Service marketing - Unitedworld School of BusinessService marketing - Unitedworld School of Business
Service marketing - Unitedworld School of Business
Arnab Roy Chowdhury
 
Sales of goods act - Unitedworld School of Business
Sales of goods act - Unitedworld School of BusinessSales of goods act - Unitedworld School of Business
Sales of goods act - Unitedworld School of Business
Arnab Roy Chowdhury
 
Sales force automation - Unitedworld School of Business
Sales force automation - Unitedworld School of BusinessSales force automation - Unitedworld School of Business
Sales force automation - Unitedworld School of Business
Arnab Roy Chowdhury
 
Sage advance case - Unitedworld School of Business
Sage advance case - Unitedworld School of BusinessSage advance case - Unitedworld School of Business
Sage advance case - Unitedworld School of Business
Arnab Roy Chowdhury
 
Recruitment - Unitedworld School of Business
Recruitment - Unitedworld School of BusinessRecruitment - Unitedworld School of Business
Recruitment - Unitedworld School of Business
Arnab Roy Chowdhury
 
R.m case study - Unitedworld School of Business
R.m case study - Unitedworld School of BusinessR.m case study - Unitedworld School of Business
R.m case study - Unitedworld School of Business
Arnab Roy Chowdhury
 
Personal values - Unitedworld School of Business
Personal values - Unitedworld School of BusinessPersonal values - Unitedworld School of Business
Personal values - Unitedworld School of Business
Arnab Roy Chowdhury
 
Personal selling & sales management - Unitedworld School of Business
Personal selling & sales management - Unitedworld School of BusinessPersonal selling & sales management - Unitedworld School of Business
Personal selling & sales management - Unitedworld School of Business
Arnab Roy Chowdhury
 
Normal distribution - Unitedworld School of Business
Normal distribution - Unitedworld School of BusinessNormal distribution - Unitedworld School of Business
Normal distribution - Unitedworld School of Business
Arnab Roy Chowdhury
 
New media literacy - Unitedworld School of Business
New media literacy - Unitedworld School of BusinessNew media literacy - Unitedworld School of Business
New media literacy - Unitedworld School of Business
Arnab Roy Chowdhury
 

More from Arnab Roy Chowdhury (20)

Working of barcode reader Ppt - Unitedworld School of Business
Working of barcode reader Ppt - Unitedworld School of BusinessWorking of barcode reader Ppt - Unitedworld School of Business
Working of barcode reader Ppt - Unitedworld School of Business
 
Unnati - Unitedworld School of Business
Unnati - Unitedworld School of BusinessUnnati - Unitedworld School of Business
Unnati - Unitedworld School of Business
 
Classification and Characteristics of All Banks - Unitedworld School of Busi...
Classification and Characteristics of All Banks  - Unitedworld School of Busi...Classification and Characteristics of All Banks  - Unitedworld School of Busi...
Classification and Characteristics of All Banks - Unitedworld School of Busi...
 
Training and developement - Unitedworld School of Business
Training and developement - Unitedworld School of BusinessTraining and developement - Unitedworld School of Business
Training and developement - Unitedworld School of Business
 
The organizational structure, managers and activities Ppt - Unitedworld Schoo...
The organizational structure, managers and activities Ppt - Unitedworld Schoo...The organizational structure, managers and activities Ppt - Unitedworld Schoo...
The organizational structure, managers and activities Ppt - Unitedworld Schoo...
 
The IT - IS and its influence Ppt - Unitedworld School of Business
The IT - IS and its influence Ppt - Unitedworld School of BusinessThe IT - IS and its influence Ppt - Unitedworld School of Business
The IT - IS and its influence Ppt - Unitedworld School of Business
 
The environment protection act,1986 - Unitedworld School of Business
The  environment protection act,1986 - Unitedworld School of BusinessThe  environment protection act,1986 - Unitedworld School of Business
The environment protection act,1986 - Unitedworld School of Business
 
Tean color - Unitedworld School of Business
Tean color - Unitedworld School of BusinessTean color - Unitedworld School of Business
Tean color - Unitedworld School of Business
 
Target market - Unitedworld School of Business
Target market - Unitedworld School of BusinessTarget market - Unitedworld School of Business
Target market - Unitedworld School of Business
 
Service marketing - Unitedworld School of Business
Service marketing - Unitedworld School of BusinessService marketing - Unitedworld School of Business
Service marketing - Unitedworld School of Business
 
Selection Process in HR - Unitedworld School of Business
Selection Process in HR - Unitedworld School of BusinessSelection Process in HR - Unitedworld School of Business
Selection Process in HR - Unitedworld School of Business
 
Sales of goods act - Unitedworld School of Business
Sales of goods act - Unitedworld School of BusinessSales of goods act - Unitedworld School of Business
Sales of goods act - Unitedworld School of Business
 
Sales force automation - Unitedworld School of Business
Sales force automation - Unitedworld School of BusinessSales force automation - Unitedworld School of Business
Sales force automation - Unitedworld School of Business
 
Sage advance case - Unitedworld School of Business
Sage advance case - Unitedworld School of BusinessSage advance case - Unitedworld School of Business
Sage advance case - Unitedworld School of Business
 
Recruitment - Unitedworld School of Business
Recruitment - Unitedworld School of BusinessRecruitment - Unitedworld School of Business
Recruitment - Unitedworld School of Business
 
R.m case study - Unitedworld School of Business
R.m case study - Unitedworld School of BusinessR.m case study - Unitedworld School of Business
R.m case study - Unitedworld School of Business
 
Personal values - Unitedworld School of Business
Personal values - Unitedworld School of BusinessPersonal values - Unitedworld School of Business
Personal values - Unitedworld School of Business
 
Personal selling & sales management - Unitedworld School of Business
Personal selling & sales management - Unitedworld School of BusinessPersonal selling & sales management - Unitedworld School of Business
Personal selling & sales management - Unitedworld School of Business
 
Normal distribution - Unitedworld School of Business
Normal distribution - Unitedworld School of BusinessNormal distribution - Unitedworld School of Business
Normal distribution - Unitedworld School of Business
 
New media literacy - Unitedworld School of Business
New media literacy - Unitedworld School of BusinessNew media literacy - Unitedworld School of Business
New media literacy - Unitedworld School of Business
 

Recently uploaded

The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
kaushalkr1407
 
678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf
CarlosHernanMontoyab2
 
plant breeding methods in asexually or clonally propagated crops
plant breeding methods in asexually or clonally propagated cropsplant breeding methods in asexually or clonally propagated crops
plant breeding methods in asexually or clonally propagated crops
parmarsneha2
 

Recently uploaded (20)

PART A. Introduction to Costumer Service
PART A. Introduction to Costumer ServicePART A. Introduction to Costumer Service
PART A. Introduction to Costumer Service
 
How to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERPHow to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERP
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
 
50 ĐỀ LUYỆN THI IOE LỚP 9 - NĂM HỌC 2022-2023 (CÓ LINK HÌNH, FILE AUDIO VÀ ĐÁ...
50 ĐỀ LUYỆN THI IOE LỚP 9 - NĂM HỌC 2022-2023 (CÓ LINK HÌNH, FILE AUDIO VÀ ĐÁ...50 ĐỀ LUYỆN THI IOE LỚP 9 - NĂM HỌC 2022-2023 (CÓ LINK HÌNH, FILE AUDIO VÀ ĐÁ...
50 ĐỀ LUYỆN THI IOE LỚP 9 - NĂM HỌC 2022-2023 (CÓ LINK HÌNH, FILE AUDIO VÀ ĐÁ...
 
NCERT Solutions Power Sharing Class 10 Notes pdf
NCERT Solutions Power Sharing Class 10 Notes pdfNCERT Solutions Power Sharing Class 10 Notes pdf
NCERT Solutions Power Sharing Class 10 Notes pdf
 
678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
 
Basic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumersBasic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumers
 
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptxMARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
 
UNIT – IV_PCI Complaints: Complaints and evaluation of complaints, Handling o...
UNIT – IV_PCI Complaints: Complaints and evaluation of complaints, Handling o...UNIT – IV_PCI Complaints: Complaints and evaluation of complaints, Handling o...
UNIT – IV_PCI Complaints: Complaints and evaluation of complaints, Handling o...
 
NLC-2024-Orientation-for-RO-SDO (1).pptx
NLC-2024-Orientation-for-RO-SDO (1).pptxNLC-2024-Orientation-for-RO-SDO (1).pptx
NLC-2024-Orientation-for-RO-SDO (1).pptx
 
Embracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic ImperativeEmbracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic Imperative
 
plant breeding methods in asexually or clonally propagated crops
plant breeding methods in asexually or clonally propagated cropsplant breeding methods in asexually or clonally propagated crops
plant breeding methods in asexually or clonally propagated crops
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
Basic_QTL_Marker-assisted_Selection_Sourabh.ppt
Basic_QTL_Marker-assisted_Selection_Sourabh.pptBasic_QTL_Marker-assisted_Selection_Sourabh.ppt
Basic_QTL_Marker-assisted_Selection_Sourabh.ppt
 
Jose-Rizal-and-Philippine-Nationalism-National-Symbol-2.pptx
Jose-Rizal-and-Philippine-Nationalism-National-Symbol-2.pptxJose-Rizal-and-Philippine-Nationalism-National-Symbol-2.pptx
Jose-Rizal-and-Philippine-Nationalism-National-Symbol-2.pptx
 
Basic Civil Engineering Notes of Chapter-6, Topic- Ecosystem, Biodiversity G...
Basic Civil Engineering Notes of Chapter-6,  Topic- Ecosystem, Biodiversity G...Basic Civil Engineering Notes of Chapter-6,  Topic- Ecosystem, Biodiversity G...
Basic Civil Engineering Notes of Chapter-6, Topic- Ecosystem, Biodiversity G...
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
 
How to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS ModuleHow to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS Module
 
Solid waste management & Types of Basic civil Engineering notes by DJ Sir.pptx
Solid waste management & Types of Basic civil Engineering notes by DJ Sir.pptxSolid waste management & Types of Basic civil Engineering notes by DJ Sir.pptx
Solid waste management & Types of Basic civil Engineering notes by DJ Sir.pptx
 

Correlation & regression uwsb (3)

  • 2. It deals with association between two or more variables Correlation analysis deals with covariation between two or more variables Types 1. Positive or negative Simple or multiple Linear or non-linear
  • 3. Methods of Measuring correlation 1. Graphic Method 2. Diagramatic Method- Scatter Diagram 3. Algebraic method a. Karl Pearson’s Coefficient of correlation b. Spearman’s Rank Co-efficient Correlation c. Coefficient of Concurrent deviations d. Least Squares Method
  • 4. Karl Pearson’s Coefficient of Correlation Σ dx dy γ ( Gamma) = ------------------------- √ Σ dx2 Σ dy2 Σ dx dy = ------------------------- N σxσy dx = x-xbar dy = y- ybar dx dy = sum of products of deviations from respective arithmetic means of both series
  • 5. Karl Pearson’s Coefficient of Correlation After calculating assumed or working mean Ax & Ay Σ dx dy – (Σ dx) *( Σ dy) γ ( Gamma) = -------------------------------- √ [ NΣ dx2 - (Σ dx)2 * [Σ Ndy2 - (Σ dy)2 ] Σ dx dy = total of products of deviation from assumed means of x and y series Σ dx = total of deviations of x series Σ dy = total of deviations of y series Σ dx2 = total of squared deviations of x series Σ dy2 = total of squared deviations of y series N= No. of items ( no. of paired items
  • 6. Karl Pearson’s Coefficient of Correlation After calculating assumed or working mean Ax & Ay Σ dx x Σ dy Σ dx dy - ---------------- N γ ( Gamma) = ------------------------- (Σ dx)2 (Σ dy)2 √ [ Σ dx2 - --------- ] x [ Σ dy2 - ------------] N N
  • 7. Assumptions of Karl Pearson’s Coefficient of Correlation 1. Linear relationship exists between the variables Properties of Karl Pearson’s Coefficient of Correlation 1.value lies between +1 & - 1 2.Zero means no correlation 3.γ ( Gamma) = √ bxy X byx Where bxy X byx are regression coefficicent Merit Convenient for accurate interpretation as it gives degree & direction of relationship between two variables
  • 8. Limitations 1. Assumes linear relationship , even though it may not be 2. Method & process of calculation is difficult & time consuming 3. Affected by extreme values in distribution
  • 9. Probable Error of Karl Pearson’s Coefficient of Correlation 1- γ2 Probable Error of γ ( Gamma) = 0.6745 -------- √ N
  • 10. Q7.Calculate coefficient of correlation for following data X 65 63 67 64 68 62 70 66 68 67 69 71 Y 68 66 68 65 69 66 68 65 71 67 68 70 Ans Σ dx dy γ ( Gamma) = ------------------------- √ Σ dx2 Σ dy2 Σ dx dy = ------------------- N σxσy
  • 11. 1 2 3 4 5 6 7 8 9 10 11 12 Su mX Xbar X 65 63 67 64 68 62 70 66 68 67 69 71 800 66.67 Y 68 66 68 65 69 66 68 65 71 67 68 70 811 67.58 dx=x-xbar -1.67 -3.67 0.33 -2.67 1.33 -4.67 3.33 -0.67 1.33 0.33 2.33 4.33 dx2 2.78 13.44 0.11 7.11 1.78 21.78 11.11 0.44 1.78 0.11 5.44 18.78 84. 67 dx.dy -0.69 5.81 0.14 6.89 1.89 7.39 1.39 1.72 4.56 -0.19 0.97 10.47 40. 33 dy=y-ybar 0.42 -1.58 0.42 -2.58 1.42 -1.58 0.42 -2.58 3.42 -0.58 0.42 2.42 dy2 0.17 2.51 0.17 6.67 2.01 2.51 0.17 6.67 11.67 0.34 0.17 5.84 38. 92 Σ dx dy sum dx2* sumdy2 3294. 9 √ Σ dx2 Σ dy2 57.40 coeff of correlation = 0.70
  • 12. Q8. following information about age of husbands & wives. Find correlation coefficient Husband 23 27 28 29 30 31 33 35 36 39 Wife 18 22 23 24 25 26 28 29 30 32 γ ( Gamma) =0.99
  • 13. 1 2 3 4 5 6 7 8 9 10 Sum X Xbar X 23 27 28 29 30 31 33 35 36 39 311 31.10 Y 18 22 23 24 25 26 28 29 30 32 257 25.70 dx=x- xbar -8.10 -4.10 -3.10 -2.10 -1.10 -0.10 1.90 3.90 4.90 7.90 dx2 65.61 16.81 9.61 4.41 1.21 0.01 3.61 15.21 24.01 62.41 202. 9 dx.dy 62.37 15.17 8.37 3.57 0.77 -0.03 4.37 12.87 21.07 49.77 178. 3 dy=y- ybar -7.70 -3.70 -2.70 -1.70 -0.70 0.30 2.30 3.30 4.30 6.30 dy2 59.29 13.69 7.29 2.89 0.49 0.09 5.29 10.89 18.49 39.69 158. 1 Σ dx dy sum dx2* sumdy2 32078.4 9 √ Σ dx2 Σ dy2 179.10 coeff of correlation = 1.00
  • 14. Q9. ten competitors in a cooking competition are ranked by three judges in the following way .by using rank coorelation method find out which pair of judges have nearest approach Ans P&Q= -0.21 , Q &R=--0.3 P &R = +0.64
  • 15. Q9. ten competitors in a cooking competition are ranked by three judges in the following way .by using rank coorelation method find out which pair of judges have nearest approach P Q R 1 1 3 6 2 6 5 4 3 5 8 9 4 10 4 8 5 3 7 1 6 2 10 2 7 4 2 3 8 9 1 10 9 7 6 5 10 8 9 7
  • 16. Rank coefficient of correlation 6Σ d2 ρ (rho) = 1 - ------------------- N3 -N Σ d2 = total of squared difference N = number of items
  • 17. P Q R Rp- Rq dpq2 Rq- Rr dqr2 Rp- Rr dpr2 1 1 3 6 -2 4 -3 9 -5 25 2 6 5 4 1 1 1 1 2 4 3 5 8 9 -3 9 -1 1 -4 16 4 10 4 8 6 36 -4 16 2 4 5 3 7 1 -4 16 6 36 2 4 6 2 10 2 -8 64 8 64 0 0 7 4 2 3 2 4 -1 1 1 1 8 9 1 10 8 64 -9 81 -1 1 9 7 6 5 1 1 1 1 2 4 10 8 9 7 -1 1 2 4 1 1 1000 200 214 0 60 6Sigma d2 1200 1284 360 N3 -N 990 6Sigma d2/N3 -N 1.21 1.297 0.3636 P= -0.21 -0.297 0.636364