Skip to content

Smoother parameters #211

Closed Answered by ericward-noaa
ericward-noaa asked this question in Q&A
Discussion options

You must be logged in to vote

Answer: Don’t need to because we implement penalized splines. But if you want to constrain it, you could use one of our parametric threshold functions, or specify smoothness manually. In that case, the same guidance for GAMs, etc, would probably apply here.

We have implemented these smooths as P-splines, so they’re not super sensitive to ‘k’. In general, I think it’s good practice to crank them down low so that the smooth is biologically interpretable. If you have trouble fitting with the defaults, I think you can make ‘k’ 3 or 4, and fit something akin to a 2nd or 3rd order polynomial

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ericward-noaa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant