Quiz solutions for Math 103 Probability: Week 12
-
1.
Find (D)
-
2.
Dice (D)
. -
3.
Variance (B)
, so we need to calculate the two terms on the right hand side.
and .
Therefore -
4.
Seeded Dice Throws (E)
The code needed is-
set.seed(565)
-
rolls <-sample(1:6,200,replace=TRUE,prob=rep(1/6,6))
-
sum(rolls==5)
This gives answer 35.
-
5.
Simulating the Lottery (C)
The sample space needs to be 1,2,..,59. The size needs to be 6.We sample without replacement i.e. replace=FALSE, since balls are not put back into the lottery once sampled.
The probability set is (1/59,…,1/59) since all balls are equally likely to be drawn.
Hence the answer is (C)