Aan de slagGa gratis aan de slag

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.

Deze oefening maakt deel uit van de cursus

Nonlinear Modeling with Generalized Additive Models (GAMs) in R

Cursus bekijken

Praktische interactieve oefening

Probeer deze oefening eens door deze voorbeeldcode in te vullen.

# Plot on the log-odds scale
___
Code bewerken en uitvoeren