Hi all,
I have a problem.
Supose a random sequence: 011000101010101_?
I want to find the probability of next number comes 0 or 1.
So i want to decompose in n digits, like sequence DNA, and calculate the probabilities. See Picture.
To start for n=1 --> P(0) = P(1) = 50%
...........
At the end I want to conclude if P(0) > or < P(1)
Anyone Can show me the way or, tell me where can i find some information?

Thanks