Hello,

I have just started learning Rstudio. I am working on the topic mentioned. Any help would be appreciated. Thanks!

Suppose you have 4 different dice; two fair and two biased ones. For the first biased die, a **3 appears twice more often than the other numbers. For the second biased one, a 6 appears 5 times more often than the other rest.** Consider the following experiment: We put all four dice in a bag and randomly pick and throw one die and observe the outcome number, that is (1,...,6). Simulate this experiment 100 times in R using set.seed(300) and store generated numbers. Let D = d1, ...d4 and X = 1, .., 6 be the random variable representing the dice and observed numbers on the die, respectively.