Some contributions to model selection and statistical inference in Markovian models