Statistics for Option pricing using hidden Markov models