In the shell script I do repetitions of words of a certain length, also i change the length of the word and the probability of 0 and 1, then in an awk script I can get the standard deviation and the averange, and send this data to the final file and process the data.
In awk script I get the average and standard deviation
With gnuplot I produce a graph to know what happened in the experiment.
And some plots that can help us to underestand the results.
q0 = 0.1
q1 = 0.1
While the length of the chain grows the probability of success is weakened and if the frequency of 0 is high but the probability of success to 0 It is not as high like the probability of 1 then while the frequencies of 0 going up so these will lose the success rate because In longer words are more failures.