Inactive Tutor answered 05/06/20
Sebastian P.
asked 03/13/20Branching Processes R Code Tree Diagram
Code:
1) Write an R code for a function that simulates a branching process of a Poisson progeny distribution with mean 𝜆 and for number of generations n.
2) Then run the simulations for several values of 𝜆 like .5, 1, and 2 for a reasonable number of generations like 3, 4 or 5.
3) Make a plot of the resulting tree. (Think about placing the generations on concentric circles and make line plots between coordinates of the parents and their children).
1 Expert Answer
Still looking for help? Get the right answer, fast.
Get a free answer to a quick problem.
Most questions answered within 4 hours.
OR
Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.