IniziaInizia gratis

Back transformation

In the previous exercise, you transformed the response variable, ran a regression, and made predictions. But you're not done yet! In order to correctly interpret and visualize your predictions, you'll need to do a back-transformation.

prediction_data, which you created in the previous exercise, is available.

Questo esercizio fa parte del corso

Introduction to Regression with statsmodels in Python

Visualizza il corso

Esercizio pratico interattivo

Prova a risolvere questo esercizio completando il codice di esempio.

# Back transform qdrt_n_clicks
prediction_data["n_clicks"] = ____
print(prediction_data)
Modifica ed esegui il codice