# Overview
```{admonition} HW 3
[📚 **HW Available Now**](https://classroom.github.com/a/n5i7Z8uo)  
Due: **Tues, Feb 25th (by 4pm)**   
```

## Weekly Plan: Categorical Predictors
```{topic} [Tuesday Feb 18th](/lectures/wk7/1.md) 
- Update [📚 github assignment](https://classroom.github.com/a/Xfxgaqdi) from last week to get notebooks `04_models` and `05_models`
- Multiple regression with `statsmodels`
```

```{topic} [Wednesday Feb 18th](/lectures/wk7/2.md) 
- Update [📚 github assignment](https://classroom.github.com/a/Xfxgaqdi) from last week to get notebooks `06_models` and `07_models`
- Multi-collinearity
- 3+ level categorical predictors
```

```{topic} Resources (new)
- [Vanhove, J. (2021). Collinearity isn’t a disease that needs curing. Meta-Psychology, 5.](https://paperpile.com/shared/sM2u33xdnTMGoFTl59avK1Q)
- [Coding Systems for Categorical Variables](https://stats.oarc.ucla.edu/spss/faq/coding-systems-for-categorical-variables-in-regression-analysis-2/#DEVIATION%20EFFECT%20CODING) *conceptual overview, but examples are in R*
- [Contrasts in StatsModels](https://www.statsmodels.org/stable/examples/notebooks/generated/contrasts.html) *Shorter Python version of the guide above*
- [How to use different coding schemes in formulas](https://patsy.readthedocs.io/en/latest/API-reference.html#categorical-coding-ref)
```

```{topic} Readings (from last week)
- Data Analysis: A Model Comparison Approach
  - <a href="/pdfs/DAAMCA_Ch2.pdf"/>Chapter 2: Error & Parameter Estimates </a> <em>(from last week)</em>   
  - <a href="/pdfs/DAAMCA_Ch4.pdf"/>Chapter 4: Statistical Inferences About Parameter Values</a> <em>(from last week)</em>  
  - <a href="/pdfs/DAAMCA_Ch5.pdf"/>Chapter 5: Simple Regression</a>  
- Regression and Other Stories
  - <a href="/pdfs/ROS_Chap3_Math_Prob_Basics.pdf"/>Chapter 3: Math and Probability Basics Review</a>  
  - <a href="/pdfs/ROS_Chap4_Stat_Inference.pdf"/>Chapter 4: Statistical Inference</a>  
  - <a href="/pdfs/ROS_Chap6.pdf"/>Chapter 6: Regression Background</a>  
  - <a href="/pdfs/ROS_Chap8.pdf"/>Chapter 8: Fitting Regression Models</a>  
  - <a href="/pdfs/ROS_Quick_Tips.pdf"/>10 quick tips to improve your regression modeling</a>  
- [The Truth about Linear Regression](/assets/pdfs/TALR_23.pdf)
```