# Question: s 0000100001000110000001010000010010000000000000000010000000010000110010001000100001011010100000010100 1 hit 0 miss compute...

###### Question details

S = 0000100001000110000001010000010010000000000000000010000000010000110010001000100001011010100000010100; /*1 = hit; 0 = miss*/

Compute and report the following for your sequence of 100 shots:
1. P(S_{k}=1 | S_{k-1}=1), the probability of a hit
immediately following a hit. 2. P(S_{k}=1 |
S_{k-1}=0), the probability of a hit immediately following
a miss. 3. P(S_{k}=1 | S_{k-1}=1) -
P(S_{k}=1 | S_{k-1}=0), the difference of the
probabilities from 1 and 2. This will be your test statistic.