ComeçarComece de graça

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.

Este exercício faz parte do curso

Intermediate Regression with statsmodels in Python

Ver curso

Exercício interativo prático

Experimente este exercício completando este código de exemplo.

# Fit linear regression of price vs. opening bid and auction type, with an interaction, without intercept
mdl_price_vs_both = ____

# See the result
print(mdl_price_vs_both.params)
Editar e executar o código