12
$\begingroup$

Hi I am struggling to understand Ref.df in the output screen in R:

Approximate significance of smooth terms:
               edf Ref.df     F p-value  
s(meangrain) 1.779  2.209 3.193  0.0451 *
s(depth)     2.108  2.697 3.538  0.0254 *

What does it mean and is it necessary to include this term for presenting results of GAM in a paper? Is it giving us information necessary for prediction?

$\endgroup$
1
  • 1
    $\begingroup$ Also would like to know this. I've searched the net but cant find an explicit answer. Is it possibly just the residual df under a different label? $\endgroup$
    – user93724
    Commented Oct 31, 2015 at 22:49

1 Answer 1

5
$\begingroup$

Simon Wood, the author of the mgcv package and a book on GAMs, explains this here:

These [Ref.df] are a bit of a throwback really, and are not very useful - they are reference degrees of freedom used in computing test statistic and the p-values, but since the null distributions are non-standard the reference DoF is not very interpretable.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.