Sebastian P.

asked • 03/13/20

Branching 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

By:

Matthew A. answered • 05/06/20

Tutor
5 (22)

Ivy League STEM Tutoring and Test Prep Skills (MCAT 100th percentile)

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.