IDEAS home Printed from https://ideas.repec.org/a/jss/jstsof/v066i06.html

SemiMarkov: An R Package for Parametric Estimation in Multi-State Semi-Markov Models

Author

Listed:
  • Król, Agnieszka
  • Saint-Pierre, Philippe

Abstract

Multi-state models provide a relevant tool for studying the observations of a continuoustime process at arbitrary times. Markov models are often considered even if semi-Markov are better adapted in various situations. Such models are still not frequently applied mainly due to lack of available software. We have developed the R package SemiMarkov to fit homogeneous semi-Markov models to longitudinal data. The package performs maximum likelihood estimation in a parametric framework where the distributions of the sojourn times can be chosen between exponential, Weibull or exponentiated Weibull. The package computes and displays the hazard rates of sojourn times and the hazard rates of the semi-Markov process. The effects of covariates can be studied with a Cox proportional hazards model for the sojourn times distributions. The number of covariates and the distribution of sojourn times can be specified for each possible transition providing a great flexibility in a model’s definition. This article presents parametric semi-Markov models and gives a detailed description of the package together with an application to asthma control.

Suggested Citation

  • Król, Agnieszka & Saint-Pierre, Philippe, 2015. "SemiMarkov: An R Package for Parametric Estimation in Multi-State Semi-Markov Models," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 66(i06).
  • Handle: RePEc:jss:jstsof:v:066:i06
    DOI: http://hdl.handle.net/10.18637/jss.v066.i06
    as

    Download full text from publisher

    File URL: https://www.jstatsoft.org/index.php/jss/article/view/v066i06/v66i06.pdf
    Download Restriction: no

    File URL: https://www.jstatsoft.org/index.php/jss/article/downloadSuppFile/v066i06/SemiMarkov_1.4.2.tar.gz
    Download Restriction: no

    File URL: https://www.jstatsoft.org/index.php/jss/article/downloadSuppFile/v066i06/v66i06.R
    Download Restriction: no

    File URL: https://libkey.io/http://hdl.handle.net/10.18637/jss.v066.i06?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    References listed on IDEAS

    as
    1. Brahim Ouhbi & Nikolaos Limnios, 1999. "Nonparametric Estimation for Semi-Markov Processes Based on its Hazard Rate Functions," Statistical Inference for Stochastic Processes, Springer, vol. 2(2), pages 151-173, May.
    2. Jackson, Christopher, 2011. "Multi-State Models for Panel Data: The msm Package for R," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 38(i08).
    3. de Wreede, Liesbeth C. & Fiocco, Marta & Putter, Hein, 2011. "mstate: An R Package for the Analysis of Competing Risks and Multi-State Models," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 38(i07).
    Full references (including those not matched with items on IDEAS)

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. Fuino, Michel & Wagner, Joël, 2018. "Long-term care models and dependence probability tables by acuity level: New empirical evidence from Switzerland," Insurance: Mathematics and Economics, Elsevier, vol. 81(C), pages 51-70.
    2. Hongwen Guo & Mo Zhang & Paul Deane & Randy E. Bennett, 2019. "Writing Process Differences in Subgroups Reflected in Keystroke Logs," Journal of Educational and Behavioral Statistics, , vol. 44(5), pages 571-596, October.
    3. Guibert, Quentin & Planchet, Frédéric, 2018. "Non-parametric inference of transition probabilities based on Aalen–Johansen integral estimators for acyclic multi-state models: application to LTC insurance," Insurance: Mathematics and Economics, Elsevier, vol. 82(C), pages 21-36.
    4. Kung-Jeng Wang & Chia-Min Lee & Gwo-Chi Hu & Kung-Min Wang, 2020. "Stroke to Dementia Associated with Environmental Risks—A Semi-Markov Model," IJERPH, MDPI, vol. 17(6), pages 1-13, March.
    5. Guglielmo D'Amico & Stefania Scocchera & Loriano Storchi, 2021. "Randentropy: a software to measure inequality in random systems," Papers 2103.09107, arXiv.org.

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Sharples, Linda D., 2018. "The role of statistics in the era of big data: Electronic health records for healthcare research," Statistics & Probability Letters, Elsevier, vol. 136(C), pages 105-110.
    2. Budhi Surya, 2021. "A new class of conditional Markov jump processes with regime switching and path dependence: properties and maximum likelihood estimation," Papers 2107.07026, arXiv.org.
    3. repec:osf:socarx:3mcfp_v1 is not listed on IDEAS
    4. Piccarreta, Raffaella & Bonetti, Marco, 2019. "Assessing and comparing models for sequence data by microsimulation (with Supplementary Material)," SocArXiv 3mcfp, Center for Open Science.
    5. Jackson, Christopher, 2016. "flexsurv: A Platform for Parametric Survival Modeling in R," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 70(i08).
    6. Touraine, Célia & Gerds, Thomas A. & Joly, Pierre, 2017. "SmoothHazard: An R Package for Fitting Regression Models to Interval-Censored Observations of Illness-Death Models," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 79(i07).
    7. Francesco Grossetti & Francesca Ieva & Anna Maria Paganoni, 2018. "A multi-state approach to patients affected by chronic heart failure," Health Care Management Science, Springer, vol. 21(2), pages 281-291, June.
    8. Blaser, Nello & Vizcaya, Luisa Salazar & Estill, Janne & Zahnd, Cindy & Kalesan, Bindu & Egger, Matthias & Gsponer, Thomas & Keiser, Olivia, 2015. "gems: An R Package for Simulating from Disease Progression Models," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 64(i10).
    9. Frans Willekens & Hein Putter, 2014. "Software for multistate analysis," Demographic Research, Max Planck Institute for Demographic Research, Rostock, Germany, vol. 31(14), pages 381-420.
    10. Qiu, Qinjing & Kawai, Reiichiro, 2022. "A decoupling principle for Markov-modulated chains," Statistics & Probability Letters, Elsevier, vol. 182(C).
    11. Vernon T. Farewell & Li Su & Christopher Jackson, 2019. "Partially hidden multi-state modelling of a prolonged disease state defined by a composite outcome," Lifetime Data Analysis: An International Journal Devoted to Statistical Methods and Applications for Time-to-Event Data, Springer, vol. 25(4), pages 696-711, October.
    12. Gaffney, Edward & McCann, Fergal, 2019. "The cyclicality in SICR: mortgage modelling under IFRS 9," ESRB Working Paper Series 92, European Systemic Risk Board.
    13. repec:jss:jstsof:38:i08 is not listed on IDEAS
    14. Julia Mikolai & Brienna Perelli-Harris & Ann Berrington, 2018. "The role of education in the intersection of partnership transitions and motherhood in Europe and the United States," Demographic Research, Max Planck Institute for Demographic Research, Rostock, Germany, vol. 39(27), pages 753-794.
    15. Sek-yum Ngai, Steven & Cheung, Chau-kiu & Ng, Yuen-hang & Joo Lee, Bong & Dupéré, Véronique & Wang, Miao & Zhou, Qiushi & Chen, Chen & Li, Yunjun & Wong, Laing-ming & Yu, Elly Ngai-hin, 2025. "Unraveling the school-to-work transition of non-engaged youth: A continuous-time Markov chain analysis," Children and Youth Services Review, Elsevier, vol. 172(C).
    16. Biagini, Francesca & Groll, Andreas & Widenmann, Jan, 2013. "Intensity-based premium evaluation for unemployment insurance products," Insurance: Mathematics and Economics, Elsevier, vol. 53(1), pages 302-316.
    17. Alessandra Trimarchi & Jan Van Bavel, 2017. "Pathways to marital and non-marital first birth: the role of his and her education," Vienna Yearbook of Population Research, Vienna Institute of Demography (VID) of the Austrian Academy of Sciences in Vienna, vol. 15(1), pages 143-179.
    18. Alex Bottle & Chiara Maria Ventura & Kumar Dharmarajan & Paul Aylin & Francesca Ieva & Anna Maria Paganoni, 2018. "Regional variation in hospitalisation and mortality in heart failure: comparison of England and Lombardy using multistate modelling," Health Care Management Science, Springer, vol. 21(2), pages 292-304, June.
    19. Wildhaber, Mark L. & Albers, Janice L. & Green, Nicholas S. & Moran, Edward H., 2017. "A fully-stochasticized, age-structured population model for population viability analysis of fish: Lower Missouri River endangered pallid sturgeon example," Ecological Modelling, Elsevier, vol. 359(C), pages 434-448.
    20. Sarah J. Aldridge & Utkarsh Agrawal & Siobhán Murphy & Tristan Millington & Ashley Akbari & Fatima Almaghrabi & Sneha N. Anand & Stuart Bedston & Rosalind Goudie & Rowena Griffiths & Mark Joy & Emily , 2024. "Uptake of COVID-19 vaccinations amongst 3,433,483 children and young people: meta-analysis of UK prospective cohorts," Nature Communications, Nature, vol. 15(1), pages 1-12, December.
    21. Irene Votsi & Nikolaos Limnios & George Tsaklidis & Eleftheria Papadimitriou, 2012. "Estimation of the Expected Number of Earthquake Occurrences Based on Semi-Markov Models," Methodology and Computing in Applied Probability, Springer, vol. 14(3), pages 685-703, September.
    22. Sarah M. Urbut & Ming Wai Yeung & Shaan Khurshid & So Mi Jemma Cho & Art Schuermans & Jakob German & Kodi Taraszka & Kaavya Paruchuri & Akl C. Fahed & Patrick T. Ellinor & Ludovic Trinquart & Giovanni, 2024. "MSGene: a multistate model using genetic risk and the electronic health record applied to lifetime risk of coronary artery disease," Nature Communications, Nature, vol. 15(1), pages 1-14, December.

    More about this item

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:jss:jstsof:v:066:i06. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Christopher F. Baum (email available below). General contact details of provider: http://www.jstatsoft.org/ .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.