| New Reply |
Probability of 0 bit in ASCII text files |
Share Thread | Thread Tools |
| Dec2-12, 10:08 PM | #52 |
|
Recognitions:
|
Probability of 0 bit in ASCII text files |
| Dec3-12, 05:46 AM | #53 |
|
|
9X/16: The number of 0 bits in the X that are classified as successes. 7 or 4: The number(s) of bits taken consecutively from X. 2: The number of 2 zeros in the 7 or 4 that are classified as successes. (9X/16)C2 : The number of combinations of 9X/16, taken two 0 bits at a time. |
| Dec3-12, 01:23 PM | #54 |
|
Recognitions:
|
For one thing, that analysis treats all bits as independently 0 or 1, regardless of their proximity to each other. Bits multiples of 8 positions apart will be positively correlated, and at other distances negatively correlated. More significantly, let's look at what these represent: 1st. (N1 case) : {(9X/16)C2 * (7X/16)C5 } / xC7. 1st. (N2 case) : {(9X/16)C2 * (7X/16)C2 } / xC4. The first is the probability of picking 7 bits that are exactly two 0 bits and 5 1 bits; the second is the prob of picking 4 bits that are exactly 2 and 2. No wonder they're different! In the problem I thought we were discussing, P[00] doesn't care what the remaining 2 or 5 bits are. |
| Dec4-12, 01:37 AM | #55 |
|
|
P[00] doesn't care what the remaining 2 or 5 bits are. So does the calculation in the following two cases, which are the prob of P[00] taken from N1 and N2 respectively regardless of the contents of the N1 & N2. 1st. (N1 case) : {(9X/16)C2 * (7X/16)C5 } / xC7. 1st. (N2 case) : {(9X/16)C2 * (7X/16)C2 } / xC4. |
| Dec4-12, 02:28 AM | #56 |
|
Recognitions:
|
|
| Dec4-12, 03:16 AM | #57 |
|
|
Following link may help you clarify your analysis mentioned so far. http://en.wikipedia.org/wiki/Hyperge...c_distribution |
| New Reply |
| Thread Tools | |
Similar Threads for: Probability of 0 bit in ASCII text files
|
||||
| Thread | Forum | Replies | ||
| How read text files on CASIO fx-9860GII SD? | Calculators | 2 | ||
| several ascii files, read, write, average? | Programming & Comp Sci | 5 | ||
| Read multiple binary files to ascii | Programming & Comp Sci | 0 | ||
| Fortran 90 question about reading files with text | Programming & Comp Sci | 1 | ||
| indexing a lot of text/pdf files | Computing & Technology | 1 | ||