Exercise

# Tidy up the coefficients of your models

In this exercise you will leverage the list column workflow along with the `tidy()`

function from `broom`

to extract and explore the coefficients for the 77 models you built.

Remember the `gap_models`

dataframe contains a model predicting **life expectancy** by **year** for 77 countries.

Instructions

**100 XP**

- Use
`tidy()`

to append a column (`coef`

) containing coefficient statistics for each model to the`gap_models`

dataframe and save it as`model_coef_nested`

. - Simplify this dataframe using
`unnest()`

to extract these coefficients in your dataframe. - Explore the coefficient estimates for the year feature across your 77 models by plotting a histogram of their values.