On your own
• Answer this by estimating the probability that a randomly chosen student went to the
movies using 500 simulations.
a. Write down both the estimated probability and the code you used to compute your
estimate. You might find it helpful to write your answer in an R Script (File > New File > R
Script)
b. Include set.seed(123) in your code before you do 500 repeated samples.