blog/2018-04-05-gamm-random-effects/ #51
Replies: 1 comment 2 replies
-
Hi! very interesting thank you! Currently, I am working on GAMM compared to Random Forest and HDGM in a spatiotemporal framework. I am wondering to know how to predict value from the GAMM model which I fit to compare RMSE to the other two models. In particular, I did not add any random effects explicitly but a corAR1. When I check the autocorrelation of residuals from the model$gam I see that it is not disapperead and not even decreased. I think I am predicting without considering the autocorrelation and indeed the performance are very bad compared to the other two models. So my question is: how can I extract predicted values not just from the GAM part but considering also the correlation structure? Thank you so much in advance!! Ale |
Beta Was this translation helpful? Give feedback.
-
blog/2018-04-05-gamm-random-effects/
https://drmowinckels.io/blog/2018-04-05-gamm-random-effects/
Beta Was this translation helpful? Give feedback.
All reactions