He wants the spline, which usually is a non-linear graph with x being a continuous independent variable (e.g., weight, blood pressure, creatinine level, etc.) and the y being the hazard ratio and its 95%CI bands. Here is from Gemini: Restricted cubic splines (RCS) don't actually "split" the coefficient of a single variable into several sub-coefficients directly. Instead, they **transform a single continuous variable into a set of new, related variables (called basis functions), and it's these new variables that each get their own regression coefficient.** The original variable itself is no longer directly in the model in its raw form, or if it is, it's typically just the first basis function. The math behind this lies in the construction of these basis functions. The idea is to allow for a flexible, nonlinear relationship with the outcome while ensuring the curve behaves nicely (is "restricted" to be linear) in the tails of the data. Let's assume you have a continuous variable, $X$, and you want to model its effect nonlinearly using RCS.
... (See the PDF file for completed answer from Gemini)
... View more