How to change default DF in PROC GAM

Accepted Solution Solved
Reply
Super Contributor
Posts: 303
Accepted Solution

How to change default DF in PROC GAM

The default DF=4 in proc gam

(

title ’Patterns of Diabetes’;

proc gam data=diabetes;

model logCP = spline(age) spline(BaseDeficit);

output out=estimates p;

run;

)

How do I change the default DF?


Accepted Solutions
Solution
‎09-24-2013 03:04 PM
Super Contributor
Posts: 303

Re: How to change default DF in PROC GAM

Posted in reply to desireatem

title ’Patterns of Diabetes’;

proc gam data=diabetes;

model logCP = spline(age, df=2) spline(BaseDeficit, df=3);

output out=estimates p;

run;

View solution in original post


All Replies
Solution
‎09-24-2013 03:04 PM
Super Contributor
Posts: 303

Re: How to change default DF in PROC GAM

Posted in reply to desireatem

title ’Patterns of Diabetes’;

proc gam data=diabetes;

model logCP = spline(age, df=2) spline(BaseDeficit, df=3);

output out=estimates p;

run;

🔒 This topic is solved and locked.

Need further help from the community? Please ask a new question.

Discussion stats
  • 1 reply
  • 137 views
  • 0 likes
  • 1 in conversation