目的:纵向和时间到事件数据的联合建模近年来得到了广泛的发展,包括用于纵向结果的非线性模型和用于生存结果的灵活的时间到事件模型,可能涉及竞争风险。然而,在流行的软件,如R,用于描述生物标志物动态的函数在参数上主要是线性的,而生存子模型依赖于预先实现的函数(指数,威布尔,...).这项工作的目的是从saemix软件包(CRAN上的3.1版)扩展代码,以适应参数化关节模型,其中纵向子模型在其参数中不需要线性,具有对模型函数的完全用户控制。
方法:我们使用了saemix包,旨在通过随机近似期望最大化(SAEM)算法拟合非线性混合效应模型(NLMEM),并将主要功能扩展到联合模型估计。要计算参数估计的标准误差(SE),我们实现了一个最近开发的随机算法。提出了一种仿真研究来评估(I)参数估计的性能,(ii)当测试两个子模型之间的独立性时的SE计算和(iii)类型I误差。在仿真研究中考虑了四个关节模型,结合纵向子模型的线性或非线性混合效应模型,具有单个终端事件或竞争风险模型。
结果:对于所有模拟场景,参数得到了精确准确的估计,具有低偏差和不确定性。对于复杂关节模型(具有NLMEM),增加算法的链数对于减少偏差是必要的,但是在竞争风险情景中的早期审查仍然对估计提出了挑战。在所有模拟中获得的参数的经验SE非常接近于使用随机算法计算的参数。对于更复杂的关节模型(涉及NLMEM),一些随机效应方差的估计具有较高的不确定性,其SE被适度低估.最后,对每个关节模型进行I型误差控制。
结论:saemix是一个灵活的开源软件包,我们对其进行了调整,以适应可能无法使用标准工具估算的复杂参数关节模型。帮助用户入门的代码和示例可在Github上免费获得。
OBJECTIVE: Joint modeling of longitudinal and time-to-event data has gained attention over recent years with extensive developments including nonlinear models for longitudinal outcomes and flexible time-to-event models for survival outcomes, possibly involving competing risks. However, in popular software such as R, the function used to describe the biomarker dynamic is mainly linear in the parameters, and the survival submodel relies on pre-implemented functions (exponential, Weibull, ...). The objective of this work is to extend the code from the saemix package (version 3.1 on CRAN) to fit parametric joint models where longitudinal submodels are not necessary linear in their parameters, with full user control over the model function.
METHODS: We used the saemix package, designed to fit nonlinear mixed-effects models (NLMEM) through the Stochastic Approximation Expectation Maximization (SAEM) algorithm, and extended the main functions to joint model estimation. To compute standard errors (SE) of parameter estimates, we implemented a recently developed stochastic algorithm. A simulation study was proposed to assess (i) the performances of parameter estimation, (ii) the SE computation and (iii) the type I error when testing independence between the two submodels. Four joint models were considered in the simulation study, combining a linear or nonlinear mixed-effects model for the longitudinal submodel, with a single terminal event or a competing risk model.
RESULTS: For all simulation scenarios, parameters were precisely and accurately estimated with low bias and uncertainty. For complex joint models (with NLMEM), increasing the number of chains of the algorithm was necessary to reduce bias, but earlier censoring in the competing risk scenario still challenged the estimation. The empirical SE of parameters obtained over all simulations were very close to those computed with the stochastic algorithm. For more complex joint models (involving NLMEM), some estimates of random effects variances had higher uncertainty and their SE were moderately under-estimated. Finally, type I error was controlled for each joint model.
CONCLUSIONS: saemix is a flexible open-source package and we adapted it to fit complex parametric joint models that may not be estimated using standard tools. Code and examples to help users get started are freely available on Github.