In-Class Exercise 5
Shih Chien University
2026-09-16
Sample Space of Two Dice
Two fair dice are rolled.
expand.grid() and confirm that it contains 36 outcomes with nrow().Classical Probability
A box contains 6 red marbles, 4 blue marbles, and 5 green marbles. One marble is drawn at random.
Compute in R:
State which rule you used in part 3 and why.
Addition Rule with Overlap
Among 200 students, 120 take Statistics, 85 take Accounting, and 45 take both courses.
Elementary Statistics: A Step by Step Approach