Skip to content

Projection choice and residual checks with sdmTMB #121

Answered by seananderson
seananderson asked this question in Q&A
Discussion options

You must be logged in to vote

An equal-distance projection with units such that the range parameter (distance at which correlation is effectively independent) is a reasonable size (not too big or small). UTMs in km are common if the area isn't so large as to cross many UTM boundaries. See sdmTMB::add_utm_columns() or do it yourself using the sf or sp packages.

I wouldn’t get too caught up in the DHARMa residuals (or the regular residuals you get out of residuals() here). The Laplace approximation error can dominate in some cases and this can be mesh specific. I think there are also issues with DHARMa when the random effects have spatial structure to them (ongoing research). So, even a perfect model can have residuals …

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
1 participant