Pattern statistics on Markov chains and sensitivity to parameter estimation