ECON 3209 · Week 8, Lecture 2 · Kerala Agricultural University
Autumn 2026
\[E(\hat{\beta}_1) = \beta_1\]
\[TSS = \sum_{i=1}^{n}(Y_i - \bar{Y})^2\]
\[ESS = \sum_{i=1}^{n}(\hat{Y}_i - \bar{Y})^2\]
\[RSS = \sum_{i=1}^{n}\hat{u}_i^2\]
\[TSS = ESS + RSS\]
\[R^2 = \frac{ESS}{TSS} = 1 - \frac{RSS}{TSS}, \qquad 0 \leq R^2 \leq 1\]
\[\bar{R}^2 = 1 - \frac{(1-R^2)(n-1)}{n-k-1}\]
Simulate 200 samples from a simple linear model with a true slope of 0.4. Store the estimated slopes, compute their average, and explain whether the result supports unbiasedness.
statsmodels.formula.api for a full regression workflow.ECON 3209 — Kerala Agricultural University