Correlation and Regression 2
Correlation and Regression 2
Understanding Correlation
Correlation refers to a statistical measure that determines the degree to which two variables are
related. It assesses whether changes in one variable correspond with changes in another and
quantifies this relationship using a correlation coefficient, typically denoted as r.
Types of Correlation
1. Positive Correlation: When an increase in one variable is associated with an increase in another.
2. Negative Correlation: When an increase in one variable leads to a decrease in another.
3. Zero Correlation: When there is no relationship between the two variables.
r = [ Sigma (Xi - X_bar)(Yi - Y_bar) ] / [ sqrt( Sigma (Xi - X_bar)^2 ) * sqrt( Sigma (Yi - Y_bar)^2 ) ]
where X_bar and Y_bar are the mean values of X and Y.
where Y is the dependent variable, X is the independent variable, a is the intercept, and b is the
slope.