IDEAS home Printed from https://ideas.repec.org/a/jss/jstsof/v065i03.html
   My bibliography  Save this article

simPH: An R Package for Illustrating Estimates from Cox Proportional Hazard Models Including for Interactive and Nonlinear Effects

Author

Listed:
  • Gandrud, Christopher

Abstract

The R package simPH provides tools for effectively communicating results from Cox proportional hazard (PH) models, including models with interactive and nonlinear effects. The Cox (PH) model is a popular tool for examining event data. However, previously available computational tools have not made it easy to explore and communicate quantities of interest and associated uncertainty estimated from them. This is especially true when the effects are interactions or nonlinear transformations of continuous variables. These transformations are especially useful with Cox PH models because they can be employed to correctly specifying models that would otherwise violate the nonproportional hazards assumption. Package simPH makes it easy to simulate and then plot quantities of interest for a variety of effects estimated from Cox PH models including interactive effects, nonlinear effects, as well as standard linear effects. Package simPH employs visual weighting in order to effectively communicate estimation uncertainty. There are options to show either the standard central interval of the simulation's distribution or the shortest probability interval - which can be useful for asymmetrically distributed estimates. This paper uses hypothetical and empirical examples to illustrate package simPH 's syntax and capabilities.

Suggested Citation

  • Gandrud, Christopher, 2015. "simPH: An R Package for Illustrating Estimates from Cox Proportional Hazard Models Including for Interactive and Nonlinear Effects," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 65(i03).
  • Handle: RePEc:jss:jstsof:v:065:i03
    DOI: http://hdl.handle.net/10.18637/jss.v065.i03
    as

    Download full text from publisher

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

    File URL: https://www.jstatsoft.org/index.php/jss/article/downloadSuppFile/v065i03/simPH_1.3.1.tar.gz
    Download Restriction: no

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

    File URL: https://www.jstatsoft.org/index.php/jss/article/downloadSuppFile/v065i03/hmohiv.csv.zip
    Download Restriction: no

    File URL: https://libkey.io/http://hdl.handle.net/10.18637/jss.v065.i03?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. Keele, Luke, 2010. "Proportionally Difficult: Testing for Nonproportional Hazards in Cox Models," Political Analysis, Cambridge University Press, vol. 18(2), pages 189-205, April.
    2. Janet M. Box-Steffensmeier & Dan Reiter & Christopher Zorn, 2003. "Nonproportional Hazards and Event History Analysis in International Relations," Journal of Conflict Resolution, Peace Science Society (International), vol. 47(1), pages 33-53, February.
    3. Brambor, Thomas & Clark, William Roberts & Golder, Matt, 2006. "Understanding Interaction Models: Improving Empirical Analyses," Political Analysis, Cambridge University Press, vol. 14(1), pages 63-82, January.
    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. Michael A Ruderman & Bo Kim & Kelly Stolzmann & Samantha Connolly & Christopher J Miller & Mark S Bauer, 2021. "Time course and heterogeneity of treatment effect of the collaborative chronic care model on psychiatric hospitalization rates: A survival analysis using routinely collected electronic medical records," PLOS ONE, Public Library of Science, vol. 16(3), pages 1-17, March.
    2. Ambrosius, Christian, 2017. "What explains the speed of recovery from banking crises?," Journal of International Money and Finance, Elsevier, vol. 70(C), pages 257-287.
    3. Umit Ozmel & Jeffrey J. Reuer & Cheng-Wei Wu, 2017. "Interorganizational Imitation and Acquisitions of High-tech Ventures," Strategic Management Journal, Wiley Blackwell, vol. 38(13), pages 2647-2665, December.
    4. Ambrosius, Christian, 2016. "What Explains the Speed of Recovery from Banking Crises?," VfS Annual Conference 2016 (Augsburg): Demographic Change 145606, Verein für Socialpolitik / German Economic Association.
    5. Freixanet, Joan & Renart, Gemma, 2020. "A capabilities perspective on the joint effects of internationalization time, speed, geographic scope and managers’ competencies on SME survival," Journal of World Business, Elsevier, vol. 55(6).
    6. van den Oever, Koen, 2017. "Uncharted waters : A behavioral approach to when, why and which organizational changes are adopted," Other publications TiSEM 0136c8c2-ecdd-4f82-8ca7-d, Tilburg University, School of Economics and Management.
    7. Sara J. Germain & James A. Lutz, 2020. "Climate extremes may be more important than climate means when predicting species range shifts," Climatic Change, Springer, vol. 163(1), pages 579-598, November.
    8. Post, Alison E. & Murillo, María Victoria, 2016. "How Investor Portfolios Shape Regulatory Outcomes: Privatized Infrastructure After Crises," World Development, Elsevier, vol. 77(C), pages 328-345.
    9. 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).
    10. Cheng Shu & Sharon A. Simmons, 2018. "Firm survival in traded industries: does localization moderate the effects of founding team experience?," Small Business Economics, Springer, vol. 50(3), pages 643-655, March.
    11. Mengyang Zhao, 2019. "Media Freedom and Protest Events in the Global South," Social Science Quarterly, Southwestern Social Science Association, vol. 100(4), pages 1254-1267, June.
    12. Antenangeli Leonardo & Cantú Francisco, 2019. "Right on Time: An Electoral Audit for the Publication of Vote Results," Statistics, Politics and Policy, De Gruyter, vol. 10(2), pages 137-186, December.

    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. Andrew Boutton, 2019. "Of terrorism and revenue: Why foreign aid exacerbates terrorism in personalist regimes," Conflict Management and Peace Science, Peace Science Society (International), vol. 36(4), pages 359-384, July.
    2. Tiziana La Rocca & Maurizio La Rocca & Francesco Fasano & Alfio Cariola, 2023. "Does a country's environmental policy affect the value of small and medium sized enterprises liquidity in the energy sector?," Corporate Social Responsibility and Environmental Management, John Wiley & Sons, vol. 30(1), pages 277-290, January.
    3. Simplice Asongu & Nicholas M. Odhiambo, 2020. "Financial access, governance and insurance sector development in sub-Saharan Africa," Journal of Economic Studies, Emerald Group Publishing Limited, vol. 47(4), pages 849-875, February.
    4. Andrea Sáenz de Viteri Vázquez & Christian Bjørnskov, 2020. "Constitutional power concentration and corruption: evidence from Latin America and the Caribbean," Constitutional Political Economy, Springer, vol. 31(4), pages 509-536, December.
    5. Simplice A. Asongu & Nicholas M. Odhiambo, 2019. "Governance, capital flight and industrialisation in Africa," Journal of Economic Structures, Springer;Pan-Pacific Association of Input-Output Studies (PAPAIOS), vol. 8(1), pages 1-22, December.
    6. Daniel Ofori-Sasu & Maame Ofewah Sarpong & Vivian Tetteh & Baah Aye Kusi, 2022. "Banking disclosure and banking crises in Africa: does board gender diversity play a role?," Palgrave Communications, Palgrave Macmillan, vol. 9(1), pages 1-10, December.
    7. Ehigiamusoe, Kizito Uyi & Lean, Hooi Hooi & Smyth, Russell, 2020. "The moderating role of energy consumption in the carbon emissions-income nexus in middle-income countries," Applied Energy, Elsevier, vol. 261(C).
    8. Simplice A. Asongu & Uchenna R. Efobi & Ibukun Beecroft, 2021. "Aid in Modulating the Impact of Terrorism on FDI: No Positive Thresholds, No Policy," Forum for Social Economics, Taylor & Francis Journals, vol. 50(4), pages 432-456, October.
    9. Falavigna, Greta & Ippoliti, Roberto, 2023. "SMEs’ behavior under financial constraints: An empirical investigation on the legal environment and the substitution effect with tax arrears," The North American Journal of Economics and Finance, Elsevier, vol. 66(C).
    10. Bilin Neyapti, 2018. "Income distribution and economic crises," International Finance, Wiley Blackwell, vol. 21(3), pages 273-296, December.
    11. Asongu, Simplice A., 2017. "Assessing marginal, threshold, and net effects of financial globalisation on financial development in Africa," Journal of Multinational Financial Management, Elsevier, vol. 40(C), pages 103-114.
    12. repec:use:tkiwps:1818 is not listed on IDEAS
    13. Edoardo Bressanelli & Christel Koop & Christine Reh, 2016. "The impact of informalisation: Early agreements and voting cohesion in the European Parliament," European Union Politics, , vol. 17(1), pages 91-113, March.
    14. André de Abreu Saraiva Monteiro Alves & Fernando Manuel Pereira de Oliveira Carvalho, 2022. "How Dynamic Managerial Capabilities, Entrepreneurial Orientation, and Operational Capabilities Impact Microenterprises’ Global Performance," Sustainability, MDPI, vol. 15(1), pages 1-23, December.
    15. Rana, Arslan Tariq & Kebewar, Mazen, 2014. "The Political Economy of FDI flows into Developing Countries: Does the depth of International Trade Agreements Matter?," EconStor Preprints 91501, ZBW - Leibniz Information Centre for Economics.
    16. Simplice A. Asongu & Nicholas M. Odhiambo, 2018. "Information asymmetry, financialization, and financial access," International Finance, Wiley Blackwell, vol. 21(3), pages 297-315, December.
    17. Simplice A. Asongu & Jacinta C. Nwachukwu, 2018. "Increasing Foreign Aid for Inclusive Human Development in Africa," Social Indicators Research: An International and Interdisciplinary Journal for Quality-of-Life Measurement, Springer, vol. 138(2), pages 443-466, July.
    18. Sirén, Charlotta & Kohtamäki, Marko, 2016. "Stretching strategic learning to the limit: The interaction between strategic planning and learning," Journal of Business Research, Elsevier, vol. 69(2), pages 653-663.
    19. Simplice Asongu & Ndemaze Asongu, 2018. "The comparative exploration of mobile money services in inclusive development," International Journal of Social Economics, Emerald Group Publishing Limited, vol. 45(1), pages 124-139, January.
    20. Simplice A. Asongu & Nicholas M. Odhiambo, 2023. "Female unemployment, mobile money innovations and doing business by females," Journal of Innovation and Entrepreneurship, Springer, vol. 12(1), pages 1-26, December.
    21. Uchenna Efobi & Simplice Asongu & Ibukun Beecroft, 2018. "Aid, Terrorism, and Foreign Direct Investment: Empirical Insight Conditioned on Corruption Control," International Economic Journal, Taylor & Francis Journals, vol. 32(4), pages 610-630, October.

    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:065:i03. 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.