ECON 3209 · Week 9, Lecture 2 · Kerala Agricultural University
Autumn 2026
\[CI_{0.95} = [\hat{\beta}_i - 1.96 \times SE(\hat{\beta}_i),\; \hat{\beta}_i + 1.96 \times SE(\hat{\beta}_i)]\]
\[\hat{\beta}_1 \pm t_{\alpha/2,\,df} \times se(\hat{\beta}_1)\]
Simulate a regression of repayment_rate on income. Estimate the slope and calculate a 95% confidence interval both with model.conf_int() and manually using the t critical value.
statsmodels output.ECON 3209 — Kerala Agricultural University