nlive:一个便于应用 S 形混合模型和随机变点混合模型的 R 包
nlive: an R Package to facilitate the application of the sigmoidal and random changepoint mixed models
AI总结:
本文介绍 R 包 nlive,它整合 SAEM 与多项式平滑转换等方法,支持拟合 S 形及突变/平滑随机变点混合模型,并以简洁参数和辅助输出降低使用门槛。
摘要:
背景:使用具有特定函数形式的混合效应模型,例如 Sigmoidal Mixed Model(S 形混合模型)以及具有突变或平滑随机变化的 Piecewise Mixed Model(分段混合模型,或称 Changepoint Mixed Model,变点混合模型),能够解释所定义的参数,从而理解纵向轨迹。目前,尚没有界面友好的 R 包可以方便地拟合允许纳入协变量的 Sigmoidal Mixed Model,也没有 R 包整合用于拟合具有随机变化的 Piecewise Mixed Model 的最新进展。结果:为便于对 Sigmoidal Mixed Model 以及具有突变或平滑随机变化的 Piecewise Mixed Model 进行建模,我们创建了一个名为 nlive 的 R 包。所有必要组成部分,如函数、协方差矩阵和初始值生成,均已编程实现。该包采用了多项最新进展,例如相较 Bacon-Watts 具有改进性质的分段混合模型多项式平滑转换,以及用于高效估计的随机近似期望最大化算法(SAEM)。其设计通过提供带注释的输出、警告和图形等功能,帮助解释输出结果。我们通过模拟测试了包括运行时间和收敛性在内的功能,并提供了一个数据示例,以说明该包的使用、输出功能及解释。这个在 R 软件中实现的包可从 Comprehensive R Archive Network(CRAN)获取,网址为 https://CRAN.R-project.org/package=nlive。结论:用于 R 的 nlive 包可拟合 Sigmoidal Mixed Model 以及突变型和平滑型 Piecewise Mixed Model。nlive 仅需五个强制性参数即可拟合这些模型,且这些参数足够直观,适合经验较少的用户使用。
英文摘要:
Background: The use of mixed effect models with a specific functional form such as the Sigmoidal Mixed Model and the Piecewise Mixed Model (or Changepoint Mixed Model) with abrupt or smooth random change allows the interpretation of the defined parameters to understand longitudinal trajectories. Currently, there are no interface R packages that can easily fit the Sigmoidal Mixed Model allowing the inclusion of covariates or incorporating recent developments to fit the Piecewise Mixed Model with random change. Results: To facilitate the modeling of the Sigmoidal Mixed Model, and Piecewise Mixed Model with abrupt or smooth random change, we have created an R package called nlive. All needed pieces such as functions, covariance matrices, and initials generation were programmed. The package was implemented with recent developments such as the polynomial smooth transition of the piecewise mixed model with improved properties over Bacon-Watts, and the stochastic approximation expectation-maximization (SAEM) for efficient estimation. It was designed to help interpretation of the output by providing features such as annotated output, warnings, and graphs. Functionality, including time and convergence, was tested using simulations. We provided a data example to illustrate the package use and output features and interpretation. The package implemented in the R software is available from the Comprehensive R Archive Network (CRAN) at https://CRAN.R-project.org/package=nlive. Conclusions: The nlive package for R fits the Sigmoidal Mixed Model and the Piecewise Mixed: abrupt and smooth. The nlive allows fitting these models with only five mandatory arguments that are intuitive enough to the less sophisticated users.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。