Is X(n) a Markov Sequence Given Its Dependency on Previous Coin Tosses?

  • Thread starter Thread starter alidemedi
  • Start date Start date
  • Tags Tags
    Sequence
Click For Summary
SUMMARY

The discussion centers on whether the sequence X(n) defined as X(n) = Y(n) + Y(n-1) is a Markov sequence, where Y(n) represents the outcomes of a fair coin toss (0 for tails, 1 for heads). The initial assertion that X(n) is not Markov is supported by the argument that the probabilities of future states depend on the previous two coin tosses, specifically when X(n) = 1. However, the posted solutions claim that X(n) is Markov, calculating probabilities such as P(X(n+1) = 0 | X(n) = 1) = 1/4. Ultimately, the discussion concludes that the posted solution is incorrect, as conditioning on X(n-1) affects the probabilities of X(n+1).

PREREQUISITES
  • Understanding of Markov sequences and their properties
  • Familiarity with probability theory and conditional probabilities
  • Knowledge of random variables and their distributions
  • Basic concepts of coin tossing and binary outcomes
NEXT STEPS
  • Study the properties of Markov chains and their applications in probability theory
  • Explore conditional probability and its implications in stochastic processes
  • Learn about random variables and their expected values in relation to sequences
  • Investigate examples of non-Markov processes to understand their characteristics
USEFUL FOR

Students in probability theory, mathematicians analyzing stochastic processes, and anyone interested in the properties of Markov sequences and their applications in real-world scenarios.

alidemedi
Messages
2
Reaction score
0
Hi, this was a midterm problem in a probability class.

Homework Statement


A fair coin is tossed repeatedly with results Y(0), Y(1)... that are 1 or 0 for heads or tails. For n>0, define a new sequence X(n) = Y(n)+Y(n-1), i.e. the number of 1's in the last two tosses.
Is Xn a markov sequence?

Homework Equations



The Attempt at a Solution


I thought, when X(n) = 1, we cannot determine P( X(n+1) | X(n) ), due to the fact that the values X(n+1) can take depends on whether the last two flips were 0 and 1 or 1 and 0. In the former case we can have X(n+1)= 0 or 1, whereas in the latter we can have X(n+1)=1 or 2. The probabilities of all these are 1/2, but the values are different. So i said X(n) is not markov.

In the posted solutions, X(n) is given as markov. Probabilities in the above case are calculated as

P(X(n+1)=0 | X(n) = 1) = P(X(n+1) =0 | Y(n)=0, Y(n-1)=1)*P(Y(n)=0, Y(n-1)=1) + P(X(n+1) =0 | Y(n)=1, Y(n-1)=0)*P(Y(n)=1, Y(n-1)=0)
= 1/2*1/2 + 0*1/2 = 1/4.

Similarly, P(1|1) is found to be 1/2 and P(2|1) is 1/4.

What is confusing is that, I thought, when X(n) is given, there must be a certain realization for Y(n) and Y(n-1), so we couldn't do the above...
 
Physics news on Phys.org
alidemedi said:
Hi, this was a midterm problem in a probability class.

Homework Statement


A fair coin is tossed repeatedly with results Y(0), Y(1)... that are 1 or 0 for heads or tails. For n>0, define a new sequence X(n) = Y(n)+Y(n-1), i.e. the number of 1's in the last two tosses.
Is Xn a markov sequence?

Homework Equations



The Attempt at a Solution


I thought, when X(n) = 1, we cannot determine P( X(n+1) | X(n) ), due to the fact that the values X(n+1) can take depends on whether the last two flips were 0 and 1 or 1 and 0. In the former case we can have X(n+1)= 0 or 1, whereas in the latter we can have X(n+1)=1 or 2. The probabilities of all these are 1/2, but the values are different. So i said X(n) is not markov.

In the posted solutions, X(n) is given as markov. Probabilities in the above case are calculated as

P(X(n+1)=0 | X(n) = 1) = P(X(n+1) =0 | Y(n)=0, Y(n-1)=1)*P(Y(n)=0, Y(n-1)=1) + P(X(n+1) =0 | Y(n)=1, Y(n-1)=0)*P(Y(n)=1, Y(n-1)=0)
= 1/2*1/2 + 0*1/2 = 1/4.

Similarly, P(1|1) is found to be 1/2 and P(2|1) is 1/4.

What is confusing is that, I thought, when X(n) is given, there must be a certain realization for Y(n) and Y(n-1), so we couldn't do the above...

I am not convinced by the above posted solution. We need to worry about whether
P{X(n+1) = j | X(n) = i, X(n-1) = i1} = P{X(n+1) = j|X(n) = i}; that is, we need to know that giving X(n-1) or earlier X(t) will not affect the probability of X(n+1).

RGV
 
Ray Vickson said:
I am not convinced by the above posted solution. We need to worry about whether
P{X(n+1) = j | X(n) = i, X(n-1) = i1} = P{X(n+1) = j|X(n) = i}; that is, we need to know that giving X(n-1) or earlier X(t) will not affect the probability of X(n+1).

RGV

Oh that is right! For example, P{X(n+1) = 0 | X(n) = 1, X(n-1) = 0} = 0, which would not be equal to P{X(n+1) = 0 | X(n) = 1} = 1/4 given above!

So, was her solution incorrect then? It seems so.
 

Similar threads

Replies
5
Views
2K
  • · Replies 13 ·
Replies
13
Views
2K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
Replies
8
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
8
Views
2K
  • · Replies 17 ·
Replies
17
Views
3K