Roshani Daem, Ghaderi Ebrahim
Social Determinants of Health Research Center, Kurdistan University of Medical Sciences, Sanandaj, Iran; Department of Epidemiology and Biostatistics, Medical School, Kurdistan University of Medical Sciences, Sanandaj, Iran.
Acta Inform Med. 2016 Feb;24(1):38-41. doi: 10.5455/aim.2016.24.38-41. Epub 2016 Feb 2.
Cox model is a popular model in survival analysis, which assumes linearity of the covariate on the log hazard function, While continuous covariates can affect the hazard through more complicated nonlinear functional forms and therefore, Cox models with continuous covariates are prone to misspecification due to not fitting the correct functional form for continuous covariates. In this study, a smooth nonlinear covariate effect would be approximated by different spline functions.
We applied three flexible nonparametric smoothing techniques for nonlinear covariate effect in the Cox models: penalized splines, restricted cubic splines and natural splines. Akaike information criterion (AIC) and degrees of freedom were used to smoothing parameter selection in penalized splines model. The ability of nonparametric methods was evaluated to recover the true functional form of linear, quadratic and nonlinear functions, using different simulated sample sizes. Data analysis was carried out using R 2.11.0 software and significant levels were considered 0.05.
Based on AIC, the penalized spline method had consistently lower mean square error compared to others to selection of smoothed parameter. The same result was obtained with real data.
Penalized spline smoothing method, with AIC to smoothing parameter selection, was more accurate in evaluate of relation between covariate and log hazard function than other methods.
Cox模型是生存分析中一种常用的模型,它假定协变量在对数风险函数上呈线性关系。然而,连续协变量可通过更复杂的非线性函数形式影响风险,因此,含有连续协变量的Cox模型容易因未拟合连续协变量的正确函数形式而出现模型设定错误。在本研究中,将用不同的样条函数来近似平滑的非线性协变量效应。
我们在Cox模型中应用了三种灵活的非参数平滑技术来处理非线性协变量效应:惩罚样条、受限立方样条和自然样条。在惩罚样条模型中,使用赤池信息准则(AIC)和自由度来选择平滑参数。利用不同的模拟样本量,评估非参数方法恢复线性、二次和非线性函数真实函数形式的能力。使用R 2.11.0软件进行数据分析,显著性水平设定为0.05。
基于AIC,在选择平滑参数时,惩罚样条法的均方误差始终低于其他方法。实际数据也得到了相同的结果。
在选择平滑参数时使用AIC的惩罚样条平滑法,在评估协变量与对数风险函数之间的关系时比其他方法更准确。