1. Learn
  2. /
  3. Courses
  4. /
  5. Introduction to Regression with statsmodels in Python

Exercise

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.

Instructions 1/2

undefined XP
    1
    2
  • Back transform the response variable in prediction_data by raising qdrt_n_clicks to the power 4 to get n_clicks.