Differences between revisions 6 and 8 (spanning 2 versions)
Revision 6 as of 2023-10-28 05:32:36
Size: 1022
Comment: Estimates and residuals
Revision 8 as of 2023-10-28 17:37:03
Size: 1156
Comment:
Deletions are marked like this. Additions are marked like this.
Line 39: Line 39:
Based on [[Econometrics/LinearRegression|regression]], the estimated outcome for observation ''i'' is: Based on [[Econometrics/OrdinaryLeastSquares|OLS regression]], the estimated outcome for observation ''i'' is:
Line 43: Line 43:
And the residual is: No matter the regression method, the residual is:
Line 46: Line 46:

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:

average.svg

The variance is:

variance.svg

The standard deviation is:

sd.svg

The covariance between the treatment and outcome is:

covariance.svg

The correlation between the treatment and outcome is:

correlation.svg

Based on OLS regression, the estimated outcome for observation i is:

estimate.svg

No matter the regression method, the residual is:

residual.svg

And the coefficient of determination, a.k.a. the R2, is:

rsquared.svg


CategoryRicottone

Statistics/EconometricsNotation (last edited 2025-01-10 14:15:50 by DominicRicottone)