gamfluence - Deletion Influence Diagnostics for 'mgcv' Additive Models
For penalised additive (mixed) models fitted with gam()
from 'mgcv', each site (cluster) is deleted in turn and the
model is refitted twice, reusing the full-data model matrix and
penalties: once with the estimated smoothing parameters (and
negative binomial theta) held fixed, and once with them
re-estimated by restricted maximum likelihood (REML). Comparing
the changes in the other sites' fitted values shows how much of
a site's influence appears only when the smoothing parameters
re-tune. Includes a plot method and a dataset of coral trout
counts on the Great Barrier Reef.