How to change default DF in PROC GAM

Accepted Solution Solved
Reply
Super Contributor
Posts: 297
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: 297

Re: How to change default DF in PROC GAM

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: 297

Re: How to change default DF in PROC GAM

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.

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

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