Question: Use R programming language Use R to solve the following tasks. TASK 1. Estimate the following probabilities by simulation (we don't want to see any
Use R programming language
Use R to solve the following tasks. TASK 1. Estimate the following probabilities by simulation (we don't want to see any analytical approaches!) In your report explain your code and show your answers. a. You have all the black cards from a normal deck, I have all the red cards. We each choose one card from our half decks - the highest card wins. But I have managed to sneak out and throw away your 9 Of Clubs! Simulate 1000 games - how many did I win? (Ace is low.) b. There are 87 people on a bus - what is the likelihood that two of them share a birthday? c. How many people would you need to gather together before there is a 90% chance that one of them was born on the 1st Jan
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
