Slope (dream) : Holding flipper length constant, we expect, on average, a penguin from the Dream island to be 262g lighter than a penguin from Biscoe island.
The Interaction Model
The interaction model: different slopes for each island
bm_fl_island_int_fit <-linear_reg() |>fit(body_mass_g ~ flipper_length_mm * island, data = penguins)tidy(bm_fl_island_int_fit) |>select(term, estimate)
We can interpret each of the lines just as we would a simple linear regression, keeping in mind that we are only looking at penguins from one specific island.
We predict that the body mass of a penguin with zero flipper length and zero bill length will be -5736 grams, on average (makes no sense);
Holding all other variables constant, for every additional millimeter in flipper length, we expect the body mass of penguins to be higher, on average, by 48.1 grams.
Holding all other variables constant, for every additional millimeter in bill length, we expect the body mass of penguins to be higher, on average, by 6 grams.
This is how we interpret additive models with as many predictors as we want!