Pointwise Nonparametric Estimation of Odds Ratio Curves with R: Introducing the flexOR Package

被引:0
作者
Azevedo, Marta [1 ]
Meira-Machado, Luis [1 ]
Gude, Francisco [2 ]
Araujo, Artur [3 ]
机构
[1] Univ Minho, Ctr Math, P-4710057 Braga, Portugal
[2] Univ Hosp Santiago de Compostela, Dept Med, Santiago 15705, Spain
[3] Univ Vigo, Campus Lagoas Marcosende, Vigo 36310, Spain
来源
APPLIED SCIENCES-BASEL | 2024年 / 14卷 / 09期
关键词
logistic models; generalized additive models; odds ratio; reference value; smoothing splines; CONTINUOUS PREDICTORS; MODELS; REGRESSION;
D O I
10.3390/app14093897
中图分类号
O6 [化学];
学科分类号
0703 ;
摘要
The analysis of odds ratio curves is a valuable tool in understanding the relationship between continuous predictors and binary outcomes. Traditional parametric regression approaches often assume specific functional forms, limiting their flexibility and applicability to complex data. To address this limitation and introduce more flexibility, several smoothing methods may be applied, and approaches based on splines are the most frequently considered in this context. To better understand the effects that each continuous covariate has on the outcome, results can be expressed in terms of splines-based odds ratio (OR) curves, taking a specific covariate value as reference. In this paper, we introduce an R package, flexOR, which provides a comprehensive framework for pointwise nonparametric estimation of odds ratio curves for continuous predictors. The package can be used to estimate odds ratio curves without imposing rigid assumptions about their underlying functional form while considering a reference value for the continuous covariate. The package offers various options for automatically choosing the degrees of freedom in multivariable models. It also includes visualization functions to aid in the interpretation and presentation of the estimated odds ratio curves. flexOR offers a user-friendly interface, making it accessible to researchers and practitioners without extensive statistical backgrounds.
引用
收藏
页数:17
相关论文
共 15 条
[1]   NEW LOOK AT STATISTICAL-MODEL IDENTIFICATION [J].
AKAIKE, H .
IEEE TRANSACTIONS ON AUTOMATIC CONTROL, 1974, AC19 (06) :716-723
[2]  
Barrio I., 2015, P MOL2NET 15 C MOL B
[3]   A new approach to categorising continuous variables in prediction models: Proposal and validation [J].
Barrio, Irantzu ;
Arostegui, Inmaculada ;
Rodriguez-Alvarez, Maria-Xose ;
Quintana, Jose-Maria .
STATISTICAL METHODS IN MEDICAL RESEARCH, 2017, 26 (06) :2586-2602
[4]   Flexible hazard ratio curves for continuous predictors in multi-state models: an application to breast cancer data [J].
Cadarso-Suarez, Carmen ;
Meira-Machado, Luis ;
Kneib, Thomas ;
Gude, Francisco .
STATISTICAL MODELLING, 2010, 10 (03) :291-314
[5]  
De Boor C., 2001, A Practical Guide To Splines
[6]   Application of nonparametric models for calculating odds ratios and their confidence intervals for continuous exposures [J].
Figueiras, A ;
Cadarso-Suárez, C .
AMERICAN JOURNAL OF EPIDEMIOLOGY, 2001, 154 (03) :264-275
[7]  
Hastie T. J., 1990, GEN ADDITIVE MODELS
[8]  
Hosmer DW Jr, 2013, WILEY SER PROBAB ST, P89
[9]   Smoothing parameter selection in nonparametric regression using an improved Akaike information criterion [J].
Hurvich, CM ;
Simonoff, JS ;
Tsai, CL .
JOURNAL OF THE ROYAL STATISTICAL SOCIETY SERIES B-STATISTICAL METHODOLOGY, 1998, 60 :271-293
[10]   smoothHR: An R Package for Pointwise Nonparametric Estimation of Hazard Ratio Curves of Continuous Predictors [J].
Meira-Machado, Luis ;
Cadarso-Suarez, Carmen ;
Gude, Francisco ;
Araujo, Artur .
COMPUTATIONAL AND MATHEMATICAL METHODS IN MEDICINE, 2013, 2013