Statistics for Actuarial Inference and Applications of Hidden Markov Models