Aan de slagGa gratis aan de slag

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; dplyr and ggplot2 are loaded.

Deze oefening maakt deel uit van de cursus

Intermediate Regression in R

Cursus bekijken

Praktische interactieve oefening

Probeer deze oefening eens door deze voorbeeldcode in te vullen.

# 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
Code bewerken en uitvoeren