Exercise

# Fitting a regression with a categorical x

You'll now fit a regression model with the categorical variable `rank`

as the explanatory variable and interpret the values in the resulting regression table. Note here the rank "teaching" is treated as the *baseline for comparison group* for the "tenure track" and "tenured" groups.

Instructions 1/2

**undefined XP**

Fit a linear regression model between score and rank, and then apply the wrapper function to `model_score_4`

that returns the regression table.