Assignment5

Assignment5

by Khashayar Namdar -
Number of replies: 7

Dear instructors,

The remaining time for assignment#5 is less than 12 hours. I believe the deadline is set to today's date.

Also, it would be great if we could have some sample responses from the expected solution, same as the previous assignments.


Best,

Ernest

In reply to Khashayar Namdar

Re: Assignment5

by Erik Spence -
Fixed. Sorry about that.

I'll think about the function examples. These functions can return either large data frames, which are hard to display, or random values, which are hard to reproduce.
In reply to Erik Spence

Re: Assignment5

by Khashayar Namdar -
Thank you. One more question: Is it fine if we develop the create.pop function using sample()? This way, the number of female and male individuals may not be exactly the same, but it is still uniform. I would consider gender and age as independent variables. Would that be ok?
I'm not sure if all of these were just one question ;)
In reply to Khashayar Namdar

Re: Assignment5

by Khashayar Namdar -
Also, should we use the same non-negative parameters for the beta dist? (2,4)
In reply to Khashayar Namdar

Re: Assignment5

by Khashayar Namdar -
Sorry. Is zero acceptable as the total fertility rate of the population?
In reply to Khashayar Namdar

Re: Assignment5

by Erik Spence -
No. Positive usually means greater than zero, so let's go with that.
In reply to Khashayar Namdar

Re: Assignment5

by Erik Spence -
Use the 2, 4 shape parameters that were given in the example code.
In reply to Khashayar Namdar

Re: Assignment5

by Erik Spence -
The assignment says to use the sample function, so yes, use it to determine the number of males and females.