Question

(Programmed in R) Will need the code and results. In addition, please report each estimate in...

(Programmed in R)

Will need the code and results. In addition, please report each estimate in a sentence that indicates what probabilities these are estimates of. You are not allowed to use any “if” statements or loops in your R code except for the loop to repeat the simulation 1 million times.

1. Estimate by simulation in R using 1 million replications: I roll a fair 6-sided die 10 times. What’s the probability that no two consecutive rolls are the same? See the diff command. The first command of your simulation should be set.seed(444).

Homework Answers

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions