I've made a macro to estimate restricted cubic spline (RCS) basis in SPSS. Splines are useful tools to model non-linear relationships. Splines are useful exploratory tools to model non-linear relationships by transforming the independent variables in multiple regression equations. SeeDurrleman and S...
Binary logistic regression and restricted cubic splines were applied to analyze the data. The statistical software used were R version 3.6.2 and SPSS version 22.0. Results: Over the past year, 325 cases (18.3%) were classified as adverse events. Logistic regression unveiled that social support ...