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.

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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