Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Before you begin answering questions, set up the following in R: . . Open a new R script and save the script. Load the library
Before you begin answering questions, set up the following in R: . . Open a new R script and save the script. Load the library for the 'prob' package. Define your sample space, Roll, as rolling 5 dice with makespace = T. = Define C as the event that exactly four of the five dice roll the same number. 8. What is the line of R code you used to define event C? 9. How many observations are in event C? 10. What is the probability of event C (rounded to three decimal places)? Find each of the following probabilities: 11. P(AUC) 12. P(A' B') 13. P(AC) If you are given the information that the sum of the first two dice is greater than or equal to the sum of the last three dice, what is the probability that the first three dice all roll different numbers? Hint: This can be found using a conditional on the established sets above or their complements. 14. What is the line(s) of R code you used to find this probability? 15. What is the probability (rounded to three decimal places)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started