Assignment 6 question 1f

Assignment 6 question 1f

by Ben Ho -
Number of replies: 1

Hi,

Question 1f states that "n" represents "the maximum number of people", but the instruction for the function is to "sample n birthdays", rather than 1:n.

Does this question require generating probabilities for a range of people from 1:n or just n?

Thank you!


In reply to Ben Ho

Re: Assignment 6 question 1f

by Erik Spence -
You are to sample n birthdays. You generate probabilities for the 365 different birthdays.