Skip to content

p values / confidence intervals for smooth terms #228

Discussion options

You must be logged in to vote

The ln_smooth_sigma term represents the log SD of the random effects that represent penalties on the smoother basis functions. So, as exp(ln_smooth_sigma) gets bigger, the basis functions start contributing more and more to the model fit and you get something that is wiggly. However, I don't think that has the same interpretation as the p-value in mgcv for a smoother, which is described in this paper. The implementation in sdmTMB is similar to in brms and I think gamm4. It uses mgcv::smooth2random(). Short answer is that as that ln_smooth_sigma term gets small the relationship between the predictor and response becomes linear, but there isn't a good p-value we've worked out to work with. …

Replies: 1 comment

Comment options

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