4
votes
Accepted
Uncertain serial autocorrelation in GAM count model residuals
Your mvgam model doesn't have any autoregressive components in it, so these two models should be roughly equivalent apart from the better handling of uncertainties in mvgam. But there are a few tweaks ...
3
votes
Why do the BG test results seem contradictory
The Breusch-Godfrey is a portmanteau-type test; it looks at multiple lags jointly. It is entirely possible that one lag is significant on its own, yet the entire group of lags considered in the BG ...
3
votes
Accepted
Accounting for non-independence and autocorrelation in HGAM
Yes, this is OK; both terms will model variation among observations.
I don't think you have the ranef specification right; why do you think that globally the hour ...
2
votes
Accounting for non-independence and autocorrelation in HGAM
On top of Gavin's answer I'll add that you can use the {mvgam} package if you need to allow each fish to have a potentially different $\rho$ parameter. The package ...
2
votes
How to calculate autocorrelation manually
Next to the points about starting values raised in the comments, there is another issue related to the "manual" formula for a deterministic difference sequence of the type you use that, ...
1
vote
Posterior simulation of residuals and ACF for GAMs
I replied in the other thread but will do so here as well for completeness. In Bayesian inference with MCMC, each posterior draw represents a plausible model configuration. So we can compute ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
autocorrelation × 1765time-series × 811
r × 272
regression × 218
arima × 183
autoregressive × 143
correlation × 136
spatial × 126
stationarity × 96
hypothesis-testing × 80
forecasting × 76
residuals × 76
mixed-model × 71
heteroscedasticity × 62
panel-data × 60
acf-pacf × 60
econometrics × 50
lags × 49
self-study × 46
covariance × 45
stochastic-processes × 39
least-squares × 36
garch × 36
generalized-additive-model × 35
vector-autoregression × 35