BookmarkSubscribeRSS Feed
ayosas
Fluorite | Level 6
proc logistic data=compas1;
 effect PRIORspl=spline(priors_count / degree=2);
 model two_year_recid (event='0') = PRIORspl/ rsq lackfit;
 id compas_id priors_count;
 output out=one predicted=splpred
 reschi=splres;
 effectplot fit (x=priors_count);
 title1 'Continuous BP with Spline';
run;

My code is as above. The spline option doesn't turn blue as it's supposed to 

1 REPLY 1
ballardw
Super User

As long as the code runs don't spend any time worrying about editor highlighting.

If you run code and get an error there, then you may have to look to your version of SAS vs the documentation to determine if the option is actually available in your particular install.

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 553 views
  • 0 likes
  • 2 in conversation