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

Connected

Exercise

Modeling each auction type

You just saw that the opening bid price appeared not to affect the final sale price of Palm Pilots in the eBay auctions. Now let's look at what happens when you model the three auction types (3 day, 5 day, and 7 day) separately.

auctions is available.

Instructions 1/3

undefined XP
    1
    2
    3
  • Fit a linear regression model of price versus openbid and auction_type, with an interaction between the explanatory variables, without a global intercept term, and using the auctions dataset. Look at the coefficients.