M***d 发帖数: 304 | 1 一个01序列,p(0)=p0, p(1)=p1, p0>p1
现在这个01序列通过一个server,server把两个连续的0变成了2
输出序列变成了012序列
问0,1,2在新序列里出现的概率分别是多少? | Q***5 发帖数: 994 | 2 You can think it this way, for each round,
With prob P1, the server prints a 1
With prob P0, we get an intermidiate 0, after that, with prob P0 we get 0
and with prob P1 we get 1 -- put together, with P0^2 we get 00 (the server
prints 2), with P0*P1 the server prints 01
If you count the percentage, you get the frequency for each number:
1: (P1+P0*P1)/(P1+P0^2+2*P0*P1)= (P1+P0*P1)/(1+P0*P1)
2: P0^2/(1+P0*P1)
0: (P0*P1)/(1+P0*P1) |
|