Thanks for pointing that out. I typed out my code without checking the data. My outcome is binary and what I want is to get the slope , on log odds, probability and odds ratio scale. I have changed my code - data class; set sashelp.class; wt=(weight > 90); run; proc logistic data=class desc; class sex(ref="F")/param=ref; effect htS=spline(height/ degree=1 knotmethod=percentilelist(25,75)); *effect htS=spline(height/ basis=bspline degree=1 knotmethod=percentilelist(25,75)); model wt=htS sex htS*sex; store model; run;
... View more