To include/not include a year factor in models with spatiotemporal random effects #232
Unanswered
larogers123
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Hi Lauren, It is not necessary. I think the model structure you described can make sense. Are you including any temporal structure on the spatiotemporal fields? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is it necessary or advised to include a year factor in a model that has spatiotemporal random effects estimated? In my specific case, there is clearly a change in intercept (mean) by year. If I don't include a year fixed effect, the interannual change in mean gets sucked into the spatiotemporal random effects, such that they don't have a mean of zero within year. Is this a problem? The model predictions are very similar with and without the year factor (although AIC supports including year).
I would default to including a year factor in my model(s), except that I'm also wanting to estimate an effect of annually-averaged temperature, T_y, and the model is overparameterized with an additional year factor. I'm aiming to draw inferences about that temperature effect, and not aiming to estimate an annual index per se. But again, interannual variation in the mean that is not explained by temperature appears to get taken up in the spatiotemporal term. I'm wondering if that is problematic.
Thanks for any advice,
Lauren
Beta Was this translation helpful? Give feedback.
All reactions