Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A new dataset with coins #1

Open
llrs opened this issue May 10, 2023 · 0 comments
Open

A new dataset with coins #1

llrs opened this issue May 10, 2023 · 0 comments

Comments

@llrs
Copy link

llrs commented May 10, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant