开始使用免费开始使用

分别对每种拍卖类型建模

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

auctions 已可用;已加载 dplyrggplot2

本练习是课程的一部分

R 中级回归

查看课程

交互式实操练习

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

# Fit linear regression of price vs. opening bid and auction type, with an interaction.
mdl_price_vs_both <- ___




# See the result
mdl_price_vs_both
编辑并运行代码