Correlation
Transcript of Correlation
![Page 1: Correlation](https://reader036.fdocuments.net/reader036/viewer/2022082706/55c5977abb61ebd30d8b4704/html5/thumbnails/1.jpg)
Correlation And Regression
Created By :-Shrayas.sWesley.V
Tahir hussain Qureshi
![Page 2: Correlation](https://reader036.fdocuments.net/reader036/viewer/2022082706/55c5977abb61ebd30d8b4704/html5/thumbnails/2.jpg)
CORRELATION
• When we have data on only one variable we can find arithmetic mean , median , mode or variance of the variable.
• By saying that marks scored by students at s.s.c. and h.s.c. are related is not sufficient to measure degree of relationship.
![Page 3: Correlation](https://reader036.fdocuments.net/reader036/viewer/2022082706/55c5977abb61ebd30d8b4704/html5/thumbnails/3.jpg)
CORRELATION
To measure the degree of relationship we have following measure:
1. Scatter diagram method2. Co-variance method3. Karl-pearson’s coefficient of
correlation4. Spearman’s rank correlation
coefficient.
![Page 4: Correlation](https://reader036.fdocuments.net/reader036/viewer/2022082706/55c5977abb61ebd30d8b4704/html5/thumbnails/4.jpg)
Scatter Diagram
• A scatter diagram is used for analyzing relationships between two variables graphically . One variable is plotted on the horizontal axis and the other is plotted on the vertical axis.
• Types of Scatter diagram :1. Perfect positive correlation 2. Positive correlation3. Negative correlation4. Perfect negative correlation
![Page 5: Correlation](https://reader036.fdocuments.net/reader036/viewer/2022082706/55c5977abb61ebd30d8b4704/html5/thumbnails/5.jpg)
Perfect Positive correlation
![Page 6: Correlation](https://reader036.fdocuments.net/reader036/viewer/2022082706/55c5977abb61ebd30d8b4704/html5/thumbnails/6.jpg)
Positive correlation
![Page 7: Correlation](https://reader036.fdocuments.net/reader036/viewer/2022082706/55c5977abb61ebd30d8b4704/html5/thumbnails/7.jpg)
Negative correlation
![Page 8: Correlation](https://reader036.fdocuments.net/reader036/viewer/2022082706/55c5977abb61ebd30d8b4704/html5/thumbnails/8.jpg)
Perfect negative correlation
![Page 9: Correlation](https://reader036.fdocuments.net/reader036/viewer/2022082706/55c5977abb61ebd30d8b4704/html5/thumbnails/9.jpg)
Covariance method
• If(x1,y1),(x2,y2),........(xn,yn) are n observation on bivariate data then covariance between two variables is defined as
Using covariance the realtion between x and y is interpreted as under.if cov(x,y)<0 then there is negative correlation between x and y. If cov(x,y)=0 then there is no linear relationship nbetween x and y. If cov(x,y)>0 then there is positive correlation between x and y.
![Page 10: Correlation](https://reader036.fdocuments.net/reader036/viewer/2022082706/55c5977abb61ebd30d8b4704/html5/thumbnails/10.jpg)
KARL PEARSON’S COEFFICIENT
• If (xi,yi),i=1,2,....n are n pairs of observations on bivariate data then Karl Pearson’s coefficient of correlation between x and y is given by:
![Page 11: Correlation](https://reader036.fdocuments.net/reader036/viewer/2022082706/55c5977abb61ebd30d8b4704/html5/thumbnails/11.jpg)
Spearman’s rank correlation
• If (xi,yi),i=1,2,....n are n observation in bivariate data and Rx denotes the rank of X observation and Ry denotes the rank of Y observations then define d=Rx-Ry.
• Rank correlation coefficient between x and y is
![Page 12: Correlation](https://reader036.fdocuments.net/reader036/viewer/2022082706/55c5977abb61ebd30d8b4704/html5/thumbnails/12.jpg)
Regression
• Regression gives the functional relationship between two variables
![Page 13: Correlation](https://reader036.fdocuments.net/reader036/viewer/2022082706/55c5977abb61ebd30d8b4704/html5/thumbnails/13.jpg)
Regression means estimate value of one variable when value of other correlated variable are known.
Thus to estimate y, for given x, y is dependent and x is independent
variable. whereas to estimate x for given y, x is dependent and y is independent
variable.
![Page 14: Correlation](https://reader036.fdocuments.net/reader036/viewer/2022082706/55c5977abb61ebd30d8b4704/html5/thumbnails/14.jpg)
Accordingly we have two regression equation :
1)Regression equation of y on x 2) Regression equation of x on y
![Page 15: Correlation](https://reader036.fdocuments.net/reader036/viewer/2022082706/55c5977abb61ebd30d8b4704/html5/thumbnails/15.jpg)
Regression equation of y on x
Here y is dependent variable and x is independent variable.
And we denote By :-
![Page 16: Correlation](https://reader036.fdocuments.net/reader036/viewer/2022082706/55c5977abb61ebd30d8b4704/html5/thumbnails/16.jpg)
Regression equation of x on y :-
Here y is dependent variable and x is independent variable.
And we denote By :-
![Page 17: Correlation](https://reader036.fdocuments.net/reader036/viewer/2022082706/55c5977abb61ebd30d8b4704/html5/thumbnails/17.jpg)