What is prob of 0 in ASCII text file assuming it is bit string?(adsbygoogle = window.adsbygoogle || []).push({});

Analysis:

MSB(1st bit in each byte) is always 0. So Pr(MSB) = 1/8.

its space is 2^7=256. Assuming each character is randomly distribution(same ratio of appearing in text), besides MSB, other bits follow the rule Pr(0)=Pr(1)=1/2.

Thus, as total (MSB + other bits), Pr(0)=1/8 ＋1/2 = ５/8.

Is it correct???

Then further, randomly select, n bits from the total bits of ASCII text files.

What is probability of being 0 of t_th position bit or Pr[t = 0] ,

where 0<t <= n ? And what is prob of being 00 of t_th and (t+1)_th positions of bits (two sequences of zero).

Please anyone shed some light on this.

Thanks in advance for your attention.

**Physics Forums - The Fusion of Science and Community**

Dismiss Notice

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Conditional Prob of 0 in ASCII

Loading...

Similar Threads - Conditional Prob ASCII | Date |
---|---|

A Value at Risk, Conditional Value at Risk, expected shortfall | Mar 9, 2018 |

I Equality in conditional probability | Jan 18, 2018 |

I Rewriting of equality in conditional probability distribution | Jan 16, 2018 |

Basic Probabilities. Conditional Prob. | Apr 7, 2010 |

Conditional Prob -cont random variable | Jul 28, 2005 |

**Physics Forums - The Fusion of Science and Community**