Aan de slagGa gratis aan de slag

Predicting multiple models

In order to see what each category's model is doing, it's helpful to make predictions from them. The flow is exactly the same as the flow for making predictions on the whole model, though remember that you only have a single explanatory variable in these models.

The models mdl_0_to_15, mdl_15_to_30 and mdl_30_to_45 are available.

Deze oefening maakt deel uit van de cursus

Intermediate Regression with statsmodels in Python

Cursus bekijken

Praktische interactieve oefening

Probeer deze oefening eens door deze voorbeeldcode in te vullen.

# Create explanatory_data, setting no. of conv stores from  0 to 10
explanatory_data = ____
Code bewerken en uitvoeren