Hello,
I am currently working on a project that seeks to understand the relationship between socioeconomic status (one variable) and lung cancer incidence. I have 12 covariates that I control for in my Cox Model. One of them has a non-linear relationship with the probability of lung cancer. I would like to transform it into a spline (non-linear) and then include that in the model.
I do not know how to do those two specific steps: (1) spline transformation of that covariate (2) taking that non-linear term and including it in the Cox Model.
Your help and guidance are much appreciated, Yosra
Related Posts with Non-linear term in a Cox Model
window fopen DIRECTORYStata/MP 16.0 for Windows (64-bit x86-64) Revision 08 Jan 2020 Microsoft Windows [Version 10.0.17763…
I am working on systematic review and meta-analysis on clinical data( i.e. Antimicrobial resistance).I have already completed the manuscript. The primary outcome of the article is to describe the poole…
inquire foreach listI find that Code: foreach x in Gold Platinum_upgrade Platinum_upgrade_merit { in fact, there is no…
panel data with three variablesHi everybody. I have a panel data with three variables: year, country, product. I want to run a log…
Is ROC curve for 3x3 table possible?Dear All, I have a confusing doubt in my mind. ROC curve for 3x3 or 2X3 table is possible? If so, 1.…
Subscribe to:
Post Comments (Atom)
0 Response to Non-linear term in a Cox Model
Post a Comment