Choose one of David Robinson’s tidytuesday screencasts, watch the video, and summarise. https://www.youtube.com/channel/UCeiiqmVK07qhY-wvg3IZiZQ
You must follow the instructions below to get credits for this assignment.
Riddler screencast: Simulating rolling a die and replacing the sides.
March 30, 2020
Hint: What’s the source of the data; what does the row represent; how many observations?; what are the variables; and what do they mean?
There is a riddlers classic that ponders the idea of whether you rolled a fair 6 sided die, took the results from the roll (ie. 1,2,2,3,5) and made an ‘unfair’ 6-sided dice using that combination of numbers, then repeated the proccess until all 6 sides were the same number. The question is how many rolls would it take to reach that point. The source of data is a virtual dice simulation using RStudio, using fucntions that would reveal dice roll outcomes while also replacing the sides. He tested these functions at 10, 100, 1000, and 100000 rolls. Using averages, standard deviations, and etc he is able to determine around how many rolls it takes to roll a changing side dice to get 6 of the same sides.
Hint: For example, importing data, understanding the data, data exploration, etc.
David started out with importing data functions that would simulate a dice roll, then went on to modify the data functions to show results of a dice changing faces according to its previous roll. To understand the data David tested his dice simulation with 10, 100, 1000, and 10000 rolls. With that data he imported a data function to reveal a box plot of the roll results, from where he could observe the sd, curve type, mean and trend of the graph. Using other functions David wanted to determnine which number was rolled on each of the 6 sides most often. He then furthered his exploration by using data functions to determine the amount of times it would take to roll all sides at the same number, with the total amount of sides on the dice changing from 1-10.
I saw a lot of things in the video that we learned in class, despite the fact that David is very advanced in this topic and it was a bit hard to keep up with the functions and etc. One being basic r functions including mean, sd, boxplots, linear graphs, and other data analysizing functions and tips. I am very glad I took this class, because without any experience I would have looked at the entire r platform as it was heiroglyphics.
On average it takes 9.66 rolls to get the same number on all 6 sides in this experiment. Six was the number that appeared on all 6 sides the most.
The most interesting idea I got from Davids’ video was how he was able to determine practically any statistic property of a die just by using the RStudio. With his mastery and knowledge with the data functions he was able to determine many statistic theorys of dice rolls.