Seamus O.

asked • 04/17/21

PROBABILITY, R, STOCHASTIC PROCESSES, BRANCHING PROCESSES

Do you have a friend who seems to answer every single message of yours by giving a very extensive answer? Are you, on the other hand, a person that replies to a message cryptically, but in several seperated messages? Have you had the feeling to avoid answering those long messages, worrying that the communication gets out of hand? In this project we study an asymmetric communication between two persons, called user 1 and user 2 henceforth. They are best friends, so the aim is not to end a friendship, but rather maintain it, while not completely changing one’s habits. One guy will still be giving cryptic answers, the other one is not planning to shorten his answers. These users communicate of course about a range of topics. We select one topic and ask ourselves, will the communication on this very topic eventually end, or not? The behaviour of the two users is described in probabilistic terms as follows: ˆ User 1 regularly checks his email box (or social media app), that is, at every date t = 0, 1, 2, . . . . He selects messages coming from user k with probability λ ∈ (0, 1). However, his replies are manifold, namely equals K + 1, where K is Poisson distributed with parameter z − 1. (So that, on average, he has z replies to each accepted message of user 1.). Use, for example z = 5 and a range of λ, see below. ˆ User 2 rarely answers, namely each day with probability β. However, all messages are answered eventually, and always by sending a single reply (so that an unanswered message will be saved and perhaps answered on the next date.) The question, whether the communication almost surely (that means for almost all scenarios) ends in a (possibly long, but) finite time, can be answered by the theory of branching processes. The branching process that starts with any initial message amount (say i1 messages on user 1’s account, i2 messages on user 2’s account at t = 0, will go extinct in finite time, if and only if λz ≤ 1. Since all messages are treated similarly, the evolution of a single message from user 1, and a single message from user 2 suffices to understand the entire process.


1. To implement the model, start for instance with user 1. The vector µ 1 (0) = (1, 0) describes the population (number of all messages on this topic) at t = 0. This means, there is one incoming message from user 2. At t = 1 user 1 decides to answer or not. If she answers the messages, she draws from a Poisson distributed r.v. (see above), and that gives the number of messages sent to user 2. At t = 2, user 2 acts. [etc.].

2. You can implement this by writing a function that inputs user tag i and outputs the random descendants of a single message from user 2, as a two-vector. Then go ahead and write a function that can deal with a general population input (i1, i2) and outputs a random draw from the population one step ahead.

3. Once you have the population dynamics, you can then choose λ = 1/10, 1/5, 1 and z = 5 and for each of these choices, simulate 100 paths to see, whether extinction really occurs in finite time, or not.

1 Expert Answer

By:

Jessica M. answered • 01/21/24

Tutor
New to Wyzant

PhD with 5+ years of tutoring Logic

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.