Proof of Linear Regression Theory
Given:
Let’s break this down further:
Covariance and Standard Deviations
Linear Relationship
For a perfect linear relationship between (X) and (Y), we can write:
Expected Values
Substituting Y
Substitute and : Simplify the expression inside the expectation:
Correlation Coefficient
Substitute into : Simplify:
Standard Deviations Relationship
From the relationship :
Final Expression
Substitute into : Simplify:
Thus, the value of is either if is positive, or if is negative.
Therefore:
This shows that for a perfect linear relationship between (X) and (Y), the correlation coefficient is (-1) or (1), indicating a perfect negative or positive linear relationship, respectively.