Skip to content
Prev 17801 / 20628 Next

Spatial correlation in glmmTMB

For glmmTMB, if your locations aren't otherwise grouped (e.g. into
distinct sites), then you should use factor(rep(1,62)).  As Alan Zuur
suggests, 62 might be a fairly small sample for estimating spatial
autocorrelation.  If you give us more information about your model (e.g.
post the results of summary(), it might help us diagnose and/or fix your
convergence problems ...

  The mgcv package will also let you fit negative binomial/spatial
models (with a Mat?rn structure, see ?smooth.construct.gp.smooth.spec;
for the random effect, see ?smooth.construct.re.smooth.spec).
On 2019-07-18 6:33 a.m., Highland Statistics Ltd wrote: