A new dataset with coins
llrs opened this issue · comments
Nice package!
I recently found another interesting dataset that could be helpful to teach regressions. Perhaps it is a bit out of the scope of the package, but I thought you might be interested.
See this twitter thread about the importance of some variables over others. The dataset is in dropbox but here it is ready to use in R:
structure(list(quarters = structure(c(1, 1, 3, 4, 1, 6, 1, 1,
3, 1, 1, 3, 4, 3, 6, 4, 8, 6), label = "Quarters", format.stata = "%8.0g"),
dimes = structure(c(4, 2, 3, 5, 8, 2, 4, 2, 8, 2, 7, 3, 5,
8, 2, 23, 8, 2), label = "Dimes", format.stata = "%8.0g"),
nickels = structure(c(3, 4, 4, 3, 2, 0, 3, 9, 4, 3, 6, 4,
9, 2, 34, 3, 2, 0), label = "Nickels", format.stata = "%8.0g"),
pennies = structure(c(2, 6, 7, 2, 6, 6, 2, 3, 4, 2, 6, 7,
2, 6, 6, 2, 8, 6), label = "Pennies", format.stata = "%8.0g"),
total = structure(c(82, 71, 132, 167, 121, 176, 82, 93, 179,
62, 131, 132, 197, 171, 346, 347, 298, 176), label = "Total cents", format.stata = "%8.0g")), row.names = c(NA,
-18L), class = "data.frame")
I hope this is helpful, and many thanks for providing this package, I will use it when teaching.