| Literature DB >> 36016822 |
Emily B Dennis1,2, Calliste Fagard-Jenkin3, Byron J T Morgan2.
Abstract
The generalized abundance index (GAI) provides a useful tool for estimating relative population sizes and trends of seasonal invertebrates from species' count data and offers potential for inferring which external factors may influence phenology and demography through parametric descriptions of seasonal variation. We provide an R package that extends previous software with the ability to include covariates when fitting parametric GAI models, where seasonal variation is described by either a mixture of Normal distributions or a stopover model which provides estimates of life span. The package also generalizes the models to allow any number of broods/generations in the target population within a defined season. The option to perform bootstrapping, either parametrically or nonparametrically, is also provided. The new package allows models to be far more flexible when describing seasonal variation, which may be dependent on site-specific environmental factors or consist of many broods/generations which may overlap, as demonstrated by two case studies. Our open-source software, available at https://github.com/calliste-fagard-jenkin/rGAI, makes these extensions widely and freely available, allowing the complexity of GAI models used by ecologists and applied statisticians to increase accordingly.Entities:
Keywords: flight period; generalized abundance index; multivoltine; phenology; seasonal abundance; stopover model
Year: 2022 PMID: 36016822 PMCID: PMC9396180 DOI: 10.1002/ece3.9200
Source DB: PubMed Journal: Ecol Evol ISSN: 2045-7758 Impact factor: 3.167
Description of key functions in the rGAI package.
| Function | Description |
|---|---|
|
| Extracts a table of counts across sites and occasions from an input data.frame, to facilitate data cleaning and visualization |
|
| Produces a set of initial parameter values on the link scale, given user inputs on the parameter scale |
|
| Fits GAI models, with any number of broods, with a spline, mixture model, or stopover model to describe seasonal variation. Counts can be modeled with a negative binomial, Poisson, or zero‐inflated Poisson distribution |
|
| Produces bootstrap confidence intervals for all parameters by either resampling them from their asymptotically Normal distribution (parametric bootstrap), or re‐fitting models by resampling sites (non‐parametric bootstrap). Bootstraps can be provided on the link or parameter scale |
|
| Transforms parameter estimates from the link scale to the parameter scale, with custom covariate values, or those observed in the data |
|
| Transforms bootstrap confidence intervals of parameter values from the link scale to the parameter scale, for custom covariate values |
|
| Produces plots of fitted GAI models, with the option of scaling curves by the site total, or producing plots showing variation between sites due to covariate values |
|
| Extracts Akaike's information criterion for a fitted GAI model |
|
| Produces a summary of a fitted GAI model, with parameter estimates and standard deviations for parameters, on the link scale |
Parameter estimates (with standard errors, SE) for the GAI, fitted with Poisson distribution and stopover model, applied to UK count data for the Common Blue butterfly in 2018, where μ 1 is the mean emergence for the first brood, μ is the difference between mean emergence times μ 1 and μ 2, and w 1 is the weighting of the size of the first brood with respect to the second brood, such that w 1 + w 2 = 1.
| Parameter | Estimate | SE |
|---|---|---|
|
| 2.334 | 0.003 |
|
| 0.142 | 0.002 |
|
| 1.964 | 0.004 |
|
| −0.168 | 0.003 |
|
| −0.438 | 0.019 |
|
| 0.790 | 0.020 |
|
| 0.241 | 0.018 |
|
| 1.572 | 0.017 |
|
| 1.292 | 0.026 |
|
| 0.468 | 0.009 |
Note: As they vary with northing, estimates for μ 1, μ and w 1 are shown on the link scale (log link for μ and logistic link for w 1). See estimates on the parameter scale in Figure 1. Estimates for the standard deviation of the emergence period for each brood, σ 1 and σ 2, and weekly survival probability, ϕ, are constant, and therefore shown on the parameter scale.
FIGURE 1Parameter estimates of mean emergence times, μ 1 and μ 2, and mixing probability, w 1, from fitting the GAI with Poisson distribution and a stopover model to counts of the Common Blue butterfly in 2018, with varying northing. For μ 1 and μ 2, week 1 corresponds to the start of April. 95% confidence intervals derived by parametric bootstrap are shown.
FIGURE 2Estimated seasonal pattern for a sample of northing values (each 100 km, from 50 to 950 km) from fitting the GAI with Poisson distribution and a stopover model to counts of the Common Blue butterfly in 2018. The area under the curve is the same for each northing value. The estimate of the mixing probability, w 1, which describes the size of the first brood relative to the second, is given for each northing value at 100 km intervals. Week 1 corresponds to the start of April.
FIGURE 3Observed mean count per week (black circles), averaged over sites, with 5% and 95% quantiles of all observed counts shown as error bars, for the Small Copper butterfly in 2018. The predicted mean count per week, averaged over sites, is shown in blue, along with predicted 5% and 95% quantiles for comparison. Predicted values are estimates from the best‐fitting model from Table 3, for which parameter estimates are given in Table 4. Week 1 corresponds to the start of April.
Model comparison for selected GAI fitted with mixture models applied to counts for the Small Copper butterfly, where n is the number of model parameters.
| Model |
| AIC | ΔAIC |
|---|---|---|---|
| P, | 2 | 42,075 | 11,431 |
| P, | 4 | 42,081 | 11,437 |
| P, | 6 | 39,488 | 8844 |
| ZIP, | 7 | 35,731 | 5087 |
| NB, | 7 | 30,665 | 22 |
| NB, | 9 | 30,644 | 0 |
Note: Models are defined by the distribution used (P = Poisson, ZIP = zero‐inflated Poisson, NB = negative binomial), the number of broods B, and, for B > 1, whether σ, the standard deviation for the flight period curves, are shared across broods or estimated per brood. AIC denotes the Akaike information criterion and ΔAIC denotes the difference for each model between its AIC value and the smallest AIC value in the set of fitted models. The best model corresponds to ΔAIC = 0.
Transformed parameter estimates for the best‐fitting GAI model (based on the AIC values given in Table 3) applied to counts for the Small Copper butterfly.
| Parameter | Estimate | Lower | Upper |
|---|---|---|---|
|
| 8.970 | 8.839 | 9.102 |
|
| 17.437 | 17.307 | 17.564 |
|
| 25.388 | 25.222 | 25.550 |
|
| 1.911 | 1.814 | 2.016 |
|
| 1.711 | 1.615 | 1.810 |
|
| 2.596 | 2.414 | 2.808 |
|
| 0.064 | 0.060 | 0.068 |
|
| 0.229 | 0.214 | 0.244 |
|
| 0.830 | 0.786 | 0.880 |
Note: 95% confidence intervals are provided based on a parametric bootstrap. The means and standard deviations of the flight period are denoted by μ and σ , for each brood b. w 1 and w 2 describe the weighting of the size of the first and second brood, where w 1 + w 2 + w 3 = 1. r is the dispersion parameter for the negative binomial distribution.