Find the probability of using coke for a current pepsi user in 4th purchase?Markov Model problem.

Discussion in 'Other Advanced Math' started by shivajikobardan, Jul 28, 2022.

  1. shivajikobardan


    Jan 8, 2022
    Likes Received:
    Design the markov model and transition matrix for the given data. Answer the following questions based on the mode.

    a) If a person purchase coke now the probability of purchase of coke next time is 80%.

    b) If a person purchases pepsi now the probability of purchasing pepsi next time is 70%.


    Find the probability of using coke for a current pepsi user in 4th purchases-:

    My solution-:


    This is the transition diagram.

    This is the transition probability matrix-:


    So, what I did was basically to Took this TPM(Transition Probability Matrix) to the power 4. My basis for doing this was this source-:

    So what I got was-:


    Now I am assuming that the rows means FROM and column side means TO. And the first element of row and column is "Coke". So, to find from Pepsi to Coke, I'd go to second row and first column, the value would be 0.5625

    But the problem is that, I've conflicting source which claims the answer is sth else-:

    It solves it like this-:


    p=Current distribution=[0 1]

    Now, for 2nd purchase

    p²=p*P=[0.3 0.7]

    For 3rd purchase-:

    p³=p² * P

    =[0.45 0.55]

    For 4th purchase-:


    =[0.525 0.475]

    Thus, it concludes that the required answer is 0.525.

    Which one is correct in your opinion?
    shivajikobardan, Jul 28, 2022
  2. shivajikobardan


    Oct 3, 2023
    Likes Received:
    Your solution does not show,
    but the probability transition matrix method is standard,
    and given how the chain has small complexity (only two states)
    I'd concur that is the way to go.
    Rebs, Oct 3, 2023
    e.jane.aran likes this.
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Similar Threads
There are no similar threads yet.