Size: 1156
Comment:
|
Size: 2153
Comment: Rewrite 1
|
Deletions are marked like this. | Additions are marked like this. |
Line 5: | Line 5: |
== Data == | == Observations and Measurements == |
Line 9: | Line 9: |
The outcome variable is ''y''. For observation ''i'', the outcome value is ''y,,i,,''. | The outcome variable is ''y''. The outcome measurement for observation ''i'' is ''y,,i,,''. |
Line 11: | Line 11: |
The treatment variable is ''x,,1,,''. For observation ''i'', the treatment value is ''x,,1i,,''. | If there is a single predictor, it may be specified as ''x''; the measurement is ''x,,i,,''. More commonly, there is a set of predictors specified like ''x,,1,,'', ''x,,2,,'', and so on. The measurements are then ''x,,1i,,'', ''x,,2i,,'', and so on. |
Line 13: | Line 13: |
The control variables are ''x,,2,,'' through ''x,,k,,'' (up to ''k'' - 1 control variables). For observation ''i'', a control value might be ''x,,2i,,''. | When expressing data with [[LinearAlgebra|linear algebra]], the outcome measurements are composed into vector ''y'' with size ''n'', and the predictor measurements are composed into matrix '''''X''''' of shape ''n'' by ''p''. A very common exception: income is usually represented by ''Y'' or ''y''. In relevant literature, expect to see different letters. == Error Terms == Error terms are variably represented by ''ε'', ''e'', ''u'', or ''v''. The error term for observation ''i'' would be represented like ''ε,,i,,''. == Distributions == The [[Statistics/NormalDistribution|normal distribution]] is frequently expressed in econometrics. The typical notation is ''x,,i,, ~ N(μ, σ)''. For multiple variables, pieces of [[LinearAlgebra|linear algebra]] notation are introduced. For example, the joint statement of [[Econometrics/Exogeneity|exogeneity]] and [[Econometrics/Homoskedasticity|homoskedasticity]] is: {{attachment:exo.svg}} |
Econometrics Notation
Observations and Measurements
The number of observations is n.
The outcome variable is y. The outcome measurement for observation i is yi.
If there is a single predictor, it may be specified as x; the measurement is xi. More commonly, there is a set of predictors specified like x1, x2, and so on. The measurements are then x1i, x2i, and so on.
When expressing data with linear algebra, the outcome measurements are composed into vector y with size n, and the predictor measurements are composed into matrix X of shape n by p.
A very common exception: income is usually represented by Y or y. In relevant literature, expect to see different letters.
Error Terms
Error terms are variably represented by ε, e, u, or v. The error term for observation i would be represented like εi.
Distributions
The normal distribution is frequently expressed in econometrics. The typical notation is xi ~ N(μ, σ).
For multiple variables, pieces of linear algebra notation are introduced. For example, the joint statement of exogeneity and homoskedasticity is:
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: