Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Imagine you have a random sample of k people and want to find the probability that 2 or more have the same birthday. What is

image text in transcribed
Imagine you have a random sample of k people and want to find the probability that 2 or more have the same birthday. What is intriguing about this problem is that the answer is quite counterintuitive. Calculation Suppose A is the event that 2 or more people in the sample (size k) have the same day of birth. Assume 365 days per year and that all birthdays are equally likely. On paper neatly derive the formula for P(A) as a function of k. Create an R function that will calculate the probability for any k>2, call it ptormore(k) Hint: You may find Ifactorial(), Ichoose() useful

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Calculus Early Transcendentals

Authors: James Stewart, Daniel K. Clegg, Saleem Watson, Lothar Redlin

9th Edition

1337613924, 978-1337613927

More Books

Students also viewed these Mathematics questions