Skip to Main Content

%glmcurv9

The %GLMCURV9 macro uses SAS PROC GENMOD and restricted cubic splines to test whether there is a nonlinear relation between a continuous exposure and an outcome variable. The macro can automatically select spline variables for a model. It produces a publication quality graph of the relationship.

  • %glmcurv9: SAS Program SAS code to run %glmcurv9
  • %glmcurv9: Documentation PDF Instructions for using %glmcurv9