Probability Tree

Hello,

I would like to generate a probability tree. 'a' gives 'a', with a probability of 0.5, and 'b', also with a probability of 0.5. 'b' gives 'a', with a probability of 1. I would like to iterate that. I need to know all of the different probabilities. Which tool should I use?

Thank you.

Kind regards,

Simon Martin

I would look at markovchain package

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.