How to treat time for an abundance index #359
-
Hello, I have a question about the best way to make an abundance index using sdmTMB. My research involves fitting a species distribution model to a marine species, and I am using sdmTMB to do this. After fitting my candidate models, I use the get_index() function to look at the estimated abundance in the region. It seems that it is common to treat the year as a categorical factor in the model when making an index, but I just wanted to ask if this is done for theoretical or computational reasons. Is it possible/a good idea to model the effect of year as a random walk? In addition, I am curious to know whether the correlation structure of the spatiotemporal random fields should match that of the year term. For example, if I do treat year as a factor, should I only use iid spatiotemporal random fields? Thank you in advance for your help! Joseph |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hi Joseph, For use in stock assessment models, the standard has typically been to use categorical year effects and IID spatiotemporal fields. This (1) is the most assumption-free model that avoids constraining/smoothing the index before the assessment model tries to reconcile plausible dynamics and (2) reduces correlation between the annual estimates given this correlation is ignored in most assessment models. Also, the AR(1) process is mean-reverting, so your index could start reverting to the mean if data are sparser or non-existent in some years. This wouldn't be the case for the random walk. There are cases where you may want to deviate from that standard.
That's up to you and depends what you want to happen with the mean vs. the spatiotemporal latent effects. I could see reasons for various combinations. I've certainly seen independent years with AR1 fields to allow the mean to vary unconstrained but allow for persistent hotspots in space (usually in ecological studies vs. index standardization for assessment). An AR(1) can, of course, end up estimated with a correlation close to zero (same as IID) or close to 1 (approaching a random walk). |
Beta Was this translation helpful? Give feedback.
Hi Joseph,
For use in stock assessment models, the standard has typically been to use categorical year effects and IID spatiotemporal fields. This (1) is the most assumption-free model that avoids constraining/smoothing the index before the assessment model tries to reconcile plausible dynamics and (2) reduces correlation between the annual estimates given this correlation is ignored in most assessment models. Also, the AR(1) process is mean-reverting, so your index could start reverting to the mean if data are sparser or non-existent in some years. This wouldn't be the case for the random walk.
There are cases where you may want to deviate from that standard.
You may not be preparing a…