Age-Disaggregated Survey Indices with sdmTMB #291
-
Hi All; I have contacted @seananderson via email and he suggested I post here. I am currently exploring My initial email asked whether it is possible to "fit an Apologies for the number of questions, but I'm still very much somewhere along the learning curve for these models. Many thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
There are lots of options here. The But then the question is how you want to set up the model. The simplest version would share spatial and/or spatiotemporal random effects but perhaps have an interaction between some year variable and the age class variable so that they would have their own means. They could have what is effectively different spatial and/or spatiotemporal random effects by making use of the The one thing that's not possible is to explicitly model some correlation in the random effects across the age classes. If you want to go that route, then tinyVAST would be a better fit. There's a relevant example at the end of this vignette https://vast-lib.github.io/tinyVAST/articles/web_only/VAST.html There is also an sdmTMB branch that currently has correlated random walks in it for something like this. It's not fully fleshed out in terms of all the helper functions, but I could point you to that if desired. |
Beta Was this translation helpful? Give feedback.
There are lots of options here.
The
get_index()
function can certainly separate the two indexes after the fact, and you would do that just by supplying 2 separatenewdata
data frames to the predict function and then theget_index()
function. Predict first for one age class and then predict for the other age class.But then the question is how you want to set up the model. The simplest version would share spatial and/or spatiotemporal random effects but perhaps have an interaction between some year variable and the age class variable so that they would have their own means. They could have what is effectively different spatial and/or spatiotemporal random effects by making use of the
spati…