?. Laws, Array of size S × S × Kmax with estimated values of the sojourn time distributions estSeqNP3$laws

?. , Array of size S × S × Kmax with estimated semi-Markov kernel estSeqNP3$q

. ##-state-space-e-<-c,

, ## for the reproducibility of the results seq.markov = read.fasta("seq.markov.txt") ## estimation of simulated sequences res.markov = estimMk(seq = seq.markov, E = E, k = 2) Values: The function estimMk() returns a list containing: ? init: Vector of initial probabilities of the Markov chain res

?. Ptrans, Matrix of transition probabilities of the Markov chain res.markov$Ptrans

. Initiallawmk, Estimation of the initial distribution of a Markov chain of order k Bibliography V. S. Barbu and N. Limnios. Empirical estimation for discrete time semi-Markov processes with applications in reliability, Journal of Nonparametric Statistics, vol.18, issue.4, pp.483-498, 2006.

V. S. Barbu and N. Limnios, Semi-Markov Chains and Hidden Semi-Markov Models toward Applications, Lecture Notes in Statistics, vol.191, 2008.
URL : https://hal.archives-ouvertes.fr/hal-00530330

V. S. Barbu, A. Karagrigoriou, and A. Makrides, Semi-Markov modelling for multi-state systems, Methodology and Computing in Applied Probability, 2016.

J. Bulla and I. Bulla, Stylized facts of financial time series and hidden semi-Markov models, Comput. Statist. Data Anal, vol.51, pp.2192-2209, 2006.

J. Bulla, I. Bulla, and O. Nenadi?, Hsmm -An R package for analyzing hidden semi-Markov models, Computational Statistics & Data Analysis, vol.54, issue.3, pp.611-619, 2010.

O. Chryssaphinou, M. Karaliopoulou, and N. Limnios, On discrete time semi-Markov chains and applications in words occurrences, Comm. Statist. Theory Methods, vol.37, pp.1306-1322, 2008.

G. D'amico, F. Petroni, and F. Prattico, Wind speed modeled as an indexed semi-Markov process, Environmetrics, vol.24, issue.6, pp.367-376, 2013.

G. D'amico, J. Janssen, and R. Manca, Downward migration credit risk problem: a non-homogeneous backward semi-Markov reliability approach, Journal of the Operational Research Society, vol.67, issue.3, pp.393-401, 2016.

G. D'amico, R. Manca, C. Corini, F. Petroni, and F. Prattico, Tornadoes and related damage costs: Statistical modelling with a semi-Markov approach, Geomatics, Natural Hazards and Risk, vol.7, pp.1600-1609, 2016.

N. Heutte and C. Huber-carol, Semi-Markov models for quality of life data with censoring, Statistical Methods for Quality of Life Studies, pp.207-218, 2002.

J. Janssen and R. Manca, Applied Semi-Markov Processes, 2006.

A. Król and P. Saint-pierre, SemiMarkov : An R Package for Parametric Estimation in Multi-State Semi-Markov Models, Journal of Statistical Software, vol.66, issue.6, 2015.

P. Lévy, Processus semi-markoviens, Proc. of International Congress of Mathematics, 1954.

N. Limnios and G. Oprisan, Semi-Markov Processes and Reliability, 2001.

J. O'connell and S. Højsgaard, Hidden Semi Markov Models for Multiple Observation Sequences: The mhsmm Package for R, Journal of Statistical Software, vol.39, issue.4, 2011.

B. Ouhbi and N. Limnios, Nonparametric reliability estimation for semi-Markov processes, J. Statist. Plann. Inference, vol.109, issue.1-2, pp.308-315, 2003.

J. Sansom and P. J. Thomson, Fitting hidden semi-Markov models to breakpoint rainfall data, J. Appl. Probab, vol.38, pp.142-157, 2001.

W. L. Smith, Regenerative stochastic processes, Proc. R. Soc. Lond. Ser. A Math. Phys. Eng, vol.232, pp.6-31, 1955.

L. Takacs, Some investigations concerning recurrent stochastic processes of a certain type, Magyar Tud. Akad. Mat. Kutato Int. Kzl, vol.3, pp.115-128, 1954.

S. Trevezas and N. Limnios, Exact MLE and asymptotic properties for nonparametric semi-Markov models, Journal of Nonparametric Statistics, vol.23, issue.3, pp.719-739, 2011.
URL : https://hal.archives-ouvertes.fr/inria-00577952

I. Votsi, N. Limnios, G. Tsaklidis, and E. Papadimitriou, Estimation of the expected number of earthquake occurrences based on semi-Markov models, Methodology and Computing in Applied Probability, vol.14, issue.3, pp.685-703, 2012.
URL : https://hal.archives-ouvertes.fr/hal-01635178

I. Votsi, N. Limnios, G. Tsaklidis, and E. Papadimitriou, Hidden semi-Markov modeling for the estimation of earthquake occurrence rates, Communications in Statistics: Theory and Methods, vol.43, pp.1484-1502, 2014.
URL : https://hal.archives-ouvertes.fr/hal-01635180

, barbu@univ-rouen.fr URL, vol.12

, BP, vol.12, issue.76801

, nicolas.vergne@univ-rouen.fr URL, vol.12