Re: Conditional probability

Hey jgonzalf.

Can you show us the simulation code as well as the probabilities that you have worked out?

Re: Conditional probability

Hi Chiro,

I am afraid is too long and I reduced part of the problem to be easy to analyze here. My previous analysis is:

- I think there are different probabilities to produce different types of blocks. Let's say:

-> P1: probability of block is sent as it was. Ex: ---0201- -> ---0201-

-> P2: probability of block is trimmed by left: Ex: -11102001-- -> ----02001--

-> P3: probability of block is trimmed by right: Ex: -0002210000- -> -000221-----

-> P4: probability of block is trimmed by both sides. Ex: -111202221222-- -> -----02221-----

-> P5: probability of block can't be transformed and B sends spaces: ---11112--- -> -----------

P1+P2+P3+P4+P5=1

So, P= P(B generates '1' | A generates '1') = sum_{i} P(B generates '1' | A generates '1' and B in block type i)*P(Block type i | A generates '1')

but it's not easy to calculate.

Re: Conditional probability

Could you model this as a Markov model? If it can (and you have a finite number of transitions), then you could solve the distribution as well as the long run distribution for particular states.

Re: Conditional probability

Hi Chiro, I'll try it. Thanks for your kind help.

Javier.