This package constitutes an interactive R problem set based on the RTutor package (https://github.com/skranz/RTutor).
It analyses the phenomenon of “overbidding” in online auctions on eBay, that is to say, bidding more for an item than it would cost when bought immediately on the same webpage. This investigation is based on the paper “The Bidder’s Curse” from Ulrike Malmendier and Young Han Lee, published in 2011.
RTutor and this package is hosted on Github. To install everything, run the following code in your R console.
install.packages("RTutor",repos = c("https://skranz-repo.github.io/drat/",getOption("repos"))) if (!require(devtools)) install.packages("devtools") devtools::install_github("ErhardtP/RTutorBiddersCurse", upgrade_dependencies=FALSE)
To start the problem set first create a working directory in which files like the data sets and your solution will be stored. Then adapt and run the following code.
library(RTutorBiddersCurse) # Adapt your working directory to an existing folder setwd("C:/problemsets/RTutorBiddersCurse") # Adapt your user name run.ps(user.name="Jon Doe", package="RTutorBiddersCurse", auto.save.code=TRUE, clear.user=FALSE)
If everything works fine, a browser window should open, in which you can start exploring the problem set.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.