Cargando…

BivRec: an R package for the nonparametric and semiparametric analysis of bivariate alternating recurrent events

BACKGROUND: Bivariate alternating recurrent event data can arise in longitudinal studies where patients with chronic diseases go through two states that occur repeatedly, e.g., care periods and break periods. However, there was no statistical software that provided tools for the analysis of such dat...

Descripción completa

Detalles Bibliográficos
Autores principales: Castro-Pearson, Sandra, Sur, Aparajita, Lee, Chi Hyun, Huang, Chiung-Yu, Luo, Xianghua
Formato: Online Artículo Texto
Lenguaje:English
Publicado: BioMed Central 2022
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8978432/
https://www.ncbi.nlm.nih.gov/pubmed/35369863
http://dx.doi.org/10.1186/s12874-022-01558-0
_version_ 1784680962030829568
author Castro-Pearson, Sandra
Sur, Aparajita
Lee, Chi Hyun
Huang, Chiung-Yu
Luo, Xianghua
author_facet Castro-Pearson, Sandra
Sur, Aparajita
Lee, Chi Hyun
Huang, Chiung-Yu
Luo, Xianghua
author_sort Castro-Pearson, Sandra
collection PubMed
description BACKGROUND: Bivariate alternating recurrent event data can arise in longitudinal studies where patients with chronic diseases go through two states that occur repeatedly, e.g., care periods and break periods. However, there was no statistical software that provided tools for the analysis of such data. To meet this software need, we developed BivRec, a package for R that contains a set of tools for exploratory, nonparametric and semiparametric regression analysis of bivariate alternating recurrent events. RESULTS: The BivRec package provides functions for nonparametric estimations for the joint distribution of bivariate gap times (bivrecNP) and semiparametric regression methods for evaluating covariate effects on the two types of gap times under the accelerated failure time model framework (bivrecReg). The package also provides exploratory data analysis tools such as a visualization of the gap times by groups. We utilize a subset of the South Verona Psychiatric Case Register (PCR) data to illustrate the use of the BivRec package for the reviewed methods. CONCLUSIONS: We demonstrate BivRec’s capability for data visualization, nonparametric and regression based analysis, as well as data simulation. The package has default methods with satisfactory performance despite the complexity of calculations and fills a gap in software for statistical analysis of bivariate alternating recurrent events. BivRec is accessible under the GPL-3 General Public License through CRAN, facilitating its installation.
format Online
Article
Text
id pubmed-8978432
institution National Center for Biotechnology Information
language English
publishDate 2022
publisher BioMed Central
record_format MEDLINE/PubMed
spelling pubmed-89784322022-04-05 BivRec: an R package for the nonparametric and semiparametric analysis of bivariate alternating recurrent events Castro-Pearson, Sandra Sur, Aparajita Lee, Chi Hyun Huang, Chiung-Yu Luo, Xianghua BMC Med Res Methodol Software BACKGROUND: Bivariate alternating recurrent event data can arise in longitudinal studies where patients with chronic diseases go through two states that occur repeatedly, e.g., care periods and break periods. However, there was no statistical software that provided tools for the analysis of such data. To meet this software need, we developed BivRec, a package for R that contains a set of tools for exploratory, nonparametric and semiparametric regression analysis of bivariate alternating recurrent events. RESULTS: The BivRec package provides functions for nonparametric estimations for the joint distribution of bivariate gap times (bivrecNP) and semiparametric regression methods for evaluating covariate effects on the two types of gap times under the accelerated failure time model framework (bivrecReg). The package also provides exploratory data analysis tools such as a visualization of the gap times by groups. We utilize a subset of the South Verona Psychiatric Case Register (PCR) data to illustrate the use of the BivRec package for the reviewed methods. CONCLUSIONS: We demonstrate BivRec’s capability for data visualization, nonparametric and regression based analysis, as well as data simulation. The package has default methods with satisfactory performance despite the complexity of calculations and fills a gap in software for statistical analysis of bivariate alternating recurrent events. BivRec is accessible under the GPL-3 General Public License through CRAN, facilitating its installation. BioMed Central 2022-04-03 /pmc/articles/PMC8978432/ /pubmed/35369863 http://dx.doi.org/10.1186/s12874-022-01558-0 Text en © The Author(s) 2022 https://creativecommons.org/licenses/by/4.0/Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/ (https://creativecommons.org/licenses/by/4.0/) . The Creative Commons Public Domain Dedication waiver (http://creativecommons.org/publicdomain/zero/1.0/ (https://creativecommons.org/publicdomain/zero/1.0/) ) applies to the data made available in this article, unless otherwise stated in a credit line to the data.
spellingShingle Software
Castro-Pearson, Sandra
Sur, Aparajita
Lee, Chi Hyun
Huang, Chiung-Yu
Luo, Xianghua
BivRec: an R package for the nonparametric and semiparametric analysis of bivariate alternating recurrent events
title BivRec: an R package for the nonparametric and semiparametric analysis of bivariate alternating recurrent events
title_full BivRec: an R package for the nonparametric and semiparametric analysis of bivariate alternating recurrent events
title_fullStr BivRec: an R package for the nonparametric and semiparametric analysis of bivariate alternating recurrent events
title_full_unstemmed BivRec: an R package for the nonparametric and semiparametric analysis of bivariate alternating recurrent events
title_short BivRec: an R package for the nonparametric and semiparametric analysis of bivariate alternating recurrent events
title_sort bivrec: an r package for the nonparametric and semiparametric analysis of bivariate alternating recurrent events
topic Software
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8978432/
https://www.ncbi.nlm.nih.gov/pubmed/35369863
http://dx.doi.org/10.1186/s12874-022-01558-0
work_keys_str_mv AT castropearsonsandra bivrecanrpackageforthenonparametricandsemiparametricanalysisofbivariatealternatingrecurrentevents
AT suraparajita bivrecanrpackageforthenonparametricandsemiparametricanalysisofbivariatealternatingrecurrentevents
AT leechihyun bivrecanrpackageforthenonparametricandsemiparametricanalysisofbivariatealternatingrecurrentevents
AT huangchiungyu bivrecanrpackageforthenonparametricandsemiparametricanalysisofbivariatealternatingrecurrentevents
AT luoxianghua bivrecanrpackageforthenonparametricandsemiparametricanalysisofbivariatealternatingrecurrentevents