{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2025,10,11]],"date-time":"2025-10-11T01:02:29Z","timestamp":1760144549746,"version":"build-2065373602"},"reference-count":15,"publisher":"MDPI AG","issue":"9","license":[{"start":{"date-parts":[[2024,5,2]],"date-time":"2024-05-02T00:00:00Z","timestamp":1714608000000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"funder":[{"name":"CMAT\u2013Research Centre of Mathematics of the University of Minho","award":["UIDB\/00013\/2020","UIDP\/00013\/2020"],"award-info":[{"award-number":["UIDB\/00013\/2020","UIDP\/00013\/2020"]}]}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Applied Sciences"],"abstract":"<jats:p>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.<\/jats:p>","DOI":"10.3390\/app14093897","type":"journal-article","created":{"date-parts":[[2024,5,2]],"date-time":"2024-05-02T03:57:56Z","timestamp":1714622276000},"page":"3897","update-policy":"https:\/\/doi.org\/10.3390\/mdpi_crossmark_policy","source":"Crossref","is-referenced-by-count":0,"title":["Pointwise Nonparametric Estimation of Odds Ratio Curves with R: Introducing the flexOR Package"],"prefix":"10.3390","volume":"14","author":[{"ORCID":"https:\/\/orcid.org\/0009-0003-4412-6991","authenticated-orcid":false,"given":"Marta","family":"Azevedo","sequence":"first","affiliation":[{"name":"Centre of Mathematics, University of Minho, 4710-057 Braga, Portugal"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-8577-7665","authenticated-orcid":false,"given":"Lu\u00eds","family":"Meira-Machado","sequence":"additional","affiliation":[{"name":"Centre of Mathematics, University of Minho, 4710-057 Braga, Portugal"}]},{"given":"Francisco","family":"Gude","sequence":"additional","affiliation":[{"name":"Department of Medicine, University of Santiago de Compostela, 15705 Santiago, Spain"}]},{"ORCID":"https:\/\/orcid.org\/0000-0003-1419-4208","authenticated-orcid":false,"given":"Artur","family":"Ara\u00fajo","sequence":"additional","affiliation":[{"name":"Campus Lagoas-Marcosende, University of Vigo, 36310 Vigo, Spain"}]}],"member":"1968","published-online":{"date-parts":[[2024,5,2]]},"reference":[{"doi-asserted-by":"crossref","unstructured":"Hosmer, D.W., Lemeshow, S., and Sturdivant, R.X. (2013). Applied Logistic Regression, Wiley. [3rd ed.].","key":"ref_1","DOI":"10.1002\/9781118548387"},{"key":"ref_2","doi-asserted-by":"crossref","first-page":"127","DOI":"10.1002\/sim.2331","article-title":"Dichotomizing continuous predictors in multiple regression: A bad idea","volume":"25","author":"Royston","year":"2006","journal-title":"Stat. Med."},{"doi-asserted-by":"crossref","unstructured":"Barrio, I., Rodr\u00edguez-\u00c1lvarez, M., and Arostegui, I. (2015, January 5\u201315). Categorisation of continuous variables in a logistic regression model using the R package CatPredi. Proceedings of the MOL2NET\u201915, Conference on Molecular, Biomedical, and Computational & Network Science and Engineering, Athens, Greece.","key":"ref_3","DOI":"10.3390\/MOL2NET-1-e004"},{"key":"ref_4","doi-asserted-by":"crossref","first-page":"2586","DOI":"10.1177\/0962280215601873","article-title":"A new approach to categorising continuous variables in prediction models: Proposal and validation","volume":"26","author":"Barrio","year":"2017","journal-title":"Stat. Methods Med. Res."},{"unstructured":"Hastie, T.J., and Tibshirani, R.J. (1990). Generalized Additive Models, Chapman & Hall\/CRC.","key":"ref_5"},{"doi-asserted-by":"crossref","unstructured":"Wood, S. (2017). Generalized Additive Models: An Introduction with R, Chapman & Hall\/CRC.","key":"ref_6","DOI":"10.1201\/9781315370279"},{"doi-asserted-by":"crossref","unstructured":"Wahba, G. (1990). Spline Models for Observational Data, SIAM.","key":"ref_7","DOI":"10.1137\/1.9781611970128"},{"key":"ref_8","doi-asserted-by":"crossref","first-page":"716","DOI":"10.1109\/TAC.1974.1100705","article-title":"A new look at the statistical model identification","volume":"19","author":"Akaike","year":"1974","journal-title":"IEEE Trans. Autom. Control"},{"key":"ref_9","doi-asserted-by":"crossref","first-page":"271","DOI":"10.1111\/1467-9868.00125","article-title":"Smoothing parameter selection in nonparametric regression using an improved akaike information criterion","volume":"60","author":"Hurvich","year":"1998","journal-title":"J. R. Stat. Soc. Ser. B"},{"key":"ref_10","doi-asserted-by":"crossref","first-page":"461","DOI":"10.1214\/aos\/1176344136","article-title":"Estimating the dimension of a model","volume":"6","author":"Schwarz","year":"1978","journal-title":"Ann. Stat."},{"key":"ref_11","doi-asserted-by":"crossref","first-page":"291","DOI":"10.1177\/1471082X0801000303","article-title":"Flexible hazard ratio curves for continuous predictors in multi-state models","volume":"10","author":"Kneib","year":"2010","journal-title":"Stat. Model."},{"key":"ref_12","first-page":"745742","article-title":"smoothHR: An R Package for Pointwise Nonparametric Estimation of Hazard Ratio Curves of Continuous Predictors","volume":"2013","author":"Gude","year":"2013","journal-title":"Comput. Math. Methods Med."},{"unstructured":"de Boor, C. (2001). A Practical Guide to Splines (Rev. Edn), Springer.","key":"ref_13"},{"key":"ref_14","doi-asserted-by":"crossref","first-page":"264","DOI":"10.1093\/aje\/154.3.264","article-title":"Application of nonparametric models for calculating odds-ratios and their confidence intervals for continuous exposures","volume":"154","author":"Figueiras","year":"2001","journal-title":"Am. J. Epidemiol."},{"unstructured":"R Core Team (2024, April 27). Available online: http:\/\/www.R-project.org\/.","key":"ref_15"}],"container-title":["Applied Sciences"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.mdpi.com\/2076-3417\/14\/9\/3897\/pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,10,10]],"date-time":"2025-10-10T14:38:36Z","timestamp":1760107116000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.mdpi.com\/2076-3417\/14\/9\/3897"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2024,5,2]]},"references-count":15,"journal-issue":{"issue":"9","published-online":{"date-parts":[[2024,5]]}},"alternative-id":["app14093897"],"URL":"https:\/\/doi.org\/10.3390\/app14093897","relation":{},"ISSN":["2076-3417"],"issn-type":[{"type":"electronic","value":"2076-3417"}],"subject":[],"published":{"date-parts":[[2024,5,2]]}}}