Visualizing influences on purchase probability
Let's try plotting and interpreting the purchasing behavior model from the last lesson. You'll step through several iterations of plots of log_mod2, moving from raw plots on the fitting scale towards plots on the response scale with more natural interpretations.
The model (log_mod2) from the previous exercise is available in your workspace.
Questo esercizio fa parte del corso
Nonlinear Modeling with Generalized Additive Models (GAMs) in R
Esercizio pratico interattivo
Prova a risolvere questo esercizio completando il codice di esempio.
# Plot on the log-odds scale
___