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.
This exercise is part of the course
Nonlinear Modeling with Generalized Additive Models (GAMs) in R
Hands-on interactive exercise
Have a go at this exercise by completing this sample code.
# Plot on the log-odds scale
___