Size: 1059
Comment:
|
Size: 1156
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 47: | Line 47: |
And the coefficient of determination, a.k.a. the ''R^2^'', is: {{attachment:rsquared.svg}} |
Econometrics Notation
Data
The number of observations is n.
The outcome variable is y. For observation i, the outcome value is yi.
The treatment variable is x1. For observation i, the treatment value is x1i.
The control variables are x2 through xk (up to k - 1 control variables). For observation i, a control value might be x2i.
Statistics
The average outcome is:
The variance is:
The standard deviation is:
The covariance between the treatment and outcome is:
The correlation between the treatment and outcome is:
Based on OLS regression, the estimated outcome for observation i is:
No matter the regression method, the residual is:
And the coefficient of determination, a.k.a. the R2, is: