Professional Documents
Culture Documents
Correlation - Probability and Statistis
Correlation - Probability and Statistis
Correlation - Probability and Statistis
Such data are called bi-variate data. Ex: Potential sale of new product and its price. Family expenditure on travel and its income. Patients' weight and number of weeks he or she has been given a diet. Yield of a variety of wheat and rainfall.
Major objective of correlation analysis is to measure the extent of relationship between two variables. Objective of regression is to establish the relationship between the two variables, which can be further used for predicting one variable on the basis of given value of other variable.
cov( X , Y ) r xy
x y
r xy
x y n X Y
i 1 i i
x n X
i 1 2 i
2 y n Y i 1 2 i
Result: -1rxy1. When rxy=1, we say that X and Y are perfectly (positively or negatively) correlated. When rxy=0, we say that X and Y are uncorrelated. Notice that rxy=ryx.