This is an extension of the Birthday Problem. Suppose you have 500 Facebook friends. Make the...

90.2K

Verified Solution

Question

Basic Math

This is an extension of the Birthday Problem. Suppose you have500 Facebook friends. Make the same assumptions here as in theBirthday Problem.

a) Write a program in R to estimate the probability that, on atleast 1 day during the year, Facebooks tells you three (or more) ofyour friends shat that birthday. Based on your answer, should yoube surprised by this occurrence?

b) Write a program in R to estimate the probability that, on atleast 1 day during the year, Facebook tells you five (or more) ofyour friends share that birthday. Based on your answer, should yoube surprised by the occurrence? [Hint: Generate 500 birthdays withreplacement, then determine whether any birthday occurs three ormore times (five or more for part (b)). The table function in R mayprove useful.]

Answer & Explanation Solved by verified expert
4.3 Ratings (632 Votes)
It is given in the hint that for both the part of two questions first we have to generate 500 birthdaysThen we have to see the frequency table that how many birthdays occur 3 or more timesfor part a and how many are 5 or    See Answer
Get Answers to Unlimited Questions

Join us to gain access to millions of questions and expert answers. Enjoy exclusive benefits tailored just for you!

Membership Benefits:
  • Unlimited Question Access with detailed Answers
  • Zin AI - 3 Million Words
  • 10 Dall-E 3 Images
  • 20 Plot Generations
  • Conversation with Dialogue Memory
  • No Ads, Ever!
  • Access to Our Best AI Platform: Flex AI - Your personal assistant for all your inquiries!
Become a Member

Other questions asked by students