开始使用免费开始使用

对每种拍卖类型建模

您刚刚看到,在 eBay 拍卖中,开拍价似乎并不影响 Palm Pilots 的最终成交价。现在我们分别对三种拍卖类型(3 天、5 天和 7 天)进行建模,看看会发生什么。

auctions 可用。

本练习是课程的一部分

Python 中级回归:使用 statsmodels

查看课程

交互式实操练习

通过完成这段示例代码来试试这个练习。

# 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)
编辑并运行代码