A brief introduction to mixed effects modelling and multi-model inference in ecology — TEI-tagged view

Xavier A. Harrison, Lynda Donaldson, Maria Eugenia Correa-Cano, Julian Evans, David N. Fisher, Cecily E.D. Goodwin, Beth S. Robinson, David J. Hodgson, Richard Inger · 2018 · ecology · doi:10.7717/peerj.4794 · TEI xml · tagged edition · index · concepts · authors
Where this record's text came from. 2026-08-31 schema-0.3 pass: every quote verified as an exact substring of the staged text and anchored at merge time; concept terms verified present; every edge endpoint an existing node.
7 quotes on this page break a word across a line. The PDF this text was extracted from hyphenated those words at the end of a printed line — adversar- ial, repre- sentations — and the extractor kept the hyphen and the space. The quotes keep them because a quote is reproduced exactly or it proves nothing: the break is the typesetter’s, not the author’s. A search of this page will not find the affected words.
This record’s own method is review, and the tags below follow from that. A review’s findings, quantities and statistics are things stated IN this paper, and some of them report results obtained elsewhere. No tag on this page names a different author. Measured across every review in this corpus, 81% of a review’s tags carry no citation at all — most of them are the review speaking. The corpus does not adjudicate the rest: read an unmarked tag as a claim this paper makes, not necessarily one it made first.
Other fields define these differently the same word, defined another way in another discipline
missing data 5 fields · cross-validation 3 fields · variance inflation factor 3 fields · overdispersion 2 fields · AIC 2 fields · R 2 2 fields · and 5 more →
Tags on this paper every tag the record carries, whether or not the words occur in the text below — a number is how many papers in the corpus carry that tag; a tag with no number is unique to this paper
linear mixed effects models2 LMMs2 biological data robust biological inference multi-model inference2 fixed effects2 random effects2 traditional linear models pseudoreplication Type I error rates Type II error rates random intercept random slopes random coefficients models shrinkage3 partial pooling variance components analysis intra-class correlation coefficient2 nested crossed random effect data-transformation link function global model2 a priori hypothesis fishing expeditions overparameterised models n/k collinearity2 model convergence issues standard errors8 variance inflation factor5 predictor centering predictor standardising model fit model adequacy overdispersion4 observation-level random effect biased parameter estimates R 23 proportion of explained variance marginal R 22 conditional R 22 simulation51 missing data5 deleting multiple imputation3 model selection4 stepwise deletion cryptic multiple testing information-theory3 NHST2 Kullback–Leibler distance AIC3 Akaike weight model averaging all-subsets selection cross-validation38 QAIC adjustment to AIC nesting rule parameter accuracy robust conclusions review319
Method, as described: linear and generalized linear mixed models in R, paired with residual diagnostics, simulation, information-theoretic model comparison, and multi-model inference

Colour legend

PeerJ<title level="j">A work — the journal / venue title.
2018<date>A year or date.

Xavier A. HarrisonpersName, Lynda DonaldsonpersName, Maria Eugenia Correa-CanopersName, Julian EvanspersName, David N. FisherpersName, Cecily E.D. GoodwinpersName, Beth S. RobinsonpersName, David J. HodgsonpersName, Richard IngerpersName (2018date). “A brief introduction to mixed effects modelling and multi-model inference in ecology.” PeerJtitle·j.

Object of study — mixed-effects modelling, model checking, information-theoretic model selectionterm, and multi-model inferenceterm in ecological research

Research question — how ecologists should specify, diagnose, compare, and interpret complex LMMsterm·mth and GLMMs while avoiding common inferential pitfalls

Contribution — an accessible best-practice guide spanning fixed and random effectsterm·mth, model structure, diagnostics, simulationterm, information criteria, and model averagingterm

Cross-disciplinary analysis
content-tags & facets: phenomenon · claim-type · cross-domain-transfer · mechanism · claim-relation · replication-status · limitation — grounded in the full text
phenomenonstatistical non-independence, hierarchical variance, overdispersion, collinearity, model uncertainty, and error inflation in ecological analysis — “Linear mixed effects models and generalized linear mixed effects models (GLMMs), have increased in popularity in the last decade ( Zuur et al., 2009 ; Bolker et al., 2009 ). Both extend traditional linear models to include a combination of fixed and random effects as predictor variables. The introduction of random effects affords several non-exclusive benefits. First, biological datasets are often highly structured, containing clusters of non-independent observational units that are hierarchical in nature, and LMMs allow us to explicitly model the non-independence in such data. For example, we might measure several chicks from the same clutch, and several clutches from different females, or we might take repeated measurements of the same chick’s growth rate over time. In both cases, we might expect that measurements within a statistical unit (here, an individual, or a female’s clutch) might be more similar than measurements from different units. Explicit modelling of the random effects structure will aid correct inference about fixed effects, depending on which level of the system’s hierarchy is being manipulated. In our example, if the fixed effect varies or is manipulated at the level of the clutch, then treating multiple chicks from a single clutch as independent would represent pseudoreplication, which can be controlled carefully by using random effects. Similarly, if fixed effects vary at the level of the chick, then non-independence among clutches or mothers could also be accounted for. Random effects typically represent some grouping variable ( Breslow & Clayton, 1993 ) and allow the estimation of variance in the response variable within and among these groups. This reduces the probability of false positives (Type I error rates) and false negatives (Type II error rates, e.g. Crawley, 2013 ). In addition, inferring the magnitude of variation within and among statistical clusters or hierarchical levels can be highly informative in its own right. In our bird example, understanding whether there is more variation in a focal trait among females within a population, rather than among populations, might be a central goal of the study.”
claim-typemethod — “We provide a best practice guide covering the full analysis pipeline, from formulating hypotheses, specifying model structure and interpreting the resulting parameter estimates. The reader can digest the entire paper, or snack on each standalone section when required. First, we discuss the advantages and disadvantages of including both fixed and random effects in models. We then address issues of model specification, and choice of error structure and/or data transformation, a topic that has seen some debate in the literature ( O’Hara & Kotze, 2010 ; Ives, 2015 ). We also address methods of model selection, and discuss the relative merits and potential pitfalls of using IT, AIC and multi-model inference in ecology and evolution. At all stages, we provide recommendations for the most sensible manner to proceed in different scenarios. As with all heuristics, there may be situations where these recommendations will not be optimal, perhaps because the required analysis or data structure is particularly complex. If the researcher has concerns about the appropriateness of a particular strategy for a given situation, we recommend that they consult with a statistician who has experience in this area.”
method — evidence — “The use of linear mixed effects models (LMMs) is increasingly common in the analysis of biological data. Whilst LMMs offer a flexible approach to modelling a broad range of data types, ecological data are often complex and require complex model structures, and the fitting and interpretation of such models is not always straightforward. The ability to achieve robust biological inference requires that practitioners know how and when to apply these tools. Here, we provide a general overview of current methods for the application of LMMs to biological data, and highlight the typical pitfalls that can be encountered in the statistical modelling process. We tackle several issues regarding methods of model selection, with particular reference to the use of information theory and multi-model inference in ecology. We offer practical solutions and direct the reader to key references that provide further technical detail for those seeking a deeper understanding. This overview should serve as a widely accessible code of best practice for applying LMMs to complex biological problems and model structures, and in doing so improve the robustness of conclusions drawn from studies investigating ecological and evolutionary questions.”
object of study — evidence — “The use of linear mixed effects models (LMMs) is increasingly common in the analysis of biological data. Whilst LMMs offer a flexible approach to modelling a broad range of data types, ecological data are often complex and require complex model structures, and the fitting and interpretation of such models is not always straightforward. The ability to achieve robust biological inference requires that practitioners know how and when to apply these tools. Here, we provide a general overview of current methods for the application of LMMs to biological data, and highlight the typical pitfalls that can be encountered in the statistical modelling process. We tackle several issues regarding methods of model selection, with particular reference to the use of information theory and multi-model inference in ecology. We offer practical solutions and direct the reader to key references that provide further technical detail for those seeking a deeper understanding. This overview should serve as a widely accessible code of best practice for applying LMMs to complex biological problems and model structures, and in doing so improve the robustness of conclusions drawn from studies investigating ecological and evolutionary questions.”
research question — evidence — “We provide a best practice guide covering the full analysis pipeline, from formulating hypotheses, specifying model structure and interpreting the resulting parameter estimates. The reader can digest the entire paper, or snack on each standalone section when required. First, we discuss the advantages and disadvantages of including both fixed and random effects in models. We then address issues of model specification, and choice of error structure and/or data transformation, a topic that has seen some debate in the literature ( O’Hara & Kotze, 2010 ; Ives, 2015 ). We also address methods of model selection, and discuss the relative merits and potential pitfalls of using IT, AIC and multi-model inference in ecology and evolution. At all stages, we provide recommendations for the most sensible manner to proceed in different scenarios. As with all heuristics, there may be situations where these recommendations will not be optimal, perhaps because the required analysis or data structure is particularly complex. If the researcher has concerns about the appropriateness of a particular strategy for a given situation, we recommend that they consult with a statistician who has experience in this area.”
contribution — evidence — “We provide a best practice guide covering the full analysis pipeline, from formulating hypotheses, specifying model structure and interpreting the resulting parameter estimates. The reader can digest the entire paper, or snack on each standalone section when required. First, we discuss the advantages and disadvantages of including both fixed and random effects in models. We then address issues of model specification, and choice of error structure and/or data transformation, a topic that has seen some debate in the literature ( O’Hara & Kotze, 2010 ; Ives, 2015 ). We also address methods of model selection, and discuss the relative merits and potential pitfalls of using IT, AIC and multi-model inference in ecology and evolution. At all stages, we provide recommendations for the most sensible manner to proceed in different scenarios. As with all heuristics, there may be situations where these recommendations will not be optimal, perhaps because the required analysis or data structure is particularly complex. If the researcher has concerns about the appropriateness of a particular strategy for a given situation, we recommend that they consult with a statistician who has experience in this area.”
mechanismrandom-effect grouping Constrains non-independent observations to share an intercept or slope. — “This is one of the most common uses of a random effect. Complex biological data sets often contain nested and/or hierarchical structures such as repeat measurements from individuals within and across units of time. Random effects allow for the control of non-independence by constraining non-independent ‘units’ to have the same intercept and/or slope ( Zuur et al., 2009 ; Zuur & Ieno, 2016 ). Fitting only a random intercept allows group means to vary, but assumes all groups have a common slope for a fitted covariate (fixed effect). Fitting random intercepts and slopes allows the slope of a predictor to vary based on a separate grouping variable. For example, one hypothesis might be that the probability of successful breeding for an animal is a function of its body mass. If we had measured animals from multiple sampling sites, we might wish to fit ‘sampling site’ as a random intercept, and estimate a common slope (change in breeding success) for body mass across all sampling sites by fitting it as a fixed effect:”mechanisms[0]
mechanismhierarchical variance Separates within-group and among-group variation. — “Fitting ‘group’ as a fixed effect in model M1 assumes the five ‘group’ means are all independent of one another, and share a common residual variance. Conversely, fitting group as a random intercept model in model M2 assumes that the five measured group means are only a subset of the realised possibilities drawn from a ‘global’ set of population means that follow a Normal distribution with its own mean (μ group , Fig. 1A ) and variance (σ 2 group ). Therefore, LMMs model the variance hierarchically, estimating the processes that generate among-group variation in means, as well as variation within groups. Treating groups from a field survey as only a subset of the possible groups that could be sampled is quite intuitive, because there are likely many more groups (e.g. populations) of the study species in nature than the five the researcher measured. Conversely if one has designed an experiment to test the effect of three different temperature regimes on growth rate of plants, specifying temperature treatment as a fixed effect appears sensible because the experimenter has deliberately set the variable at a given value of interest. That is, there are no unmeasured groups with respect to that particular experimental design.”mechanisms[1]
mechanismshrinkage Uses a global group distribution to stabilize small-group estimates. — “Random effect models use data from all the groups to estimate the mean and variance of the global distribution of group means. Assuming all group means are drawn from a common distribution causes the estimates of their means to drift towards the global mean μ group . This phenomenon, known as shrinkage ( Gelman & Hill, 2007 ; Kéry, 2010 ), can also lead to smaller and more precise standard errors around means. Shrinkage is strongest for groups with small sample sizes, as the paucity of within-group information to estimate the mean is counteracted by the model using data from other groups to improve the precision of the estimate. This ‘partial pooling’ of the estimates is a principal benefit of fitting something as a random effect ( Gelman & Hill, 2007 ). However, it can feel strange that group means should be shrunk towards the global mean, especially for researchers more used to treating sample means as independent fixed effects. Accordingly, one issue is that variance estimates can be hugely imprecise when there are fewer than five levels of the random grouping variable (intercept or slope; see Harrison, 2015 ). However, thanks to the Central Limit Theorem, the assumption of Gaussian distribution of group means is usually a good one, and the benefits of hierarchical analysis will outweigh the apparent costs of shrinkage.”mechanisms[2]
mechanismvariance components Partition a focal trait across biologically meaningful levels. — “By fitting individual ‘FemaleID’ as a random intercept term in the LMM, we estimate the among-female variance in our trait of interest. This model will also estimate the residual variance term, which we can use in conjunction with the among-female variance term to calculate an ‘intra-class correlation coefficient’ that measures individual repeatability in our trait (see Nakagawa & Schielzeth, 2010 ). While differences among individuals can be obtained by fitting individual ID as a fixed effect, this uses a degree of freedom for each individual ID after the first, severely limiting model power, and does not benefit from increased estimation accuracy through shrinkage. More importantly, repeatability scores derived from variance components analysis can be compared across studies for the same trait, and even across traits in the same study. Variance component analysis is a powerful tool for partitioning variation in a focal trait among biologically interesting groups, and several more complex examples exist (see Nakagawa & Schielzeth, 2010 ; Wilson et al., 2010 ; Houslay & Wilson, 2017 ). In particular, quantitative genetic studies rely on variance component analysis for estimating the heritability of traits such as body mass or size of secondary sexual characteristics ( Wilson et al., 2010 ). We recommend the tutorials in Wilson et al. (2010) and Houslay & Wilson (2017) for a deeper understanding of the power and flexibility of variance component analysis.”mechanisms[3]
mechanismunique grouping labels Prevents accidental pooling of different nested units with the same code. — “Understanding whether your experimental/sampling design calls for nested or crossed random effects is not always straightforward, but it can help to visualise experimental design by drawing it (see Schielzeth & Nakagawa, 2013 ; Fig. 1 ), or tabulating your observations by these grouping factors (e.g. with the ‘ table’ command in R) to identify how your data are distributed. We advocate that researchers always ensure that their levels of random effect grouping variables are uniquely labelled. For example, females are labelled 1− n in each woodland, the model will try and pool variance for all females with the same code. Giving all females a unique code makes the nested structure of the data is implicit, and a model specified as ∼(1| Woodland) + (1|FemaleID) would be identical to the model above.”mechanisms[4]
mechanismlink function Transforms the fitted mean according to an assumed response distribution. — “For non-Gaussian data, our modelling choices become more complex. Non-Gaussian data structures include, for example, Poisson-distributed counts (number of eggs laid, number of parasites); binomial-distributed constrained counts (number of eggs that hatched in a clutch; prevalence of parasitic infection in a group of hosts) or Bernoulli-distributed binary traits (e.g. infected with a parasite or not). Gaussian models of these data would violate the assumptions of normality of errors and homogenous variance. To model these data, we have two initial choices: (i) we can apply a transformation to our non-Gaussian response to ‘make it’ approximately Gaussian, and then use a Gaussian model; or (ii) we can apply a GL(M)M and specify the appropriate error distribution and link function. The link function takes into account the (assumed) empirical distribution of our data by transformation of the linear predictor within the model. It is critical to note that transformation of the raw response variable is not equivalent to using a link function to apply a transformation in the model. Data-transformation applies the transformation to the raw response, whilst using a link function transforms the fitted mean (the linear predictor). That is, the mean of a log-transformed response (using a data transformation) is not identical to the logarithm of a fitted mean (using a link function) .”mechanisms[5]
mechanisma priori model construction Maps each biological hypothesis to a defensible candidate model. — “Deciding which terms to include in the model requires careful and rigorous a priori consideration of the system under study. This may appear obvious; however diverse authors have noticed a lack of careful thinking when selecting variables for inclusion in a model ( Peters, 1991 ; Chatfield, 1995 ; Burnham & Anderson, 2002 ). Lack of a priori consideration, of what models represent, distinguishes rigorous hypothesis testing from ‘fishing expeditions’ that seek significant predictors among a large group of contenders. Ideally, the global model should be carefully constructed using the researchers’ knowledge and understanding of the system such that only predictors likely to be pertinent to the problem at hand are included, rather than including all the predictors the researcher has collected and/or has available. This is a pertinent issue in the age of ‘big data’, where researchers are often overwhelmed with predictors and risk skipping the important step of a priori hypothesis design. In practice, for peer reviewers it is easy to distinguish fishing expeditions from a priori hypothesis sets based on the evidence base presented in introductory sections of research outputs.”mechanisms[6]
mechanismpredictor scaling Centers coefficient estimation in the data and places predictors on comparable scales. — “Transformations of predictor variables are common, and can improve model performance and interpretability ( Gelman & Hill, 2007 ). Two common transformations for continuous predictors are (i) predictor centering, the mean of predictor x is subtracted from every value in x, giving a variable with mean 0 and SD on the original scale of x ; and (ii) predictor standardising, where x is centred and then divided by the SD of x , giving a variable with mean 0 and SD 1. Rescaling the mean of predictors containing large values (e.g. rainfall measured in 1,000s of millimetre) through centring/standardising will often solve convergence problems, in part because the estimation of intercepts is brought into the main body of the data themselves. Both approaches also remove the correlation between main effects and their interactions, making main effects more easily interpretable when models also contain interactions ( Schielzeth, 2010 ). Note that this collinearity among coefficients is distinct from collinearity between two separate predictors (see above). Centring and standardising by the mean of a variable changes the interpretation of the model intercept to the value of the outcome expected when x is at its mean value. Standardising further adjusts the interpretation of the coefficient (slope) for x in the model to the change in the outcome variable for a 1 SD change in the value of x . Scaling is therefore a useful tool to improve the stability of models and likelihood of model convergence, and the accuracy of parameter estimates if variables in a model are on large (e.g. 1,000s of millimetre of rainfall), or vastly different scales. When using scaling, care must be taken in the interpretation and graphical representation of outcomes.”mechanisms[7]
mechanismobservation-level random effect Models extra dispersion in Poisson or binomial responses. — “Models with a Gaussian (Normal) error structure do not require adjustment for overdispersion, as Gaussian models do not assume a specific mean-variance relationship. For generalized mixed models (GLMMs), however (e.g. Poisson, Binomial), the variance of the data can be greater than predicted by the error structure of the model ( Hilbe, 2011 ). Overdispersion can be caused by several processes influencing data, including zero-inflation, aggregation (non-independence) among counts, or both ( Zuur et al., 2009 ). The presence of overdispersion in a model suggests it is a bad fit, and standard errors of estimates will likely be biased unless overdispersion is accounted for ( Harrison, 2014 ). The use of canonical binomial and Poisson error structures, when residuals are overdispersed, tends to result in Type I errors because standard errors are underestimated. Adding an observation-level random effect (OLRE) to overdispersed Poisson or Binomial models can model the overdispersion and give more accurate estimates of standard errors ( Harrison, 2014 , 2015 ). However, OLRE models may yield inferior fit and/or biased parameter estimates compared to models using compound probability distributions such as the Negative-Binomial for count data ( Hilbe, 2011 ; Harrison, 2014 ) or Beta-Binomial for proportion data ( Harrison, 2015 ), and so it is good practice to assess the relative fit of both types of model using AIC before proceeding ( Zuur et al., 2009 ). Researchers very rarely report the overdispersion statistic (but see Elston et al., 2001 ), and it should be made a matter of routine. See “Assessing Model Fit Through Simulation” Section for advice on how to quantify and model overdispersion. Note that models can also be underdispersed ( less variance than expected/predicted by the model, but the tools for dealing with underdispersion are less well developed ( Zuur et al., 2009 ). The spaMM package ( Rousset & Ferdy, 2014 ) can fit models that can handle both overdispersion and underdispersion.”mechanisms[8]
mechanismsimulation-based checking Compares observed fit statistics with distributions from data generated under the fitted model. — “Simulation is a powerful tool for assessing model fit ( Gelman & Hill, 2007 ; Kéry, 2010 ; Zuur & Ieno, 2016 ), but is rarely used. The premise here is simple: when simulating a response variable from a given set of parameter estimates (a model), the fit of the model to those simulated ‘ideal’ response data should be comparable to the model’s fit to the real response variable ( Kéry, 2010 ). Each iteration yields a simulated dataset that allows calculation of a statistic of interest such as the sum of squared residuals ( Kéry, 2010 ), the overdispersion statistic ( Harrison, 2014 ) or the percentage of zeroes for a Poisson model ( Zuur & Ieno, 2016 ). If the model is a good fit, after a sufficiently large number of iterations (e.g. 10,000) the distribution of this statistic should encompass the observed statistic in the real data. Significant deviations outside of that distribution indicate the model is a poor fit ( Kéry, 2010 ). Figure 3 shows an example of using simulation to assess the fit of a Poisson GLMM. After fitting a GLMM to count data, we may wish to check for overdispersion and/or zero-inflation, the presence of which might suggest we need to adjust our modelling strategy. Simulating 10,000 datasets from our model reveals that the proportion of zeroes in our real data is comparable to simulated expectation ( Fig. 3A ). Conversely, simulating 1,000 datasets and refitting our model to each dataset, we see that the sum of the squared Pearson residuals for the real data is far larger than simulated expectation ( Fig. 3B ), giving evidence of overdispersion ( Harrison, 2014 ). We can use the simulated frequency distribution of this test statistic to derive a mean and 95% confidence interval for the overdispersion by calculating the ratio of our test statistic to the simulated values ( Harrison, 2014 ). The dispersion statistic for our model is 3.16 (95% CI [2.77–3.59]). Thus, simulations have allowed us to conclude that our model is overdispersed, but that this overdispersion is not due to zero-inflation. All R code for reproducing these simulations is provided in the Figshare: DOI 10.6084/m9.figshare.5173396 .”mechanisms[9]
mechanismmultiple imputation Replaces non-informative missing values to preserve power and reduce bias. — “When collecting ecological data it is often not possible to measure all of the predictors of interest for every measurement of the dependant variable. Such missing data are a common feature of ecological datasets, however the impacts of this have seldom been considered in the literature ( Nakagawa & Freckleton, 2011 ). Incomplete rows of data in dataframes i.e. those missing predictor and/or response variables are often dealt with by deleting or ignoring those rows of data entirely when modelling ( Nakagawa & Freckleton, 2008 ), although this may result in biased parameter estimates and, depending on the mechanism underlying the missing data, reduces statistical power ( Nakagawa & Freckleton, 2008 ). Nakagawa & Freckleton (2011) recommend multiple imputation (MI) as a mechanism for handling non-informative missing data, and highlight the ability of this technique for more accurate estimates, particularly for IT/AIC approaches.”mechanisms[10]
mechanisminformation criteria Rank candidate models by a penalized fit-complexity trade-off. — “Unlike NHST, which leads to a focus on a single best model, model selection using IT approaches allows the degree of support in the data for several competing models to be ranked using metrics such as AIC. Information criteria attempt to quantify the Kullback–Leibler distance (KLD), a measure of the relative amount of information lost when a given model approximates the true data-generating process. Thus, relative difference among models in AIC should be representative in relative differences in KLD, and the model with the lowest AIC should lose the least information and be the best model in that it optimises the trade-off between fit and complexity ( Richards, 2008 ). A key strength of the IT approach is that it accounts for ‘model selection uncertainty’, the idea that several competing models may all fit the data similarly well ( Burnham & Anderson, 2002 ; Burnham, Anderson & Huyvaert, 2011 ). This is particularly useful when competing models share equal ‘complexity’ (i.e. number of predictors, or number of residual degrees of freedom): in such situations, NHST is impossible because NHST requires a simpler (nested) model for comparison. Where several models have similar support in the data, inference can be made from all models using model-averaging ( Burnham & Anderson, 2002 ; Johnson & Omland, 2004 ; Grueber et al., 2011 ). Model averaging incorporates uncertainty by weighting the parameter estimate of a model by that model’s Akaike weight (often referred to as the probability of that model being the best Kullback–Leibler model given the data, but see Richards, 2005 ). Multi-model inference places a strong emphasis on a priori formulation of hypotheses ( Burnham & Anderson, 2002 ; Dochtermann & Jenkins, 2011 ; Lindberg, Schmidt & Walker, 2015 ), and model-averaged parameter estimates arising from multi-model inference are thought to lead to more robust conclusions about the biological systems compared to NHST ( Johnson & Omland, 2004 , but see Richards, Whittingham & Stephens, 2011 ). These strengths over NHST have meant that the use of IT approaches in ecology and evolution has grown rapidly in recent years ( Lindberg, Schmidt & Walker, 2015 ; Barker & Link, 2015 ; Cade, 2015 ). We do not expand on the specific details of the difference between NHST and IT here, but point the reader to some excellent references on the topic. Instead, we use this section to highlight recent empirical developments in the best practice methods for the application of IT in ecology and evolution.”mechanisms[11]
mechanismmodel averaging Weights model-specific parameter estimates by support across plausible models. — “Unlike NHST, which leads to a focus on a single best model, model selection using IT approaches allows the degree of support in the data for several competing models to be ranked using metrics such as AIC. Information criteria attempt to quantify the Kullback–Leibler distance (KLD), a measure of the relative amount of information lost when a given model approximates the true data-generating process. Thus, relative difference among models in AIC should be representative in relative differences in KLD, and the model with the lowest AIC should lose the least information and be the best model in that it optimises the trade-off between fit and complexity ( Richards, 2008 ). A key strength of the IT approach is that it accounts for ‘model selection uncertainty’, the idea that several competing models may all fit the data similarly well ( Burnham & Anderson, 2002 ; Burnham, Anderson & Huyvaert, 2011 ). This is particularly useful when competing models share equal ‘complexity’ (i.e. number of predictors, or number of residual degrees of freedom): in such situations, NHST is impossible because NHST requires a simpler (nested) model for comparison. Where several models have similar support in the data, inference can be made from all models using model-averaging ( Burnham & Anderson, 2002 ; Johnson & Omland, 2004 ; Grueber et al., 2011 ). Model averaging incorporates uncertainty by weighting the parameter estimate of a model by that model’s Akaike weight (often referred to as the probability of that model being the best Kullback–Leibler model given the data, but see Richards, 2005 ). Multi-model inference places a strong emphasis on a priori formulation of hypotheses ( Burnham & Anderson, 2002 ; Dochtermann & Jenkins, 2011 ; Lindberg, Schmidt & Walker, 2015 ), and model-averaged parameter estimates arising from multi-model inference are thought to lead to more robust conclusions about the biological systems compared to NHST ( Johnson & Omland, 2004 , but see Richards, Whittingham & Stephens, 2011 ). These strengths over NHST have meant that the use of IT approaches in ecology and evolution has grown rapidly in recent years ( Lindberg, Schmidt & Walker, 2015 ; Barker & Link, 2015 ; Cade, 2015 ). We do not expand on the specific details of the difference between NHST and IT here, but point the reader to some excellent references on the topic. Instead, we use this section to highlight recent empirical developments in the best practice methods for the application of IT in ecology and evolution.”mechanisms[12]
mechanismcross-validation Separates exploratory fitting from held-out prediction assessment. — “Global models should not contain huge numbers of variables and interactions without prior thought about what the models represent for a study system. In cases where all-subsets selection from a global model is performed, it is important to view these model selection exercises as exploratory ( Symonds & Moussalli, 2011 ), and hold some data back from these exploratory analyses to be used for cross-validation with the top model(s) (see Dochtermann & Jenkins, 2011 and references therein). Here, 90% of the data can be used to fit the model(s), with the remaining 10% used for confirmatory analysis to quantify how well the model(s) perform for prediction ( Zuur & Ieno, 2016 ). Such an approach requires a huge amount of data ( Dochtermann & Jenkins, 2011 ), but cross-validation to validate a model’s predictive ability is rare and should result in more robust inference (see also Fieberg & Johnson, 2015 ).”mechanisms[13]
mechanismnesting rule Drops more complex nested models when simpler models have stronger AIC support. — “It is well known that AIC tends towards overly complex models (‘overfitting’, Burnham & Anderson, 2002 ). As AIC only adds a two point penalty to a model for inclusion of a new term, Arnold (2010) demonstrated that adding a nuisance (completely random) predictor to a well-fitting model leads to a ΔAIC value of the new model of ∼2, therefore appearing to warrant inclusion in the top model set (see section above). Therefore, inference can be greatly improved by eliminating models from the top model set that are more complex versions of nested models with better AIC support, known as the nesting rule ( Richards, 2005 , 2008 ; Richards, Whittingham & Stephens, 2011 ). Doing so greatly reduces the number of models to be used for inference, and improves parameter accuracy ( Arnold, 2010 ; Richards, 2008 ). Symonds & Moussalli (2011) caution that its applicability has not yet been widely assessed over a range of circumstances, but the theory behind its application is sound and intuitive ( Arnold, 2010 ).”mechanisms[14]
extends traditional linear models with fixed and random effects — “Linear mixed effects models and generalized linear mixed effects models (GLMMs), have increased in popularity in the last decade ( Zuur et al., 2009 ; Bolker et al., 2009 ). Both extend traditional linear models to include a combination of fixed and random effects as predictor variables. The introduction of random effects affords several non-exclusive benefits. First, biological datasets are often highly structured, containing clusters of non-independent observational units that are hierarchical in nature, and LMMs allow us to explicitly model the non-independence in such data. For example, we might measure several chicks from the same clutch, and several clutches from different females, or we might take repeated measurements of the same chick’s growth rate over time. In both cases, we might expect that measurements within a statistical unit (here, an individual, or a female’s clutch) might be more similar than measurements from different units. Explicit modelling of the random effects structure will aid correct inference about fixed effects, depending on which level of the system’s hierarchy is being manipulated. In our example, if the fixed effect varies or is manipulated at the level of the clutch, then treating multiple chicks from a single clutch as independent would represent pseudoreplication, which can be controlled carefully by using random effects. Similarly, if fixed effects vary at the level of the chick, then non-independence among clutches or mothers could also be accounted for. Random effects typically represent some grouping variable ( Breslow & Clayton, 1993 ) and allow the estimation of variance in the response variable within and among these groups. This reduces the probability of false positives (Type I error rates) and false negatives (Type II error rates, e.g. Crawley, 2013 ). In addition, inferring the magnitude of variation within and among statistical clusters or hierarchical levels can be highly informative in its own right. In our bird example, understanding whether there is more variation in a focal trait among females within a population, rather than among populations, might be a central goal of the study.”claim_relations[0]
contrasts-with NHST single-model focus — “Unlike NHST, which leads to a focus on a single best model, model selection using IT approaches allows the degree of support in the data for several competing models to be ranked using metrics such as AIC. Information criteria attempt to quantify the Kullback–Leibler distance (KLD), a measure of the relative amount of information lost when a given model approximates the true data-generating process. Thus, relative difference among models in AIC should be representative in relative differences in KLD, and the model with the lowest AIC should lose the least information and be the best model in that it optimises the trade-off between fit and complexity ( Richards, 2008 ). A key strength of the IT approach is that it accounts for ‘model selection uncertainty’, the idea that several competing models may all fit the data similarly well ( Burnham & Anderson, 2002 ; Burnham, Anderson & Huyvaert, 2011 ). This is particularly useful when competing models share equal ‘complexity’ (i.e. number of predictors, or number of residual degrees of freedom): in such situations, NHST is impossible because NHST requires a simpler (nested) model for comparison. Where several models have similar support in the data, inference can be made from all models using model-averaging ( Burnham & Anderson, 2002 ; Johnson & Omland, 2004 ; Grueber et al., 2011 ). Model averaging incorporates uncertainty by weighting the parameter estimate of a model by that model’s Akaike weight (often referred to as the probability of that model being the best Kullback–Leibler model given the data, but see Richards, 2005 ). Multi-model inference places a strong emphasis on a priori formulation of hypotheses ( Burnham & Anderson, 2002 ; Dochtermann & Jenkins, 2011 ; Lindberg, Schmidt & Walker, 2015 ), and model-averaged parameter estimates arising from multi-model inference are thought to lead to more robust conclusions about the biological systems compared to NHST ( Johnson & Omland, 2004 , but see Richards, Whittingham & Stephens, 2011 ). These strengths over NHST have meant that the use of IT approaches in ecology and evolution has grown rapidly in recent years ( Lindberg, Schmidt & Walker, 2015 ; Barker & Link, 2015 ; Cade, 2015 ). We do not expand on the specific details of the difference between NHST and IT here, but point the reader to some excellent references on the topic. Instead, we use this section to highlight recent empirical developments in the best practice methods for the application of IT in ecology and evolution.”claim_relations[1]
qualifies random slopes as universal maximal practice — “Schielzeth & Forstmeier (2009) found that including random slopes controls Type I error rate (yields more accurate p values), but also gives more power to detect among individual variation. Barr et al. (2013) suggest that researchers should fit the maximal random effects structure possible for the data. That is, if there are four predictors under consideration, all four should be allowed to have random slopes. However, we believe this is unrealistic because random slope models require large numbers of data to estimate variances and covariances accurately ( Bates et al., 2015a ). Ecological datasets can often struggle to estimate a single random slope, diagnosed by a perfect correlation (1 or −1) between random intercepts and slopes ( Bates et al., 2015a ). Therefore, the approach of fitting the ‘maximal’ complexity of random effects structure ( Barr et al., 2013 ) is perhaps better phrased as fitting the most complex mixed effects structure allowed by your data ( Bates et al., 2015a ), which may mean either (i) fitting random slopes but removing the correlation between intercepts and slopes; or (ii) fitting no random slopes at all but accepting that this likely inflates the Type I error rate ( Schielzeth & Forstmeier, 2009 ). If fitting a random slope model including correlations between intercepts and slopes, always inspect the intercept-slope correlation coefficient in the variance/covariance summary returned by packages like lme4 to look for evidence of perfect correlations, indicative of insufficient data to estimate the model.”claim_relations[2]
supports simulation-based model checking — “Simulation is a powerful tool for assessing model fit ( Gelman & Hill, 2007 ; Kéry, 2010 ; Zuur & Ieno, 2016 ), but is rarely used. The premise here is simple: when simulating a response variable from a given set of parameter estimates (a model), the fit of the model to those simulated ‘ideal’ response data should be comparable to the model’s fit to the real response variable ( Kéry, 2010 ). Each iteration yields a simulated dataset that allows calculation of a statistic of interest such as the sum of squared residuals ( Kéry, 2010 ), the overdispersion statistic ( Harrison, 2014 ) or the percentage of zeroes for a Poisson model ( Zuur & Ieno, 2016 ). If the model is a good fit, after a sufficiently large number of iterations (e.g. 10,000) the distribution of this statistic should encompass the observed statistic in the real data. Significant deviations outside of that distribution indicate the model is a poor fit ( Kéry, 2010 ). Figure 3 shows an example of using simulation to assess the fit of a Poisson GLMM. After fitting a GLMM to count data, we may wish to check for overdispersion and/or zero-inflation, the presence of which might suggest we need to adjust our modelling strategy. Simulating 10,000 datasets from our model reveals that the proportion of zeroes in our real data is comparable to simulated expectation ( Fig. 3A ). Conversely, simulating 1,000 datasets and refitting our model to each dataset, we see that the sum of the squared Pearson residuals for the real data is far larger than simulated expectation ( Fig. 3B ), giving evidence of overdispersion ( Harrison, 2014 ). We can use the simulated frequency distribution of this test statistic to derive a mean and 95% confidence interval for the overdispersion by calculating the ratio of our test statistic to the simulated values ( Harrison, 2014 ). The dispersion statistic for our model is 3.16 (95% CI [2.77–3.59]). Thus, simulations have allowed us to conclude that our model is overdispersed, but that this overdispersion is not due to zero-inflation. All R code for reproducing these simulations is provided in the Figshare: DOI 10.6084/m9.figshare.5173396 .”claim_relations[3]
qualifies summed Akaike weights as variable importance — “With a top model set in hand, it is common practice to use the summed Akaike weights of every model in that set in which a predictor of interest occurs as a measure of ‘variable importance’ ( Grueber et al., 2011 ). Recent work has demonstrated that this approach is flawed because Akaike weights are interpreted as relative model probabilities, and give no information about the importance of individual predictors in a model ( Cade, 2015 ), and fail to distinguish between variables with weak or strong effects ( Galipaud et al., 2014 ; Galipaud, Gillingham & Dechaume-Moncharmont, 2017 ). The sum of Akaike weights as a measure of variable importance may at best be a measure of how likely a variable would be included in the top model set after repeated sampling of the data ( Burnham & Anderson, 2002 ; Cade, 2015 , but see Galipaud, Gillingham & Dechaume-Moncharmont, 2017 ). A better measure of variable importance would be to compare standardised effect sizes ( Schielzeth, 2010 ; Cade, 2015 ). However, summed Akaike weights for variables in top model sets still represent useful quantitative evidence ( Giam & Olden, 2016 ); they should be reported in model summary tables, and ideally interpreted in tandem with model averaged effect sizes for individual parameters.”claim_relations[4]
sensemixed model as a traditional linear model extended with both fixed and random effects — “Linear mixed effects models and generalized linear mixed effects models (GLMMs), have increased in popularity in the last decade ( Zuur et al., 2009 ; Bolker et al., 2009 ). Both extend traditional linear models to include a combination of fixed and random effects as predictor variables. The introduction of random effects affords several non-exclusive benefits. First, biological datasets are often highly structured, containing clusters of non-independent observational units that are hierarchical in nature, and LMMs allow us to explicitly model the non-independence in such data. For example, we might measure several chicks from the same clutch, and several clutches from different females, or we might take repeated measurements of the same chick’s growth rate over time. In both cases, we might expect that measurements within a statistical unit (here, an individual, or a female’s clutch) might be more similar than measurements from different units. Explicit modelling of the random effects structure will aid correct inference about fixed effects, depending on which level of the system’s hierarchy is being manipulated. In our example, if the fixed effect varies or is manipulated at the level of the clutch, then treating multiple chicks from a single clutch as independent would represent pseudoreplication, which can be controlled carefully by using random effects. Similarly, if fixed effects vary at the level of the chick, then non-independence among clutches or mothers could also be accounted for. Random effects typically represent some grouping variable ( Breslow & Clayton, 1993 ) and allow the estimation of variance in the response variable within and among these groups. This reduces the probability of false positives (Type I error rates) and false negatives (Type II error rates, e.g. Crawley, 2013 ). In addition, inferring the magnitude of variation within and among statistical clusters or hierarchical levels can be highly informative in its own right. In our bird example, understanding whether there is more variation in a focal trait among females within a population, rather than among populations, might be a central goal of the study.”senses[0]
senserandom effect as a distribution over grouping levels rather than an isolated named contrast — “Fitting ‘group’ as a fixed effect in model M1 assumes the five ‘group’ means are all independent of one another, and share a common residual variance. Conversely, fitting group as a random intercept model in model M2 assumes that the five measured group means are only a subset of the realised possibilities drawn from a ‘global’ set of population means that follow a Normal distribution with its own mean (μ group , Fig. 1A ) and variance (σ 2 group ). Therefore, LMMs model the variance hierarchically, estimating the processes that generate among-group variation in means, as well as variation within groups. Treating groups from a field survey as only a subset of the possible groups that could be sampled is quite intuitive, because there are likely many more groups (e.g. populations) of the study species in nature than the five the researcher measured. Conversely if one has designed an experiment to test the effect of three different temperature regimes on growth rate of plants, specifying temperature treatment as a fixed effect appears sensible because the experimenter has deliberately set the variable at a given value of interest. That is, there are no unmeasured groups with respect to that particular experimental design.”senses[1]
senseshrinkage as partial pooling toward a global mean — “Random effect models use data from all the groups to estimate the mean and variance of the global distribution of group means. Assuming all group means are drawn from a common distribution causes the estimates of their means to drift towards the global mean μ group . This phenomenon, known as shrinkage ( Gelman & Hill, 2007 ; Kéry, 2010 ), can also lead to smaller and more precise standard errors around means. Shrinkage is strongest for groups with small sample sizes, as the paucity of within-group information to estimate the mean is counteracted by the model using data from other groups to improve the precision of the estimate. This ‘partial pooling’ of the estimates is a principal benefit of fitting something as a random effect ( Gelman & Hill, 2007 ). However, it can feel strange that group means should be shrunk towards the global mean, especially for researchers more used to treating sample means as independent fixed effects. Accordingly, one issue is that variance estimates can be hugely imprecise when there are fewer than five levels of the random grouping variable (intercept or slope; see Harrison, 2015 ). However, thanks to the Central Limit Theorem, the assumption of Gaussian distribution of group means is usually a good one, and the benefits of hierarchical analysis will outweigh the apparent costs of shrinkage.”senses[2]
sensenested and crossed as properties of the sampling design, not interchangeable syntax choices — “A common issue that causes confusion is this issue of specifying random effects as either ‘crossed’ or ‘nested’. In reality, the way you specify your random effects will be determined by your experimental or sampling design ( Schielzeth & Nakagawa, 2013 ). A simple example can illustrate the difference. Imagine a researcher was interested in understanding the factors affecting the clutch mass of a passerine bird. They have a study population spread across five separate woodlands, each containing 30 nest boxes. Every week during breeding they measure the foraging rate of females at feeders, and measure their subsequent clutch mass. Some females have multiple clutches in a season and contribute multiple data points. Here, female ID is said to be nested within woodland : each woodland contains multiple females unique to that woodland (that never move among woodlands). The nested random effect controls for the fact that (i) clutches from the same female are not independent, and (ii) females from the same woodland may have clutch masses more similar to one another than to females from other woodlands”senses[3]
senserandom slope as a group-varying coefficient, also called a random coefficients model — “Fitting random slope models in ecology is not very common. Often, researchers fit random intercepts to control for non-independence among measurements of a statistical group (e.g. birds within a woodland), but force variables to have a common slope across all experimental units. However, there is growing evidence that researchers should be fitting random slopes as standard practice in (G)LMMs. Random slope models allow the coefficient of a predictor to vary based on clustering/non-independence in the data (see Fig. 1B ). In our bird example above, we might fit a random slope for the effect of foraging rate on clutch mass given each individual bird ID. That is, the magnitude of the effect foraging rate on resultant clutch mass differs among birds. Random slope models (also often called random coefficients models, Kéry, 2010 ) apply to both continuous and factor variables. For example, if we had applied a two-level feeding treatment to birds in each woodland (vitamin supplementation or control), we might also expect the magnitude of the effect of receiving vitamin supplementation to differ depending on which woodland it was applied to. So here we would specify random slopes for the treatment variable given woodland ID.”senses[4]
senseglobal model as a biologically reasoned hypothesis set rather than every available variable — “Deciding which terms to include in the model requires careful and rigorous a priori consideration of the system under study. This may appear obvious; however diverse authors have noticed a lack of careful thinking when selecting variables for inclusion in a model ( Peters, 1991 ; Chatfield, 1995 ; Burnham & Anderson, 2002 ). Lack of a priori consideration, of what models represent, distinguishes rigorous hypothesis testing from ‘fishing expeditions’ that seek significant predictors among a large group of contenders. Ideally, the global model should be carefully constructed using the researchers’ knowledge and understanding of the system such that only predictors likely to be pertinent to the problem at hand are included, rather than including all the predictors the researcher has collected and/or has available. This is a pertinent issue in the age of ‘big data’, where researchers are often overwhelmed with predictors and risk skipping the important step of a priori hypothesis design. In practice, for peer reviewers it is easy to distinguish fishing expeditions from a priori hypothesis sets based on the evidence base presented in introductory sections of research outputs.”senses[5]
sensemodel fit and model adequacy as separate required evaluations — “Once a global model is specified, it is vital to quantify model fit and report these metrics in the manuscript. The global model is considered the best candidate for assessing fit statistics such as overdispersion ( Burnham & Anderson, 2002 ). Information criteria scores should not be used as a proxy for model fit, because a large difference in AIC between the top and null models is not evidence of a good fit. AIC tells us nothing about whether the basic distributional and structural assumptions of the model have been violated. Similarly, a high R 2 value is in itself only a test of the magnitude of model fit and not an adequate surrogate for proper model checks. Just because a model has a high R 2 value does not mean it will pass checks for assumptions such as homogeneity of variance. We strongly encourage researchers to view model fit and model adequacy as two separate but equally important traits that must be assessed and reported. Model fit can be poor for several reasons, including the presence of overdispersion, failing to include interactions among predictors, failing to account for non-linear effects of the predictors on the response, or specifying a sub-optimal error structure and/or link function. Here we discuss some key metrics of fit and adequacy that should be considered.”senses[6]
senseR-squared in GLMMs as fixed-only marginal or whole-model conditional explained variance — “The strength of the Nakagawa & Schielzeth (2013) method for GLMMs is that it returns two complementary R 2 values: the marginal R 2 encompassing variance explained by only the fixed effects, and the conditional R 2 comprising variance explained by both fixed and random effects i.e. the variance explained by the whole model ( Nakagawa & Schielzeth, 2013 ). Ideally, both should be reported in publications as they provide different information; which one is more ‘useful’ may depend on the rationale for specifying random effects in the first instance. Recently, Nakagawa, Johnson & Schielzeth (2017) expanded their R 2 method to handle models with compound probability distributions like the Negative Binomial error family. Note that when OLREs are included (see ‘Overdispersion’ section above), the conditional R 2 becomes less useful as a measure of explained variance because it includes the extra-parametric dispersion being modelled, but has no predictive power ( Harrison, 2014 ).”senses[7]
sensesimulation as posterior-style predictive checking of frequentist fitted models — “Simulation is a powerful tool for assessing model fit ( Gelman & Hill, 2007 ; Kéry, 2010 ; Zuur & Ieno, 2016 ), but is rarely used. The premise here is simple: when simulating a response variable from a given set of parameter estimates (a model), the fit of the model to those simulated ‘ideal’ response data should be comparable to the model’s fit to the real response variable ( Kéry, 2010 ). Each iteration yields a simulated dataset that allows calculation of a statistic of interest such as the sum of squared residuals ( Kéry, 2010 ), the overdispersion statistic ( Harrison, 2014 ) or the percentage of zeroes for a Poisson model ( Zuur & Ieno, 2016 ). If the model is a good fit, after a sufficiently large number of iterations (e.g. 10,000) the distribution of this statistic should encompass the observed statistic in the real data. Significant deviations outside of that distribution indicate the model is a poor fit ( Kéry, 2010 ). Figure 3 shows an example of using simulation to assess the fit of a Poisson GLMM. After fitting a GLMM to count data, we may wish to check for overdispersion and/or zero-inflation, the presence of which might suggest we need to adjust our modelling strategy. Simulating 10,000 datasets from our model reveals that the proportion of zeroes in our real data is comparable to simulated expectation ( Fig. 3A ). Conversely, simulating 1,000 datasets and refitting our model to each dataset, we see that the sum of the squared Pearson residuals for the real data is far larger than simulated expectation ( Fig. 3B ), giving evidence of overdispersion ( Harrison, 2014 ). We can use the simulated frequency distribution of this test statistic to derive a mean and 95% confidence interval for the overdispersion by calculating the ratio of our test statistic to the simulated values ( Harrison, 2014 ). The dispersion statistic for our model is 3.16 (95% CI [2.77–3.59]). Thus, simulations have allowed us to conclude that our model is overdispersed, but that this overdispersion is not due to zero-inflation. All R code for reproducing these simulations is provided in the Figshare: DOI 10.6084/m9.figshare.5173396 .”senses[8]
senseinformation theory as relative support for several competing models rather than one significance-selected winner — “Unlike NHST, which leads to a focus on a single best model, model selection using IT approaches allows the degree of support in the data for several competing models to be ranked using metrics such as AIC. Information criteria attempt to quantify the Kullback–Leibler distance (KLD), a measure of the relative amount of information lost when a given model approximates the true data-generating process. Thus, relative difference among models in AIC should be representative in relative differences in KLD, and the model with the lowest AIC should lose the least information and be the best model in that it optimises the trade-off between fit and complexity ( Richards, 2008 ). A key strength of the IT approach is that it accounts for ‘model selection uncertainty’, the idea that several competing models may all fit the data similarly well ( Burnham & Anderson, 2002 ; Burnham, Anderson & Huyvaert, 2011 ). This is particularly useful when competing models share equal ‘complexity’ (i.e. number of predictors, or number of residual degrees of freedom): in such situations, NHST is impossible because NHST requires a simpler (nested) model for comparison. Where several models have similar support in the data, inference can be made from all models using model-averaging ( Burnham & Anderson, 2002 ; Johnson & Omland, 2004 ; Grueber et al., 2011 ). Model averaging incorporates uncertainty by weighting the parameter estimate of a model by that model’s Akaike weight (often referred to as the probability of that model being the best Kullback–Leibler model given the data, but see Richards, 2005 ). Multi-model inference places a strong emphasis on a priori formulation of hypotheses ( Burnham & Anderson, 2002 ; Dochtermann & Jenkins, 2011 ; Lindberg, Schmidt & Walker, 2015 ), and model-averaged parameter estimates arising from multi-model inference are thought to lead to more robust conclusions about the biological systems compared to NHST ( Johnson & Omland, 2004 , but see Richards, Whittingham & Stephens, 2011 ). These strengths over NHST have meant that the use of IT approaches in ecology and evolution has grown rapidly in recent years ( Lindberg, Schmidt & Walker, 2015 ; Barker & Link, 2015 ; Cade, 2015 ). We do not expand on the specific details of the difference between NHST and IT here, but point the reader to some excellent references on the topic. Instead, we use this section to highlight recent empirical developments in the best practice methods for the application of IT in ecology and evolution.”senses[9]
sensemodel averaging as uncertainty-weighted inference across similarly supported models — “The aim of model averaging is to incorporate the uncertainty in the size and presence of effects among a set of candidate models with similar support in the data. Model averaging using Akaike weights proceeds on the assumption that predictors are on common scales across models and are therefore comparable. Unfortunately, the nature of multiple regression means that the scale and sign of coefficients will change across models depending on the presence or absence of other variables in a focal model ( Cade, 2015 ). The issue of predictor scaling changing across models is particularly exacerbated when predictors are collinear, even when VIF values are low ( Burnham & Anderson, 2002 ; Lukacs, Burnham & Anderson, 2010 ; Cade, 2015 ). Cade (2015) recommends standardising model parameters based on partial standard deviations to ensure predictors are on common scales across models prior to model averaging (details in Cade, 2015 ). We stress again the need to assess multicollinearity among predictors in multiple regression modelling before fitting models ( Zuur & Ieno, 2016 ) and before model-averaging coefficients from those models ( Lukacs, Burnham & Anderson, 2010 ; Cade, 2015 ).”senses[10]
senseAkaike weight as model support rather than a direct measure of predictor importance — “With a top model set in hand, it is common practice to use the summed Akaike weights of every model in that set in which a predictor of interest occurs as a measure of ‘variable importance’ ( Grueber et al., 2011 ). Recent work has demonstrated that this approach is flawed because Akaike weights are interpreted as relative model probabilities, and give no information about the importance of individual predictors in a model ( Cade, 2015 ), and fail to distinguish between variables with weak or strong effects ( Galipaud et al., 2014 ; Galipaud, Gillingham & Dechaume-Moncharmont, 2017 ). The sum of Akaike weights as a measure of variable importance may at best be a measure of how likely a variable would be included in the top model set after repeated sampling of the data ( Burnham & Anderson, 2002 ; Cade, 2015 , but see Galipaud, Gillingham & Dechaume-Moncharmont, 2017 ). A better measure of variable importance would be to compare standardised effect sizes ( Schielzeth, 2010 ; Cade, 2015 ). However, summed Akaike weights for variables in top model sets still represent useful quantitative evidence ( Giam & Olden, 2016 ); they should be reported in model summary tables, and ideally interpreted in tandem with model averaged effect sizes for individual parameters.”senses[11]
controlfull-model test before single-predictor investigation — rules out inflated Type I error from repeated unstructured tests — “Stepwise deletion procedures have come under heavy criticism; they can overestimate the effect size of significant predictors ( Whittingham et al., 2006 ; Forstmeier & Schielzeth, 2011 ; Burnham, Anderson & Huyvaert, 2011 ) and force the researcher to focus on a single best model as if it were the only combination of predictors with support in the data. Although we strive for simplicity and parsimony, this assumption is not always reasonable in complex ecological systems ( Burnham, Anderson & Huyvaert, 2011 ). It is common to present the MAM as if it arose from a single a priori hypothesis, when in fact arriving at the MAM required multiple significance tests ( Whittingham et al., 2006 ; Forstmeier & Schielzeth, 2011 ). This cryptic multiple testing can lead to hugely inflated Type I errors ( Forstmeier & Schielzeth, 2011 ). Perhaps most importantly, LRT can be unreliable for fixed effects in GLMMs unless both total sample size and replication of the random effect terms is high (see Bolker et al., 2009 and references therein), conditions which are often not satisfied for most ecological datasets. Because stepwise deletion can cause biased effect sizes, presenting means and SEs of parameters from the global model should be more robust, especially when the n/k ratio is low ( Forstmeier & Schielzeth, 2011 ). Performing ‘full model tests’ (comparing the global model to an intercept only model) before investigating single-predictor effects controls the Type I error rate ( Forstmeier & Schielzeth, 2011 ). Reporting the full model also helps reduce publication bias towards strong effects, providing future meta-analyses with estimates of both significant and non-significant effects ( Forstmeier & Schielzeth, 2011 ). Global model reporting should not replace other model selection methods, but provides a robust measure of how likely significant effects are to arise by sampling variation alone.”controls[0]
controlresidual-versus-fitted and residual-versus-predictor plots — rules out undetected model-assumption violations — “Best practice is to examine plots of residuals versus fitted values for the entire model, as well as model residuals versus all explanatory variables to look for patterns ( Zuur, Ieno & Elphick, 2010 ; Zuur & Ieno, 2016 ). In addition, there are further model checks specific to mixed models. First, inspect residuals versus fitted values for each grouping level of a random intercept factor ( Zuur et al., 2009 ). This will often prove dissatisfying if there are few data/residuals per group, however this in itself is a warning flag that the assumptions of the model might be based on weak foundations. Note that, for GLMMs, it is wise to use normalised/Pearson residual when looking for patterns, as they account for the mean-variance relationship of generalized models ( Zuur et al., 2009 ). Another feature of fit that is very rarely tested for in (G)LMMs is the assumption of normality of deviations of the conditional means of the random effects from the global intercept. Just as a quantile–quantile (QQ) plot of linear model residuals should show points falling along a straight line ( Crawley, 2013 ), so should a QQ plot of the random effect means ( Schielzeth & Nakagawa, 2013 ).”controls[1]
controlsimulated ideal datasets — held — “Simulation is a powerful tool for assessing model fit ( Gelman & Hill, 2007 ; Kéry, 2010 ; Zuur & Ieno, 2016 ), but is rarely used. The premise here is simple: when simulating a response variable from a given set of parameter estimates (a model), the fit of the model to those simulated ‘ideal’ response data should be comparable to the model’s fit to the real response variable ( Kéry, 2010 ). Each iteration yields a simulated dataset that allows calculation of a statistic of interest such as the sum of squared residuals ( Kéry, 2010 ), the overdispersion statistic ( Harrison, 2014 ) or the percentage of zeroes for a Poisson model ( Zuur & Ieno, 2016 ). If the model is a good fit, after a sufficiently large number of iterations (e.g. 10,000) the distribution of this statistic should encompass the observed statistic in the real data. Significant deviations outside of that distribution indicate the model is a poor fit ( Kéry, 2010 ). Figure 3 shows an example of using simulation to assess the fit of a Poisson GLMM. After fitting a GLMM to count data, we may wish to check for overdispersion and/or zero-inflation, the presence of which might suggest we need to adjust our modelling strategy. Simulating 10,000 datasets from our model reveals that the proportion of zeroes in our real data is comparable to simulated expectation ( Fig. 3A ). Conversely, simulating 1,000 datasets and refitting our model to each dataset, we see that the sum of the squared Pearson residuals for the real data is far larger than simulated expectation ( Fig. 3B ), giving evidence of overdispersion ( Harrison, 2014 ). We can use the simulated frequency distribution of this test statistic to derive a mean and 95% confidence interval for the overdispersion by calculating the ratio of our test statistic to the simulated values ( Harrison, 2014 ). The dispersion statistic for our model is 3.16 (95% CI [2.77–3.59]). Thus, simulations have allowed us to conclude that our model is overdispersed, but that this overdispersion is not due to zero-inflation. All R code for reproducing these simulations is provided in the Figshare: DOI 10.6084/m9.figshare.5173396 .” — rules out unsupported claims of model adequacy — “Simulation is a powerful tool for assessing model fit ( Gelman & Hill, 2007 ; Kéry, 2010 ; Zuur & Ieno, 2016 ), but is rarely used. The premise here is simple: when simulating a response variable from a given set of parameter estimates (a model), the fit of the model to those simulated ‘ideal’ response data should be comparable to the model’s fit to the real response variable ( Kéry, 2010 ). Each iteration yields a simulated dataset that allows calculation of a statistic of interest such as the sum of squared residuals ( Kéry, 2010 ), the overdispersion statistic ( Harrison, 2014 ) or the percentage of zeroes for a Poisson model ( Zuur & Ieno, 2016 ). If the model is a good fit, after a sufficiently large number of iterations (e.g. 10,000) the distribution of this statistic should encompass the observed statistic in the real data. Significant deviations outside of that distribution indicate the model is a poor fit ( Kéry, 2010 ). Figure 3 shows an example of using simulation to assess the fit of a Poisson GLMM. After fitting a GLMM to count data, we may wish to check for overdispersion and/or zero-inflation, the presence of which might suggest we need to adjust our modelling strategy. Simulating 10,000 datasets from our model reveals that the proportion of zeroes in our real data is comparable to simulated expectation ( Fig. 3A ). Conversely, simulating 1,000 datasets and refitting our model to each dataset, we see that the sum of the squared Pearson residuals for the real data is far larger than simulated expectation ( Fig. 3B ), giving evidence of overdispersion ( Harrison, 2014 ). We can use the simulated frequency distribution of this test statistic to derive a mean and 95% confidence interval for the overdispersion by calculating the ratio of our test statistic to the simulated values ( Harrison, 2014 ). The dispersion statistic for our model is 3.16 (95% CI [2.77–3.59]). Thus, simulations have allowed us to conclude that our model is overdispersed, but that this overdispersion is not due to zero-inflation. All R code for reproducing these simulations is provided in the Figshare: DOI 10.6084/m9.figshare.5173396 .”controls[2]
controlheld-out ten percent cross-validation set — rules out evaluating predictive performance on exploratory fitting data — “Global models should not contain huge numbers of variables and interactions without prior thought about what the models represent for a study system. In cases where all-subsets selection from a global model is performed, it is important to view these model selection exercises as exploratory ( Symonds & Moussalli, 2011 ), and hold some data back from these exploratory analyses to be used for cross-validation with the top model(s) (see Dochtermann & Jenkins, 2011 and references therein). Here, 90% of the data can be used to fit the model(s), with the remaining 10% used for confirmatory analysis to quantify how well the model(s) perform for prediction ( Zuur & Ieno, 2016 ). Such an approach requires a huge amount of data ( Dochtermann & Jenkins, 2011 ), but cross-validation to validate a model’s predictive ability is rare and should result in more robust inference (see also Fieberg & Johnson, 2015 ).”controls[3]
controlcollinearity check before fitting and averaging — rules out unstable coefficient scales across candidate models — “The aim of model averaging is to incorporate the uncertainty in the size and presence of effects among a set of candidate models with similar support in the data. Model averaging using Akaike weights proceeds on the assumption that predictors are on common scales across models and are therefore comparable. Unfortunately, the nature of multiple regression means that the scale and sign of coefficients will change across models depending on the presence or absence of other variables in a focal model ( Cade, 2015 ). The issue of predictor scaling changing across models is particularly exacerbated when predictors are collinear, even when VIF values are low ( Burnham & Anderson, 2002 ; Lukacs, Burnham & Anderson, 2010 ; Cade, 2015 ). Cade (2015) recommends standardising model parameters based on partial standard deviations to ensure predictors are on common scales across models prior to model averaging (details in Cade, 2015 ). We stress again the need to assess multicollinearity among predictors in multiple regression modelling before fitting models ( Zuur & Ieno, 2016 ) and before model-averaging coefficients from those models ( Lukacs, Burnham & Anderson, 2010 ; Cade, 2015 ).”controls[4]
controlfunders' role — held — “Xavier A. Harrison was funded by an Institute of Zoology Research Fellowship. David Fisher was funded by NERC studentship NE/H02249X/1. Lynda Donaldson was funded by NERC studentship NE/L501669/1. Beth S. Robinson was funded by the University of Exeter and the Animal and Plant Health Agency as part of ‘Wildlife Research Co-Operative’. Maria Correa-Cano was funded by CONACYT (The Mexican National Council for Science and Technology) and SEP (The Mexican Ministry of Education). Cecily Goodwin was funded by the Forestry Commission and NERC studentship NE/L501669/1. The funders had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript.” — rules out funder control over design, analysis, publication, or manuscript preparation — “Xavier A. Harrison was funded by an Institute of Zoology Research Fellowship. David Fisher was funded by NERC studentship NE/H02249X/1. Lynda Donaldson was funded by NERC studentship NE/L501669/1. Beth S. Robinson was funded by the University of Exeter and the Animal and Plant Health Agency as part of ‘Wildlife Research Co-Operative’. Maria Correa-Cano was funded by CONACYT (The Mexican National Council for Science and Technology) and SEP (The Mexican Ministry of Education). Cecily Goodwin was funded by the Forestry Commission and NERC studentship NE/L501669/1. The funders had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript.”controls[5]
notetraditional linear models with fixed and random effects — LMMs and GLMMs extend the traditional model form. — “Linear mixed effects models and generalized linear mixed effects models (GLMMs), have increased in popularity in the last decade ( Zuur et al., 2009 ; Bolker et al., 2009 ). Both extend traditional linear models to include a combination of fixed and random effects as predictor variables. The introduction of random effects affords several non-exclusive benefits. First, biological datasets are often highly structured, containing clusters of non-independent observational units that are hierarchical in nature, and LMMs allow us to explicitly model the non-independence in such data. For example, we might measure several chicks from the same clutch, and several clutches from different females, or we might take repeated measurements of the same chick’s growth rate over time. In both cases, we might expect that measurements within a statistical unit (here, an individual, or a female’s clutch) might be more similar than measurements from different units. Explicit modelling of the random effects structure will aid correct inference about fixed effects, depending on which level of the system’s hierarchy is being manipulated. In our example, if the fixed effect varies or is manipulated at the level of the clutch, then treating multiple chicks from a single clutch as independent would represent pseudoreplication, which can be controlled carefully by using random effects. Similarly, if fixed effects vary at the level of the chick, then non-independence among clutches or mothers could also be accounted for. Random effects typically represent some grouping variable ( Breslow & Clayton, 1993 ) and allow the estimation of variance in the response variable within and among these groups. This reduces the probability of false positives (Type I error rates) and false negatives (Type II error rates, e.g. Crawley, 2013 ). In addition, inferring the magnitude of variation within and among statistical clusters or hierarchical levels can be highly informative in its own right. In our bird example, understanding whether there is more variation in a focal trait among females within a population, rather than among populations, might be a central goal of the study.”claim_relations[0]
weighttraditional linear models with fixed and random effects — 0.95 — “Linear mixed effects models and generalized linear mixed effects models (GLMMs), have increased in popularity in the last decade ( Zuur et al., 2009 ; Bolker et al., 2009 ). Both extend traditional linear models to include a combination of fixed and random effects as predictor variables. The introduction of random effects affords several non-exclusive benefits. First, biological datasets are often highly structured, containing clusters of non-independent observational units that are hierarchical in nature, and LMMs allow us to explicitly model the non-independence in such data. For example, we might measure several chicks from the same clutch, and several clutches from different females, or we might take repeated measurements of the same chick’s growth rate over time. In both cases, we might expect that measurements within a statistical unit (here, an individual, or a female’s clutch) might be more similar than measurements from different units. Explicit modelling of the random effects structure will aid correct inference about fixed effects, depending on which level of the system’s hierarchy is being manipulated. In our example, if the fixed effect varies or is manipulated at the level of the clutch, then treating multiple chicks from a single clutch as independent would represent pseudoreplication, which can be controlled carefully by using random effects. Similarly, if fixed effects vary at the level of the chick, then non-independence among clutches or mothers could also be accounted for. Random effects typically represent some grouping variable ( Breslow & Clayton, 1993 ) and allow the estimation of variance in the response variable within and among these groups. This reduces the probability of false positives (Type I error rates) and false negatives (Type II error rates, e.g. Crawley, 2013 ). In addition, inferring the magnitude of variation within and among statistical clusters or hierarchical levels can be highly informative in its own right. In our bird example, understanding whether there is more variation in a focal trait among females within a population, rather than among populations, might be a central goal of the study.”claim_relations[0]
noteNHST single-model focus — The paper explicitly contrasts information-theoretic ranking with NHST. — “Unlike NHST, which leads to a focus on a single best model, model selection using IT approaches allows the degree of support in the data for several competing models to be ranked using metrics such as AIC. Information criteria attempt to quantify the Kullback–Leibler distance (KLD), a measure of the relative amount of information lost when a given model approximates the true data-generating process. Thus, relative difference among models in AIC should be representative in relative differences in KLD, and the model with the lowest AIC should lose the least information and be the best model in that it optimises the trade-off between fit and complexity ( Richards, 2008 ). A key strength of the IT approach is that it accounts for ‘model selection uncertainty’, the idea that several competing models may all fit the data similarly well ( Burnham & Anderson, 2002 ; Burnham, Anderson & Huyvaert, 2011 ). This is particularly useful when competing models share equal ‘complexity’ (i.e. number of predictors, or number of residual degrees of freedom): in such situations, NHST is impossible because NHST requires a simpler (nested) model for comparison. Where several models have similar support in the data, inference can be made from all models using model-averaging ( Burnham & Anderson, 2002 ; Johnson & Omland, 2004 ; Grueber et al., 2011 ). Model averaging incorporates uncertainty by weighting the parameter estimate of a model by that model’s Akaike weight (often referred to as the probability of that model being the best Kullback–Leibler model given the data, but see Richards, 2005 ). Multi-model inference places a strong emphasis on a priori formulation of hypotheses ( Burnham & Anderson, 2002 ; Dochtermann & Jenkins, 2011 ; Lindberg, Schmidt & Walker, 2015 ), and model-averaged parameter estimates arising from multi-model inference are thought to lead to more robust conclusions about the biological systems compared to NHST ( Johnson & Omland, 2004 , but see Richards, Whittingham & Stephens, 2011 ). These strengths over NHST have meant that the use of IT approaches in ecology and evolution has grown rapidly in recent years ( Lindberg, Schmidt & Walker, 2015 ; Barker & Link, 2015 ; Cade, 2015 ). We do not expand on the specific details of the difference between NHST and IT here, but point the reader to some excellent references on the topic. Instead, we use this section to highlight recent empirical developments in the best practice methods for the application of IT in ecology and evolution.”claim_relations[1]
weightNHST single-model focus — 0.95 — “Unlike NHST, which leads to a focus on a single best model, model selection using IT approaches allows the degree of support in the data for several competing models to be ranked using metrics such as AIC. Information criteria attempt to quantify the Kullback–Leibler distance (KLD), a measure of the relative amount of information lost when a given model approximates the true data-generating process. Thus, relative difference among models in AIC should be representative in relative differences in KLD, and the model with the lowest AIC should lose the least information and be the best model in that it optimises the trade-off between fit and complexity ( Richards, 2008 ). A key strength of the IT approach is that it accounts for ‘model selection uncertainty’, the idea that several competing models may all fit the data similarly well ( Burnham & Anderson, 2002 ; Burnham, Anderson & Huyvaert, 2011 ). This is particularly useful when competing models share equal ‘complexity’ (i.e. number of predictors, or number of residual degrees of freedom): in such situations, NHST is impossible because NHST requires a simpler (nested) model for comparison. Where several models have similar support in the data, inference can be made from all models using model-averaging ( Burnham & Anderson, 2002 ; Johnson & Omland, 2004 ; Grueber et al., 2011 ). Model averaging incorporates uncertainty by weighting the parameter estimate of a model by that model’s Akaike weight (often referred to as the probability of that model being the best Kullback–Leibler model given the data, but see Richards, 2005 ). Multi-model inference places a strong emphasis on a priori formulation of hypotheses ( Burnham & Anderson, 2002 ; Dochtermann & Jenkins, 2011 ; Lindberg, Schmidt & Walker, 2015 ), and model-averaged parameter estimates arising from multi-model inference are thought to lead to more robust conclusions about the biological systems compared to NHST ( Johnson & Omland, 2004 , but see Richards, Whittingham & Stephens, 2011 ). These strengths over NHST have meant that the use of IT approaches in ecology and evolution has grown rapidly in recent years ( Lindberg, Schmidt & Walker, 2015 ; Barker & Link, 2015 ; Cade, 2015 ). We do not expand on the specific details of the difference between NHST and IT here, but point the reader to some excellent references on the topic. Instead, we use this section to highlight recent empirical developments in the best practice methods for the application of IT in ecology and evolution.”claim_relations[1]
noterandom slopes as universal maximal practice — The authors limit maximality to complexity supported by the data. — “Schielzeth & Forstmeier (2009) found that including random slopes controls Type I error rate (yields more accurate p values), but also gives more power to detect among individual variation. Barr et al. (2013) suggest that researchers should fit the maximal random effects structure possible for the data. That is, if there are four predictors under consideration, all four should be allowed to have random slopes. However, we believe this is unrealistic because random slope models require large numbers of data to estimate variances and covariances accurately ( Bates et al., 2015a ). Ecological datasets can often struggle to estimate a single random slope, diagnosed by a perfect correlation (1 or −1) between random intercepts and slopes ( Bates et al., 2015a ). Therefore, the approach of fitting the ‘maximal’ complexity of random effects structure ( Barr et al., 2013 ) is perhaps better phrased as fitting the most complex mixed effects structure allowed by your data ( Bates et al., 2015a ), which may mean either (i) fitting random slopes but removing the correlation between intercepts and slopes; or (ii) fitting no random slopes at all but accepting that this likely inflates the Type I error rate ( Schielzeth & Forstmeier, 2009 ). If fitting a random slope model including correlations between intercepts and slopes, always inspect the intercept-slope correlation coefficient in the variance/covariance summary returned by packages like lme4 to look for evidence of perfect correlations, indicative of insufficient data to estimate the model.”claim_relations[2]
weightrandom slopes as universal maximal practice — 0.9 — “Schielzeth & Forstmeier (2009) found that including random slopes controls Type I error rate (yields more accurate p values), but also gives more power to detect among individual variation. Barr et al. (2013) suggest that researchers should fit the maximal random effects structure possible for the data. That is, if there are four predictors under consideration, all four should be allowed to have random slopes. However, we believe this is unrealistic because random slope models require large numbers of data to estimate variances and covariances accurately ( Bates et al., 2015a ). Ecological datasets can often struggle to estimate a single random slope, diagnosed by a perfect correlation (1 or −1) between random intercepts and slopes ( Bates et al., 2015a ). Therefore, the approach of fitting the ‘maximal’ complexity of random effects structure ( Barr et al., 2013 ) is perhaps better phrased as fitting the most complex mixed effects structure allowed by your data ( Bates et al., 2015a ), which may mean either (i) fitting random slopes but removing the correlation between intercepts and slopes; or (ii) fitting no random slopes at all but accepting that this likely inflates the Type I error rate ( Schielzeth & Forstmeier, 2009 ). If fitting a random slope model including correlations between intercepts and slopes, always inspect the intercept-slope correlation coefficient in the variance/covariance summary returned by packages like lme4 to look for evidence of perfect correlations, indicative of insufficient data to estimate the model.”claim_relations[2]
notesimulation-based model checking — The worked example uses simulated distributions to diagnose overdispersion and zero inflation. — “Simulation is a powerful tool for assessing model fit ( Gelman & Hill, 2007 ; Kéry, 2010 ; Zuur & Ieno, 2016 ), but is rarely used. The premise here is simple: when simulating a response variable from a given set of parameter estimates (a model), the fit of the model to those simulated ‘ideal’ response data should be comparable to the model’s fit to the real response variable ( Kéry, 2010 ). Each iteration yields a simulated dataset that allows calculation of a statistic of interest such as the sum of squared residuals ( Kéry, 2010 ), the overdispersion statistic ( Harrison, 2014 ) or the percentage of zeroes for a Poisson model ( Zuur & Ieno, 2016 ). If the model is a good fit, after a sufficiently large number of iterations (e.g. 10,000) the distribution of this statistic should encompass the observed statistic in the real data. Significant deviations outside of that distribution indicate the model is a poor fit ( Kéry, 2010 ). Figure 3 shows an example of using simulation to assess the fit of a Poisson GLMM. After fitting a GLMM to count data, we may wish to check for overdispersion and/or zero-inflation, the presence of which might suggest we need to adjust our modelling strategy. Simulating 10,000 datasets from our model reveals that the proportion of zeroes in our real data is comparable to simulated expectation ( Fig. 3A ). Conversely, simulating 1,000 datasets and refitting our model to each dataset, we see that the sum of the squared Pearson residuals for the real data is far larger than simulated expectation ( Fig. 3B ), giving evidence of overdispersion ( Harrison, 2014 ). We can use the simulated frequency distribution of this test statistic to derive a mean and 95% confidence interval for the overdispersion by calculating the ratio of our test statistic to the simulated values ( Harrison, 2014 ). The dispersion statistic for our model is 3.16 (95% CI [2.77–3.59]). Thus, simulations have allowed us to conclude that our model is overdispersed, but that this overdispersion is not due to zero-inflation. All R code for reproducing these simulations is provided in the Figshare: DOI 10.6084/m9.figshare.5173396 .”claim_relations[3]
weightsimulation-based model checking — 0.95 — “Simulation is a powerful tool for assessing model fit ( Gelman & Hill, 2007 ; Kéry, 2010 ; Zuur & Ieno, 2016 ), but is rarely used. The premise here is simple: when simulating a response variable from a given set of parameter estimates (a model), the fit of the model to those simulated ‘ideal’ response data should be comparable to the model’s fit to the real response variable ( Kéry, 2010 ). Each iteration yields a simulated dataset that allows calculation of a statistic of interest such as the sum of squared residuals ( Kéry, 2010 ), the overdispersion statistic ( Harrison, 2014 ) or the percentage of zeroes for a Poisson model ( Zuur & Ieno, 2016 ). If the model is a good fit, after a sufficiently large number of iterations (e.g. 10,000) the distribution of this statistic should encompass the observed statistic in the real data. Significant deviations outside of that distribution indicate the model is a poor fit ( Kéry, 2010 ). Figure 3 shows an example of using simulation to assess the fit of a Poisson GLMM. After fitting a GLMM to count data, we may wish to check for overdispersion and/or zero-inflation, the presence of which might suggest we need to adjust our modelling strategy. Simulating 10,000 datasets from our model reveals that the proportion of zeroes in our real data is comparable to simulated expectation ( Fig. 3A ). Conversely, simulating 1,000 datasets and refitting our model to each dataset, we see that the sum of the squared Pearson residuals for the real data is far larger than simulated expectation ( Fig. 3B ), giving evidence of overdispersion ( Harrison, 2014 ). We can use the simulated frequency distribution of this test statistic to derive a mean and 95% confidence interval for the overdispersion by calculating the ratio of our test statistic to the simulated values ( Harrison, 2014 ). The dispersion statistic for our model is 3.16 (95% CI [2.77–3.59]). Thus, simulations have allowed us to conclude that our model is overdispersed, but that this overdispersion is not due to zero-inflation. All R code for reproducing these simulations is provided in the Figshare: DOI 10.6084/m9.figshare.5173396 .”claim_relations[3]
notesummed Akaike weights as variable importance — The paper says these weights do not directly measure individual predictor importance. — “With a top model set in hand, it is common practice to use the summed Akaike weights of every model in that set in which a predictor of interest occurs as a measure of ‘variable importance’ ( Grueber et al., 2011 ). Recent work has demonstrated that this approach is flawed because Akaike weights are interpreted as relative model probabilities, and give no information about the importance of individual predictors in a model ( Cade, 2015 ), and fail to distinguish between variables with weak or strong effects ( Galipaud et al., 2014 ; Galipaud, Gillingham & Dechaume-Moncharmont, 2017 ). The sum of Akaike weights as a measure of variable importance may at best be a measure of how likely a variable would be included in the top model set after repeated sampling of the data ( Burnham & Anderson, 2002 ; Cade, 2015 , but see Galipaud, Gillingham & Dechaume-Moncharmont, 2017 ). A better measure of variable importance would be to compare standardised effect sizes ( Schielzeth, 2010 ; Cade, 2015 ). However, summed Akaike weights for variables in top model sets still represent useful quantitative evidence ( Giam & Olden, 2016 ); they should be reported in model summary tables, and ideally interpreted in tandem with model averaged effect sizes for individual parameters.”claim_relations[4]
weightsummed Akaike weights as variable importance — 0.9 — “With a top model set in hand, it is common practice to use the summed Akaike weights of every model in that set in which a predictor of interest occurs as a measure of ‘variable importance’ ( Grueber et al., 2011 ). Recent work has demonstrated that this approach is flawed because Akaike weights are interpreted as relative model probabilities, and give no information about the importance of individual predictors in a model ( Cade, 2015 ), and fail to distinguish between variables with weak or strong effects ( Galipaud et al., 2014 ; Galipaud, Gillingham & Dechaume-Moncharmont, 2017 ). The sum of Akaike weights as a measure of variable importance may at best be a measure of how likely a variable would be included in the top model set after repeated sampling of the data ( Burnham & Anderson, 2002 ; Cade, 2015 , but see Galipaud, Gillingham & Dechaume-Moncharmont, 2017 ). A better measure of variable importance would be to compare standardised effect sizes ( Schielzeth, 2010 ; Cade, 2015 ). However, summed Akaike weights for variables in top model sets still represent useful quantitative evidence ( Giam & Olden, 2016 ); they should be reported in model summary tables, and ideally interpreted in tandem with model averaged effect sizes for individual parameters.”claim_relations[4]
notefixed effects —part-of→ linear mixed effects models — Categorical component inclusion. — “Linear mixed effects models and generalized linear mixed effects models (GLMMs), have increased in popularity in the last decade ( Zuur et al., 2009 ; Bolker et al., 2009 ). Both extend traditional linear models to include a combination of fixed and random effects as predictor variables. The introduction of random effects affords several non-exclusive benefits. First, biological datasets are often highly structured, containing clusters of non-independent observational units that are hierarchical in nature, and LMMs allow us to explicitly model the non-independence in such data. For example, we might measure several chicks from the same clutch, and several clutches from different females, or we might take repeated measurements of the same chick’s growth rate over time. In both cases, we might expect that measurements within a statistical unit (here, an individual, or a female’s clutch) might be more similar than measurements from different units. Explicit modelling of the random effects structure will aid correct inference about fixed effects, depending on which level of the system’s hierarchy is being manipulated. In our example, if the fixed effect varies or is manipulated at the level of the clutch, then treating multiple chicks from a single clutch as independent would represent pseudoreplication, which can be controlled carefully by using random effects. Similarly, if fixed effects vary at the level of the chick, then non-independence among clutches or mothers could also be accounted for. Random effects typically represent some grouping variable ( Breslow & Clayton, 1993 ) and allow the estimation of variance in the response variable within and among these groups. This reduces the probability of false positives (Type I error rates) and false negatives (Type II error rates, e.g. Crawley, 2013 ). In addition, inferring the magnitude of variation within and among statistical clusters or hierarchical levels can be highly informative in its own right. In our bird example, understanding whether there is more variation in a focal trait among females within a population, rather than among populations, might be a central goal of the study.”concept_edges[0]
relationfixed effects —part-of→ linear mixed effects models — Linear mixed effects models include fixed effects. — “Linear mixed effects models and generalized linear mixed effects models (GLMMs), have increased in popularity in the last decade ( Zuur et al., 2009 ; Bolker et al., 2009 ). Both extend traditional linear models to include a combination of fixed and random effects as predictor variables. The introduction of random effects affords several non-exclusive benefits. First, biological datasets are often highly structured, containing clusters of non-independent observational units that are hierarchical in nature, and LMMs allow us to explicitly model the non-independence in such data. For example, we might measure several chicks from the same clutch, and several clutches from different females, or we might take repeated measurements of the same chick’s growth rate over time. In both cases, we might expect that measurements within a statistical unit (here, an individual, or a female’s clutch) might be more similar than measurements from different units. Explicit modelling of the random effects structure will aid correct inference about fixed effects, depending on which level of the system’s hierarchy is being manipulated. In our example, if the fixed effect varies or is manipulated at the level of the clutch, then treating multiple chicks from a single clutch as independent would represent pseudoreplication, which can be controlled carefully by using random effects. Similarly, if fixed effects vary at the level of the chick, then non-independence among clutches or mothers could also be accounted for. Random effects typically represent some grouping variable ( Breslow & Clayton, 1993 ) and allow the estimation of variance in the response variable within and among these groups. This reduces the probability of false positives (Type I error rates) and false negatives (Type II error rates, e.g. Crawley, 2013 ). In addition, inferring the magnitude of variation within and among statistical clusters or hierarchical levels can be highly informative in its own right. In our bird example, understanding whether there is more variation in a focal trait among females within a population, rather than among populations, might be a central goal of the study.”concept_edges[0]
noterandom effects —part-of→ linear mixed effects models — Categorical component inclusion. — “Linear mixed effects models and generalized linear mixed effects models (GLMMs), have increased in popularity in the last decade ( Zuur et al., 2009 ; Bolker et al., 2009 ). Both extend traditional linear models to include a combination of fixed and random effects as predictor variables. The introduction of random effects affords several non-exclusive benefits. First, biological datasets are often highly structured, containing clusters of non-independent observational units that are hierarchical in nature, and LMMs allow us to explicitly model the non-independence in such data. For example, we might measure several chicks from the same clutch, and several clutches from different females, or we might take repeated measurements of the same chick’s growth rate over time. In both cases, we might expect that measurements within a statistical unit (here, an individual, or a female’s clutch) might be more similar than measurements from different units. Explicit modelling of the random effects structure will aid correct inference about fixed effects, depending on which level of the system’s hierarchy is being manipulated. In our example, if the fixed effect varies or is manipulated at the level of the clutch, then treating multiple chicks from a single clutch as independent would represent pseudoreplication, which can be controlled carefully by using random effects. Similarly, if fixed effects vary at the level of the chick, then non-independence among clutches or mothers could also be accounted for. Random effects typically represent some grouping variable ( Breslow & Clayton, 1993 ) and allow the estimation of variance in the response variable within and among these groups. This reduces the probability of false positives (Type I error rates) and false negatives (Type II error rates, e.g. Crawley, 2013 ). In addition, inferring the magnitude of variation within and among statistical clusters or hierarchical levels can be highly informative in its own right. In our bird example, understanding whether there is more variation in a focal trait among females within a population, rather than among populations, might be a central goal of the study.”concept_edges[1]
relationrandom effects —part-of→ linear mixed effects models — Linear mixed effects models include random effects. — “Linear mixed effects models and generalized linear mixed effects models (GLMMs), have increased in popularity in the last decade ( Zuur et al., 2009 ; Bolker et al., 2009 ). Both extend traditional linear models to include a combination of fixed and random effects as predictor variables. The introduction of random effects affords several non-exclusive benefits. First, biological datasets are often highly structured, containing clusters of non-independent observational units that are hierarchical in nature, and LMMs allow us to explicitly model the non-independence in such data. For example, we might measure several chicks from the same clutch, and several clutches from different females, or we might take repeated measurements of the same chick’s growth rate over time. In both cases, we might expect that measurements within a statistical unit (here, an individual, or a female’s clutch) might be more similar than measurements from different units. Explicit modelling of the random effects structure will aid correct inference about fixed effects, depending on which level of the system’s hierarchy is being manipulated. In our example, if the fixed effect varies or is manipulated at the level of the clutch, then treating multiple chicks from a single clutch as independent would represent pseudoreplication, which can be controlled carefully by using random effects. Similarly, if fixed effects vary at the level of the chick, then non-independence among clutches or mothers could also be accounted for. Random effects typically represent some grouping variable ( Breslow & Clayton, 1993 ) and allow the estimation of variance in the response variable within and among these groups. This reduces the probability of false positives (Type I error rates) and false negatives (Type II error rates, e.g. Crawley, 2013 ). In addition, inferring the magnitude of variation within and among statistical clusters or hierarchical levels can be highly informative in its own right. In our bird example, understanding whether there is more variation in a focal trait among females within a population, rather than among populations, might be a central goal of the study.”concept_edges[1]
notedata-transformation —distinct-from→ link function — Explicit non-equivalence. — “For non-Gaussian data, our modelling choices become more complex. Non-Gaussian data structures include, for example, Poisson-distributed counts (number of eggs laid, number of parasites); binomial-distributed constrained counts (number of eggs that hatched in a clutch; prevalence of parasitic infection in a group of hosts) or Bernoulli-distributed binary traits (e.g. infected with a parasite or not). Gaussian models of these data would violate the assumptions of normality of errors and homogenous variance. To model these data, we have two initial choices: (i) we can apply a transformation to our non-Gaussian response to ‘make it’ approximately Gaussian, and then use a Gaussian model; or (ii) we can apply a GL(M)M and specify the appropriate error distribution and link function. The link function takes into account the (assumed) empirical distribution of our data by transformation of the linear predictor within the model. It is critical to note that transformation of the raw response variable is not equivalent to using a link function to apply a transformation in the model. Data-transformation applies the transformation to the raw response, whilst using a link function transforms the fitted mean (the linear predictor). That is, the mean of a log-transformed response (using a data transformation) is not identical to the logarithm of a fitted mean (using a link function) .”concept_edges[2]
relationdata-transformation —distinct-from→ link function — Raw-response data transformation is not equivalent to a link-function transformation. — “For non-Gaussian data, our modelling choices become more complex. Non-Gaussian data structures include, for example, Poisson-distributed counts (number of eggs laid, number of parasites); binomial-distributed constrained counts (number of eggs that hatched in a clutch; prevalence of parasitic infection in a group of hosts) or Bernoulli-distributed binary traits (e.g. infected with a parasite or not). Gaussian models of these data would violate the assumptions of normality of errors and homogenous variance. To model these data, we have two initial choices: (i) we can apply a transformation to our non-Gaussian response to ‘make it’ approximately Gaussian, and then use a Gaussian model; or (ii) we can apply a GL(M)M and specify the appropriate error distribution and link function. The link function takes into account the (assumed) empirical distribution of our data by transformation of the linear predictor within the model. It is critical to note that transformation of the raw response variable is not equivalent to using a link function to apply a transformation in the model. Data-transformation applies the transformation to the raw response, whilst using a link function transforms the fitted mean (the linear predictor). That is, the mean of a log-transformed response (using a data transformation) is not identical to the logarithm of a fitted mean (using a link function) .”concept_edges[2]
notemodel fit —distinct-from→ model adequacy — Explicit separation despite both being required. — “Once a global model is specified, it is vital to quantify model fit and report these metrics in the manuscript. The global model is considered the best candidate for assessing fit statistics such as overdispersion ( Burnham & Anderson, 2002 ). Information criteria scores should not be used as a proxy for model fit, because a large difference in AIC between the top and null models is not evidence of a good fit. AIC tells us nothing about whether the basic distributional and structural assumptions of the model have been violated. Similarly, a high R 2 value is in itself only a test of the magnitude of model fit and not an adequate surrogate for proper model checks. Just because a model has a high R 2 value does not mean it will pass checks for assumptions such as homogeneity of variance. We strongly encourage researchers to view model fit and model adequacy as two separate but equally important traits that must be assessed and reported. Model fit can be poor for several reasons, including the presence of overdispersion, failing to include interactions among predictors, failing to account for non-linear effects of the predictors on the response, or specifying a sub-optimal error structure and/or link function. Here we discuss some key metrics of fit and adequacy that should be considered.”concept_edges[3]
relationmodel fit —distinct-from→ model adequacy — Model fit and model adequacy are separate traits. — “Once a global model is specified, it is vital to quantify model fit and report these metrics in the manuscript. The global model is considered the best candidate for assessing fit statistics such as overdispersion ( Burnham & Anderson, 2002 ). Information criteria scores should not be used as a proxy for model fit, because a large difference in AIC between the top and null models is not evidence of a good fit. AIC tells us nothing about whether the basic distributional and structural assumptions of the model have been violated. Similarly, a high R 2 value is in itself only a test of the magnitude of model fit and not an adequate surrogate for proper model checks. Just because a model has a high R 2 value does not mean it will pass checks for assumptions such as homogeneity of variance. We strongly encourage researchers to view model fit and model adequacy as two separate but equally important traits that must be assessed and reported. Model fit can be poor for several reasons, including the presence of overdispersion, failing to include interactions among predictors, failing to account for non-linear effects of the predictors on the response, or specifying a sub-optimal error structure and/or link function. Here we discuss some key metrics of fit and adequacy that should be considered.”concept_edges[3]
noteR 2 —operationalised-as→ proportion of explained variance — Exact measurement definition. — “In a linear modelling context, R 2 gives a measure of the proportion of explained variance in the model, and is an intuitive metric for assessing model fit. Unfortunately, the issue of calculating R 2 for (G)LMMs is particularly contentious; whereas residual variance can easily be estimated for a simple linear model with no random effects and a Normal error structure, this is not the case for (G)LMMS. In fact, two issues exist with generalising R 2 measures to (G)LMMs: (i) for generalised models containing non-Normal error structures, it is not clear how to calculate the residual variance term on which the R 2 term is dependent; and (ii) for mixed effects models, which are hierarchical in nature and contain error (unexplained variance) at each of these levels, it is uncertain which level to use to calculate a residual error term ( Nakagawa & Schielzeth, 2013 ). Diverse methods have been proposed to account for this in GLMMs, including multiple so-called ‘pseudo- r 2 ’ measures of explained variance ( Nagelkerke, 1991 ; Cox & Snell, 1989 ), but their performance is often unstable for mixed models and can return negative values ( Nakagawa & Schielzeth, 2013 ). Gelman & Pardoe (2006) derived a measure of R 2 that accounts for the hierarchical nature of LMMs and gives a measure for both group and unit level regressions (see also Gelman & Hill, 2007 , p. 474), but it was developed for a Bayesian framework and a frequentist analogue does not appear to be widely implemented. The method that has gained the most support over recent years is that of Nakagawa & Schielzeth (2013) .”concept_edges[4]
relationR 2 —operationalised-as→ proportion of explained variance — R 2 is measured as the proportion of explained variance. — “In a linear modelling context, R 2 gives a measure of the proportion of explained variance in the model, and is an intuitive metric for assessing model fit. Unfortunately, the issue of calculating R 2 for (G)LMMs is particularly contentious; whereas residual variance can easily be estimated for a simple linear model with no random effects and a Normal error structure, this is not the case for (G)LMMS. In fact, two issues exist with generalising R 2 measures to (G)LMMs: (i) for generalised models containing non-Normal error structures, it is not clear how to calculate the residual variance term on which the R 2 term is dependent; and (ii) for mixed effects models, which are hierarchical in nature and contain error (unexplained variance) at each of these levels, it is uncertain which level to use to calculate a residual error term ( Nakagawa & Schielzeth, 2013 ). Diverse methods have been proposed to account for this in GLMMs, including multiple so-called ‘pseudo- r 2 ’ measures of explained variance ( Nagelkerke, 1991 ; Cox & Snell, 1989 ), but their performance is often unstable for mixed models and can return negative values ( Nakagawa & Schielzeth, 2013 ). Gelman & Pardoe (2006) derived a measure of R 2 that accounts for the hierarchical nature of LMMs and gives a measure for both group and unit level regressions (see also Gelman & Hill, 2007 , p. 474), but it was developed for a Bayesian framework and a frequentist analogue does not appear to be widely implemented. The method that has gained the most support over recent years is that of Nakagawa & Schielzeth (2013) .”concept_edges[4]
noteQAIC —is-a→ adjustment to AIC — Direct categorical definition. — “Several information criteria are available to rank competing models, but their calculations differ subtly. Commonly applied criteria include AIC, the small sample size correction of AIC for when n/k <40 (AICc), and the Bayesian Information Criterion (BIC). Quasi-AIC (QAIC) is an adjustment to AIC that accounts for overdispersion, and should be used when overdispersion has been identified in a model (see Overdispersion section above). Note QAIC is not required if the overdispersion in the dataset has been modelled using zero-inflated models, OLREs, or compound probability distributions. Bolker et al. (2009) and Grueber et al. (2011) provide details of how to calculate these criteria.”concept_edges[5]
relationQAIC —is-a→ adjustment to AIC — QAIC is an adjustment to AIC that accounts for overdispersion. — “Several information criteria are available to rank competing models, but their calculations differ subtly. Commonly applied criteria include AIC, the small sample size correction of AIC for when n/k <40 (AICc), and the Bayesian Information Criterion (BIC). Quasi-AIC (QAIC) is an adjustment to AIC that accounts for overdispersion, and should be used when overdispersion has been identified in a model (see Overdispersion section above). Note QAIC is not required if the overdispersion in the dataset has been modelled using zero-inflated models, OLREs, or compound probability distributions. Bolker et al. (2009) and Grueber et al. (2011) provide details of how to calculate these criteria.”concept_edges[5]
notecollinearity —causes→ model convergence issues — The modal 'can' makes the causal claim hedged. — “With the desired set of predictors identified, it is wise to check for collinearity among predictor variables. Collinearity among predictors can cause several problems in model interpretation because those predictors explain some of the same variance in the response variable, and their effects cannot be estimated independently ( Quinn & Keough, 2002 ; Graham, 2003 ): First, it can cause model convergence issues as models struggle to partition variance between predictor variables. Second, positively correlated variables can have negatively correlated regression coefficients, as the marginal effect of one is estimated, given the effect of the other, leading to incorrect interpretations of the direction of effects ( Fig. 2 ). Third, collinearity can inflate standard errors of coefficient estimates and make ‘true’ effects harder to detect ( Zuur, Ieno & Elphick, 2010 ). Finally, collinearity can affect the accuracy of model averaged parameter estimates during multi-model inference ( Freckleton, 2011 ; Cade, 2015 ). Examples of collinear variables include climatic data such as temperature and rainfall, and morphometric data such as body length and mass. Collinearity can be detected in several ways, including creating correlation matrices between raw explanatory variables, with values >0.7 suggesting both should not be used in the same model ( Dormann et al., 2013 ); or calculating the variance inflation factor (VIF) of each predictor that is a candidate for inclusion in a model (details in Zuur, Ieno & Elphick, 2010 ) and dropping variables with a VIF higher than a certain value (e.g. 3, Zuur, Ieno & Elphick, 2010 ; or 10, Quinn & Keough, 2002 ). One problem with these methods though is that they rely on a user-selected choice of threshold of either the correlation coefficient or the VIF, and use of more stringent (lower) is probably sensible. Some argue that one should always prefer inspection of VIF values over correlation coefficients of raw predictors because strong multicollinearity can be hard to detect with the latter. When collinearity is detected, researchers can either select one variable as representative of multiple collinear variables ( Austin, 2002 ), ideally using biological knowledge/reasoning to select the most meaningful variable ( Zuur, Ieno & Elphick, 2010 ); or conduct a dimension-reduction analysis (e.g. Principal Components Analysis; James & McCullugh, 1990 ), leaving a single variable that accounts for most of the shared variance among the correlated variables. Both approaches will only be applicable if it is possible to group explanatory variables by common features, thereby effectively creating broader, but still meaningful explanatory categories. For instance, by using mass and body length metrics to create a ‘scaled mass index’ representative of body size ( Peig & Green, 2009 ).”concept_edges[6]
relationcollinearity —causes→ model convergence issues — Collinearity can cause model convergence issues. — “With the desired set of predictors identified, it is wise to check for collinearity among predictor variables. Collinearity among predictors can cause several problems in model interpretation because those predictors explain some of the same variance in the response variable, and their effects cannot be estimated independently ( Quinn & Keough, 2002 ; Graham, 2003 ): First, it can cause model convergence issues as models struggle to partition variance between predictor variables. Second, positively correlated variables can have negatively correlated regression coefficients, as the marginal effect of one is estimated, given the effect of the other, leading to incorrect interpretations of the direction of effects ( Fig. 2 ). Third, collinearity can inflate standard errors of coefficient estimates and make ‘true’ effects harder to detect ( Zuur, Ieno & Elphick, 2010 ). Finally, collinearity can affect the accuracy of model averaged parameter estimates during multi-model inference ( Freckleton, 2011 ; Cade, 2015 ). Examples of collinear variables include climatic data such as temperature and rainfall, and morphometric data such as body length and mass. Collinearity can be detected in several ways, including creating correlation matrices between raw explanatory variables, with values >0.7 suggesting both should not be used in the same model ( Dormann et al., 2013 ); or calculating the variance inflation factor (VIF) of each predictor that is a candidate for inclusion in a model (details in Zuur, Ieno & Elphick, 2010 ) and dropping variables with a VIF higher than a certain value (e.g. 3, Zuur, Ieno & Elphick, 2010 ; or 10, Quinn & Keough, 2002 ). One problem with these methods though is that they rely on a user-selected choice of threshold of either the correlation coefficient or the VIF, and use of more stringent (lower) is probably sensible. Some argue that one should always prefer inspection of VIF values over correlation coefficients of raw predictors because strong multicollinearity can be hard to detect with the latter. When collinearity is detected, researchers can either select one variable as representative of multiple collinear variables ( Austin, 2002 ), ideally using biological knowledge/reasoning to select the most meaningful variable ( Zuur, Ieno & Elphick, 2010 ); or conduct a dimension-reduction analysis (e.g. Principal Components Analysis; James & McCullugh, 1990 ), leaving a single variable that accounts for most of the shared variance among the correlated variables. Both approaches will only be applicable if it is possible to group explanatory variables by common features, thereby effectively creating broader, but still meaningful explanatory categories. For instance, by using mass and body length metrics to create a ‘scaled mass index’ representative of body size ( Peig & Green, 2009 ).”concept_edges[6]
weightcollinearity —causes→ model convergence issues — 0.7 — “With the desired set of predictors identified, it is wise to check for collinearity among predictor variables. Collinearity among predictors can cause several problems in model interpretation because those predictors explain some of the same variance in the response variable, and their effects cannot be estimated independently ( Quinn & Keough, 2002 ; Graham, 2003 ): First, it can cause model convergence issues as models struggle to partition variance between predictor variables. Second, positively correlated variables can have negatively correlated regression coefficients, as the marginal effect of one is estimated, given the effect of the other, leading to incorrect interpretations of the direction of effects ( Fig. 2 ). Third, collinearity can inflate standard errors of coefficient estimates and make ‘true’ effects harder to detect ( Zuur, Ieno & Elphick, 2010 ). Finally, collinearity can affect the accuracy of model averaged parameter estimates during multi-model inference ( Freckleton, 2011 ; Cade, 2015 ). Examples of collinear variables include climatic data such as temperature and rainfall, and morphometric data such as body length and mass. Collinearity can be detected in several ways, including creating correlation matrices between raw explanatory variables, with values >0.7 suggesting both should not be used in the same model ( Dormann et al., 2013 ); or calculating the variance inflation factor (VIF) of each predictor that is a candidate for inclusion in a model (details in Zuur, Ieno & Elphick, 2010 ) and dropping variables with a VIF higher than a certain value (e.g. 3, Zuur, Ieno & Elphick, 2010 ; or 10, Quinn & Keough, 2002 ). One problem with these methods though is that they rely on a user-selected choice of threshold of either the correlation coefficient or the VIF, and use of more stringent (lower) is probably sensible. Some argue that one should always prefer inspection of VIF values over correlation coefficients of raw predictors because strong multicollinearity can be hard to detect with the latter. When collinearity is detected, researchers can either select one variable as representative of multiple collinear variables ( Austin, 2002 ), ideally using biological knowledge/reasoning to select the most meaningful variable ( Zuur, Ieno & Elphick, 2010 ); or conduct a dimension-reduction analysis (e.g. Principal Components Analysis; James & McCullugh, 1990 ), leaving a single variable that accounts for most of the shared variance among the correlated variables. Both approaches will only be applicable if it is possible to group explanatory variables by common features, thereby effectively creating broader, but still meaningful explanatory categories. For instance, by using mass and body length metrics to create a ‘scaled mass index’ representative of body size ( Peig & Green, 2009 ).”concept_edges[6]
auditcollinearity —causes→ standard errors — Audit 2026-09-29: DOUBTFUL - read against its full span and kept, but collinearity 'can INFLATE standard errors'; the edge lacks its direction (increases). — “With the desired set of predictors identified, it is wise to check for collinearity among predictor variables. Collinearity among predictors can cause several problems in model interpretation because those predictors explain some of the same variance in the response variable, and their effects cannot be estimated independently ( Quinn & Keough, 2002 ; Graham, 2003 ): First, it can cause model convergence issues as models struggle to partition variance between predictor variables. Second, positively correlated variables can have negatively correlated regression coefficients, as the marginal effect of one is estimated, given the effect of the other, leading to incorrect interpretations of the direction of effects ( Fig. 2 ). Third, collinearity can inflate standard errors of coefficient estimates and make ‘true’ effects harder to detect ( Zuur, Ieno & Elphick, 2010 ). Finally, collinearity can affect the accuracy of model averaged parameter estimates during multi-model inference ( Freckleton, 2011 ; Cade, 2015 ). Examples of collinear variables include climatic data such as temperature and rainfall, and morphometric data such as body length and mass. Collinearity can be detected in several ways, including creating correlation matrices between raw explanatory variables, with values >0.7 suggesting both should not be used in the same model ( Dormann et al., 2013 ); or calculating the variance inflation factor (VIF) of each predictor that is a candidate for inclusion in a model (details in Zuur, Ieno & Elphick, 2010 ) and dropping variables with a VIF higher than a certain value (e.g. 3, Zuur, Ieno & Elphick, 2010 ; or 10, Quinn & Keough, 2002 ). One problem with these methods though is that they rely on a user-selected choice of threshold of either the correlation coefficient or the VIF, and use of more stringent (lower) is probably sensible. Some argue that one should always prefer inspection of VIF values over correlation coefficients of raw predictors because strong multicollinearity can be hard to detect with the latter. When collinearity is detected, researchers can either select one variable as representative of multiple collinear variables ( Austin, 2002 ), ideally using biological knowledge/reasoning to select the most meaningful variable ( Zuur, Ieno & Elphick, 2010 ); or conduct a dimension-reduction analysis (e.g. Principal Components Analysis; James & McCullugh, 1990 ), leaving a single variable that accounts for most of the shared variance among the correlated variables. Both approaches will only be applicable if it is possible to group explanatory variables by common features, thereby effectively creating broader, but still meaningful explanatory categories. For instance, by using mass and body length metrics to create a ‘scaled mass index’ representative of body size ( Peig & Green, 2009 ).”concept_edges[7]
notecollinearity —causes→ standard errors — The modal 'can' makes the positive relation to inflated uncertainty hedged. — “With the desired set of predictors identified, it is wise to check for collinearity among predictor variables. Collinearity among predictors can cause several problems in model interpretation because those predictors explain some of the same variance in the response variable, and their effects cannot be estimated independently ( Quinn & Keough, 2002 ; Graham, 2003 ): First, it can cause model convergence issues as models struggle to partition variance between predictor variables. Second, positively correlated variables can have negatively correlated regression coefficients, as the marginal effect of one is estimated, given the effect of the other, leading to incorrect interpretations of the direction of effects ( Fig. 2 ). Third, collinearity can inflate standard errors of coefficient estimates and make ‘true’ effects harder to detect ( Zuur, Ieno & Elphick, 2010 ). Finally, collinearity can affect the accuracy of model averaged parameter estimates during multi-model inference ( Freckleton, 2011 ; Cade, 2015 ). Examples of collinear variables include climatic data such as temperature and rainfall, and morphometric data such as body length and mass. Collinearity can be detected in several ways, including creating correlation matrices between raw explanatory variables, with values >0.7 suggesting both should not be used in the same model ( Dormann et al., 2013 ); or calculating the variance inflation factor (VIF) of each predictor that is a candidate for inclusion in a model (details in Zuur, Ieno & Elphick, 2010 ) and dropping variables with a VIF higher than a certain value (e.g. 3, Zuur, Ieno & Elphick, 2010 ; or 10, Quinn & Keough, 2002 ). One problem with these methods though is that they rely on a user-selected choice of threshold of either the correlation coefficient or the VIF, and use of more stringent (lower) is probably sensible. Some argue that one should always prefer inspection of VIF values over correlation coefficients of raw predictors because strong multicollinearity can be hard to detect with the latter. When collinearity is detected, researchers can either select one variable as representative of multiple collinear variables ( Austin, 2002 ), ideally using biological knowledge/reasoning to select the most meaningful variable ( Zuur, Ieno & Elphick, 2010 ); or conduct a dimension-reduction analysis (e.g. Principal Components Analysis; James & McCullugh, 1990 ), leaving a single variable that accounts for most of the shared variance among the correlated variables. Both approaches will only be applicable if it is possible to group explanatory variables by common features, thereby effectively creating broader, but still meaningful explanatory categories. For instance, by using mass and body length metrics to create a ‘scaled mass index’ representative of body size ( Peig & Green, 2009 ).”concept_edges[7]
relationcollinearity —causes→ standard errors — Collinearity can inflate standard errors. — “With the desired set of predictors identified, it is wise to check for collinearity among predictor variables. Collinearity among predictors can cause several problems in model interpretation because those predictors explain some of the same variance in the response variable, and their effects cannot be estimated independently ( Quinn & Keough, 2002 ; Graham, 2003 ): First, it can cause model convergence issues as models struggle to partition variance between predictor variables. Second, positively correlated variables can have negatively correlated regression coefficients, as the marginal effect of one is estimated, given the effect of the other, leading to incorrect interpretations of the direction of effects ( Fig. 2 ). Third, collinearity can inflate standard errors of coefficient estimates and make ‘true’ effects harder to detect ( Zuur, Ieno & Elphick, 2010 ). Finally, collinearity can affect the accuracy of model averaged parameter estimates during multi-model inference ( Freckleton, 2011 ; Cade, 2015 ). Examples of collinear variables include climatic data such as temperature and rainfall, and morphometric data such as body length and mass. Collinearity can be detected in several ways, including creating correlation matrices between raw explanatory variables, with values >0.7 suggesting both should not be used in the same model ( Dormann et al., 2013 ); or calculating the variance inflation factor (VIF) of each predictor that is a candidate for inclusion in a model (details in Zuur, Ieno & Elphick, 2010 ) and dropping variables with a VIF higher than a certain value (e.g. 3, Zuur, Ieno & Elphick, 2010 ; or 10, Quinn & Keough, 2002 ). One problem with these methods though is that they rely on a user-selected choice of threshold of either the correlation coefficient or the VIF, and use of more stringent (lower) is probably sensible. Some argue that one should always prefer inspection of VIF values over correlation coefficients of raw predictors because strong multicollinearity can be hard to detect with the latter. When collinearity is detected, researchers can either select one variable as representative of multiple collinear variables ( Austin, 2002 ), ideally using biological knowledge/reasoning to select the most meaningful variable ( Zuur, Ieno & Elphick, 2010 ); or conduct a dimension-reduction analysis (e.g. Principal Components Analysis; James & McCullugh, 1990 ), leaving a single variable that accounts for most of the shared variance among the correlated variables. Both approaches will only be applicable if it is possible to group explanatory variables by common features, thereby effectively creating broader, but still meaningful explanatory categories. For instance, by using mass and body length metrics to create a ‘scaled mass index’ representative of body size ( Peig & Green, 2009 ).”concept_edges[7]
weightcollinearity —causes→ standard errors — 0.7 — “With the desired set of predictors identified, it is wise to check for collinearity among predictor variables. Collinearity among predictors can cause several problems in model interpretation because those predictors explain some of the same variance in the response variable, and their effects cannot be estimated independently ( Quinn & Keough, 2002 ; Graham, 2003 ): First, it can cause model convergence issues as models struggle to partition variance between predictor variables. Second, positively correlated variables can have negatively correlated regression coefficients, as the marginal effect of one is estimated, given the effect of the other, leading to incorrect interpretations of the direction of effects ( Fig. 2 ). Third, collinearity can inflate standard errors of coefficient estimates and make ‘true’ effects harder to detect ( Zuur, Ieno & Elphick, 2010 ). Finally, collinearity can affect the accuracy of model averaged parameter estimates during multi-model inference ( Freckleton, 2011 ; Cade, 2015 ). Examples of collinear variables include climatic data such as temperature and rainfall, and morphometric data such as body length and mass. Collinearity can be detected in several ways, including creating correlation matrices between raw explanatory variables, with values >0.7 suggesting both should not be used in the same model ( Dormann et al., 2013 ); or calculating the variance inflation factor (VIF) of each predictor that is a candidate for inclusion in a model (details in Zuur, Ieno & Elphick, 2010 ) and dropping variables with a VIF higher than a certain value (e.g. 3, Zuur, Ieno & Elphick, 2010 ; or 10, Quinn & Keough, 2002 ). One problem with these methods though is that they rely on a user-selected choice of threshold of either the correlation coefficient or the VIF, and use of more stringent (lower) is probably sensible. Some argue that one should always prefer inspection of VIF values over correlation coefficients of raw predictors because strong multicollinearity can be hard to detect with the latter. When collinearity is detected, researchers can either select one variable as representative of multiple collinear variables ( Austin, 2002 ), ideally using biological knowledge/reasoning to select the most meaningful variable ( Zuur, Ieno & Elphick, 2010 ); or conduct a dimension-reduction analysis (e.g. Principal Components Analysis; James & McCullugh, 1990 ), leaving a single variable that accounts for most of the shared variance among the correlated variables. Both approaches will only be applicable if it is possible to group explanatory variables by common features, thereby effectively creating broader, but still meaningful explanatory categories. For instance, by using mass and body length metrics to create a ‘scaled mass index’ representative of body size ( Peig & Green, 2009 ).”concept_edges[7]
auditoverdispersion —causes→ Type I error rates — Audit 2026-09-28: DOUBTFUL - read against its full span and kept, but the span writes 'tends to result in Type I errors', not 'Type I error rates'. — “Models with a Gaussian (Normal) error structure do not require adjustment for overdispersion, as Gaussian models do not assume a specific mean-variance relationship. For generalized mixed models (GLMMs), however (e.g. Poisson, Binomial), the variance of the data can be greater than predicted by the error structure of the model ( Hilbe, 2011 ). Overdispersion can be caused by several processes influencing data, including zero-inflation, aggregation (non-independence) among counts, or both ( Zuur et al., 2009 ). The presence of overdispersion in a model suggests it is a bad fit, and standard errors of estimates will likely be biased unless overdispersion is accounted for ( Harrison, 2014 ). The use of canonical binomial and Poisson error structures, when residuals are overdispersed, tends to result in Type I errors because standard errors are underestimated. Adding an observation-level random effect (OLRE) to overdispersed Poisson or Binomial models can model the overdispersion and give more accurate estimates of standard errors ( Harrison, 2014 , 2015 ). However, OLRE models may yield inferior fit and/or biased parameter estimates compared to models using compound probability distributions such as the Negative-Binomial for count data ( Hilbe, 2011 ; Harrison, 2014 ) or Beta-Binomial for proportion data ( Harrison, 2015 ), and so it is good practice to assess the relative fit of both types of model using AIC before proceeding ( Zuur et al., 2009 ). Researchers very rarely report the overdispersion statistic (but see Elston et al., 2001 ), and it should be made a matter of routine. See “Assessing Model Fit Through Simulation” Section for advice on how to quantify and model overdispersion. Note that models can also be underdispersed ( less variance than expected/predicted by the model, but the tools for dealing with underdispersion are less well developed ( Zuur et al., 2009 ). The spaMM package ( Rousset & Ferdy, 2014 ) can fit models that can handle both overdispersion and underdispersion.”concept_edges[8]
noteoverdispersion —causes→ Type I error rates — The phrase 'tends to result' is explicitly hedged. — “Models with a Gaussian (Normal) error structure do not require adjustment for overdispersion, as Gaussian models do not assume a specific mean-variance relationship. For generalized mixed models (GLMMs), however (e.g. Poisson, Binomial), the variance of the data can be greater than predicted by the error structure of the model ( Hilbe, 2011 ). Overdispersion can be caused by several processes influencing data, including zero-inflation, aggregation (non-independence) among counts, or both ( Zuur et al., 2009 ). The presence of overdispersion in a model suggests it is a bad fit, and standard errors of estimates will likely be biased unless overdispersion is accounted for ( Harrison, 2014 ). The use of canonical binomial and Poisson error structures, when residuals are overdispersed, tends to result in Type I errors because standard errors are underestimated. Adding an observation-level random effect (OLRE) to overdispersed Poisson or Binomial models can model the overdispersion and give more accurate estimates of standard errors ( Harrison, 2014 , 2015 ). However, OLRE models may yield inferior fit and/or biased parameter estimates compared to models using compound probability distributions such as the Negative-Binomial for count data ( Hilbe, 2011 ; Harrison, 2014 ) or Beta-Binomial for proportion data ( Harrison, 2015 ), and so it is good practice to assess the relative fit of both types of model using AIC before proceeding ( Zuur et al., 2009 ). Researchers very rarely report the overdispersion statistic (but see Elston et al., 2001 ), and it should be made a matter of routine. See “Assessing Model Fit Through Simulation” Section for advice on how to quantify and model overdispersion. Note that models can also be underdispersed ( less variance than expected/predicted by the model, but the tools for dealing with underdispersion are less well developed ( Zuur et al., 2009 ). The spaMM package ( Rousset & Ferdy, 2014 ) can fit models that can handle both overdispersion and underdispersion.”concept_edges[8]
relationoverdispersion —causes→ Type I error rates — Overdispersed canonical models tend to result in Type I errors. — “Models with a Gaussian (Normal) error structure do not require adjustment for overdispersion, as Gaussian models do not assume a specific mean-variance relationship. For generalized mixed models (GLMMs), however (e.g. Poisson, Binomial), the variance of the data can be greater than predicted by the error structure of the model ( Hilbe, 2011 ). Overdispersion can be caused by several processes influencing data, including zero-inflation, aggregation (non-independence) among counts, or both ( Zuur et al., 2009 ). The presence of overdispersion in a model suggests it is a bad fit, and standard errors of estimates will likely be biased unless overdispersion is accounted for ( Harrison, 2014 ). The use of canonical binomial and Poisson error structures, when residuals are overdispersed, tends to result in Type I errors because standard errors are underestimated. Adding an observation-level random effect (OLRE) to overdispersed Poisson or Binomial models can model the overdispersion and give more accurate estimates of standard errors ( Harrison, 2014 , 2015 ). However, OLRE models may yield inferior fit and/or biased parameter estimates compared to models using compound probability distributions such as the Negative-Binomial for count data ( Hilbe, 2011 ; Harrison, 2014 ) or Beta-Binomial for proportion data ( Harrison, 2015 ), and so it is good practice to assess the relative fit of both types of model using AIC before proceeding ( Zuur et al., 2009 ). Researchers very rarely report the overdispersion statistic (but see Elston et al., 2001 ), and it should be made a matter of routine. See “Assessing Model Fit Through Simulation” Section for advice on how to quantify and model overdispersion. Note that models can also be underdispersed ( less variance than expected/predicted by the model, but the tools for dealing with underdispersion are less well developed ( Zuur et al., 2009 ). The spaMM package ( Rousset & Ferdy, 2014 ) can fit models that can handle both overdispersion and underdispersion.”concept_edges[8]
weightoverdispersion —causes→ Type I error rates — 0.7 — “Models with a Gaussian (Normal) error structure do not require adjustment for overdispersion, as Gaussian models do not assume a specific mean-variance relationship. For generalized mixed models (GLMMs), however (e.g. Poisson, Binomial), the variance of the data can be greater than predicted by the error structure of the model ( Hilbe, 2011 ). Overdispersion can be caused by several processes influencing data, including zero-inflation, aggregation (non-independence) among counts, or both ( Zuur et al., 2009 ). The presence of overdispersion in a model suggests it is a bad fit, and standard errors of estimates will likely be biased unless overdispersion is accounted for ( Harrison, 2014 ). The use of canonical binomial and Poisson error structures, when residuals are overdispersed, tends to result in Type I errors because standard errors are underestimated. Adding an observation-level random effect (OLRE) to overdispersed Poisson or Binomial models can model the overdispersion and give more accurate estimates of standard errors ( Harrison, 2014 , 2015 ). However, OLRE models may yield inferior fit and/or biased parameter estimates compared to models using compound probability distributions such as the Negative-Binomial for count data ( Hilbe, 2011 ; Harrison, 2014 ) or Beta-Binomial for proportion data ( Harrison, 2015 ), and so it is good practice to assess the relative fit of both types of model using AIC before proceeding ( Zuur et al., 2009 ). Researchers very rarely report the overdispersion statistic (but see Elston et al., 2001 ), and it should be made a matter of routine. See “Assessing Model Fit Through Simulation” Section for advice on how to quantify and model overdispersion. Note that models can also be underdispersed ( less variance than expected/predicted by the model, but the tools for dealing with underdispersion are less well developed ( Zuur et al., 2009 ). The spaMM package ( Rousset & Ferdy, 2014 ) can fit models that can handle both overdispersion and underdispersion.”concept_edges[8]
auditdeleting —causes→ biased parameter estimates — Audit 2026-09-28: DOUBTFUL - read against its full span and kept, but deleting rows 'may result in' biased estimates; hedged. — “When collecting ecological data it is often not possible to measure all of the predictors of interest for every measurement of the dependant variable. Such missing data are a common feature of ecological datasets, however the impacts of this have seldom been considered in the literature ( Nakagawa & Freckleton, 2011 ). Incomplete rows of data in dataframes i.e. those missing predictor and/or response variables are often dealt with by deleting or ignoring those rows of data entirely when modelling ( Nakagawa & Freckleton, 2008 ), although this may result in biased parameter estimates and, depending on the mechanism underlying the missing data, reduces statistical power ( Nakagawa & Freckleton, 2008 ). Nakagawa & Freckleton (2011) recommend multiple imputation (MI) as a mechanism for handling non-informative missing data, and highlight the ability of this technique for more accurate estimates, particularly for IT/AIC approaches.”concept_edges[9]
notedeleting —causes→ biased parameter estimates — The modal 'may' makes the causal claim hedged. — “When collecting ecological data it is often not possible to measure all of the predictors of interest for every measurement of the dependant variable. Such missing data are a common feature of ecological datasets, however the impacts of this have seldom been considered in the literature ( Nakagawa & Freckleton, 2011 ). Incomplete rows of data in dataframes i.e. those missing predictor and/or response variables are often dealt with by deleting or ignoring those rows of data entirely when modelling ( Nakagawa & Freckleton, 2008 ), although this may result in biased parameter estimates and, depending on the mechanism underlying the missing data, reduces statistical power ( Nakagawa & Freckleton, 2008 ). Nakagawa & Freckleton (2011) recommend multiple imputation (MI) as a mechanism for handling non-informative missing data, and highlight the ability of this technique for more accurate estimates, particularly for IT/AIC approaches.”concept_edges[9]
relationdeleting —causes→ biased parameter estimates — Deleting incomplete rows may result in biased parameter estimates. — “When collecting ecological data it is often not possible to measure all of the predictors of interest for every measurement of the dependant variable. Such missing data are a common feature of ecological datasets, however the impacts of this have seldom been considered in the literature ( Nakagawa & Freckleton, 2011 ). Incomplete rows of data in dataframes i.e. those missing predictor and/or response variables are often dealt with by deleting or ignoring those rows of data entirely when modelling ( Nakagawa & Freckleton, 2008 ), although this may result in biased parameter estimates and, depending on the mechanism underlying the missing data, reduces statistical power ( Nakagawa & Freckleton, 2008 ). Nakagawa & Freckleton (2011) recommend multiple imputation (MI) as a mechanism for handling non-informative missing data, and highlight the ability of this technique for more accurate estimates, particularly for IT/AIC approaches.”concept_edges[9]
weightdeleting —causes→ biased parameter estimates — 0.65 — “When collecting ecological data it is often not possible to measure all of the predictors of interest for every measurement of the dependant variable. Such missing data are a common feature of ecological datasets, however the impacts of this have seldom been considered in the literature ( Nakagawa & Freckleton, 2011 ). Incomplete rows of data in dataframes i.e. those missing predictor and/or response variables are often dealt with by deleting or ignoring those rows of data entirely when modelling ( Nakagawa & Freckleton, 2008 ), although this may result in biased parameter estimates and, depending on the mechanism underlying the missing data, reduces statistical power ( Nakagawa & Freckleton, 2008 ). Nakagawa & Freckleton (2011) recommend multiple imputation (MI) as a mechanism for handling non-informative missing data, and highlight the ability of this technique for more accurate estimates, particularly for IT/AIC approaches.”concept_edges[9]
auditstepwise deletion —causes→ biased parameter estimates — Audit 2026-09-28: DOUBTFUL - read against its full span and kept, but the span writes 'overestimate the effect size of significant predictors', not 'biased parameter estimates'. — “Stepwise deletion procedures have come under heavy criticism; they can overestimate the effect size of significant predictors ( Whittingham et al., 2006 ; Forstmeier & Schielzeth, 2011 ; Burnham, Anderson & Huyvaert, 2011 ) and force the researcher to focus on a single best model as if it were the only combination of predictors with support in the data. Although we strive for simplicity and parsimony, this assumption is not always reasonable in complex ecological systems ( Burnham, Anderson & Huyvaert, 2011 ). It is common to present the MAM as if it arose from a single a priori hypothesis, when in fact arriving at the MAM required multiple significance tests ( Whittingham et al., 2006 ; Forstmeier & Schielzeth, 2011 ). This cryptic multiple testing can lead to hugely inflated Type I errors ( Forstmeier & Schielzeth, 2011 ). Perhaps most importantly, LRT can be unreliable for fixed effects in GLMMs unless both total sample size and replication of the random effect terms is high (see Bolker et al., 2009 and references therein), conditions which are often not satisfied for most ecological datasets. Because stepwise deletion can cause biased effect sizes, presenting means and SEs of parameters from the global model should be more robust, especially when the n/k ratio is low ( Forstmeier & Schielzeth, 2011 ). Performing ‘full model tests’ (comparing the global model to an intercept only model) before investigating single-predictor effects controls the Type I error rate ( Forstmeier & Schielzeth, 2011 ). Reporting the full model also helps reduce publication bias towards strong effects, providing future meta-analyses with estimates of both significant and non-significant effects ( Forstmeier & Schielzeth, 2011 ). Global model reporting should not replace other model selection methods, but provides a robust measure of how likely significant effects are to arise by sampling variation alone.”concept_edges[10]
notestepwise deletion —causes→ biased parameter estimates — The modal 'can' makes this hedged. — “Stepwise deletion procedures have come under heavy criticism; they can overestimate the effect size of significant predictors ( Whittingham et al., 2006 ; Forstmeier & Schielzeth, 2011 ; Burnham, Anderson & Huyvaert, 2011 ) and force the researcher to focus on a single best model as if it were the only combination of predictors with support in the data. Although we strive for simplicity and parsimony, this assumption is not always reasonable in complex ecological systems ( Burnham, Anderson & Huyvaert, 2011 ). It is common to present the MAM as if it arose from a single a priori hypothesis, when in fact arriving at the MAM required multiple significance tests ( Whittingham et al., 2006 ; Forstmeier & Schielzeth, 2011 ). This cryptic multiple testing can lead to hugely inflated Type I errors ( Forstmeier & Schielzeth, 2011 ). Perhaps most importantly, LRT can be unreliable for fixed effects in GLMMs unless both total sample size and replication of the random effect terms is high (see Bolker et al., 2009 and references therein), conditions which are often not satisfied for most ecological datasets. Because stepwise deletion can cause biased effect sizes, presenting means and SEs of parameters from the global model should be more robust, especially when the n/k ratio is low ( Forstmeier & Schielzeth, 2011 ). Performing ‘full model tests’ (comparing the global model to an intercept only model) before investigating single-predictor effects controls the Type I error rate ( Forstmeier & Schielzeth, 2011 ). Reporting the full model also helps reduce publication bias towards strong effects, providing future meta-analyses with estimates of both significant and non-significant effects ( Forstmeier & Schielzeth, 2011 ). Global model reporting should not replace other model selection methods, but provides a robust measure of how likely significant effects are to arise by sampling variation alone.”concept_edges[10]
relationstepwise deletion —causes→ biased parameter estimates — Stepwise deletion can overestimate predictor effect sizes. — “Stepwise deletion procedures have come under heavy criticism; they can overestimate the effect size of significant predictors ( Whittingham et al., 2006 ; Forstmeier & Schielzeth, 2011 ; Burnham, Anderson & Huyvaert, 2011 ) and force the researcher to focus on a single best model as if it were the only combination of predictors with support in the data. Although we strive for simplicity and parsimony, this assumption is not always reasonable in complex ecological systems ( Burnham, Anderson & Huyvaert, 2011 ). It is common to present the MAM as if it arose from a single a priori hypothesis, when in fact arriving at the MAM required multiple significance tests ( Whittingham et al., 2006 ; Forstmeier & Schielzeth, 2011 ). This cryptic multiple testing can lead to hugely inflated Type I errors ( Forstmeier & Schielzeth, 2011 ). Perhaps most importantly, LRT can be unreliable for fixed effects in GLMMs unless both total sample size and replication of the random effect terms is high (see Bolker et al., 2009 and references therein), conditions which are often not satisfied for most ecological datasets. Because stepwise deletion can cause biased effect sizes, presenting means and SEs of parameters from the global model should be more robust, especially when the n/k ratio is low ( Forstmeier & Schielzeth, 2011 ). Performing ‘full model tests’ (comparing the global model to an intercept only model) before investigating single-predictor effects controls the Type I error rate ( Forstmeier & Schielzeth, 2011 ). Reporting the full model also helps reduce publication bias towards strong effects, providing future meta-analyses with estimates of both significant and non-significant effects ( Forstmeier & Schielzeth, 2011 ). Global model reporting should not replace other model selection methods, but provides a robust measure of how likely significant effects are to arise by sampling variation alone.”concept_edges[10]
weightstepwise deletion —causes→ biased parameter estimates — 0.7 — “Stepwise deletion procedures have come under heavy criticism; they can overestimate the effect size of significant predictors ( Whittingham et al., 2006 ; Forstmeier & Schielzeth, 2011 ; Burnham, Anderson & Huyvaert, 2011 ) and force the researcher to focus on a single best model as if it were the only combination of predictors with support in the data. Although we strive for simplicity and parsimony, this assumption is not always reasonable in complex ecological systems ( Burnham, Anderson & Huyvaert, 2011 ). It is common to present the MAM as if it arose from a single a priori hypothesis, when in fact arriving at the MAM required multiple significance tests ( Whittingham et al., 2006 ; Forstmeier & Schielzeth, 2011 ). This cryptic multiple testing can lead to hugely inflated Type I errors ( Forstmeier & Schielzeth, 2011 ). Perhaps most importantly, LRT can be unreliable for fixed effects in GLMMs unless both total sample size and replication of the random effect terms is high (see Bolker et al., 2009 and references therein), conditions which are often not satisfied for most ecological datasets. Because stepwise deletion can cause biased effect sizes, presenting means and SEs of parameters from the global model should be more robust, especially when the n/k ratio is low ( Forstmeier & Schielzeth, 2011 ). Performing ‘full model tests’ (comparing the global model to an intercept only model) before investigating single-predictor effects controls the Type I error rate ( Forstmeier & Schielzeth, 2011 ). Reporting the full model also helps reduce publication bias towards strong effects, providing future meta-analyses with estimates of both significant and non-significant effects ( Forstmeier & Schielzeth, 2011 ). Global model reporting should not replace other model selection methods, but provides a robust measure of how likely significant effects are to arise by sampling variation alone.”concept_edges[10]
auditcryptic multiple testing —causes→ Type I error rates — Audit 2026-09-29: DOUBTFUL - read against its full span and kept, but the span says it 'can lead to hugely INFLATED Type I errors'; the edge lacks its direction (increases). — “Stepwise deletion procedures have come under heavy criticism; they can overestimate the effect size of significant predictors ( Whittingham et al., 2006 ; Forstmeier & Schielzeth, 2011 ; Burnham, Anderson & Huyvaert, 2011 ) and force the researcher to focus on a single best model as if it were the only combination of predictors with support in the data. Although we strive for simplicity and parsimony, this assumption is not always reasonable in complex ecological systems ( Burnham, Anderson & Huyvaert, 2011 ). It is common to present the MAM as if it arose from a single a priori hypothesis, when in fact arriving at the MAM required multiple significance tests ( Whittingham et al., 2006 ; Forstmeier & Schielzeth, 2011 ). This cryptic multiple testing can lead to hugely inflated Type I errors ( Forstmeier & Schielzeth, 2011 ). Perhaps most importantly, LRT can be unreliable for fixed effects in GLMMs unless both total sample size and replication of the random effect terms is high (see Bolker et al., 2009 and references therein), conditions which are often not satisfied for most ecological datasets. Because stepwise deletion can cause biased effect sizes, presenting means and SEs of parameters from the global model should be more robust, especially when the n/k ratio is low ( Forstmeier & Schielzeth, 2011 ). Performing ‘full model tests’ (comparing the global model to an intercept only model) before investigating single-predictor effects controls the Type I error rate ( Forstmeier & Schielzeth, 2011 ). Reporting the full model also helps reduce publication bias towards strong effects, providing future meta-analyses with estimates of both significant and non-significant effects ( Forstmeier & Schielzeth, 2011 ). Global model reporting should not replace other model selection methods, but provides a robust measure of how likely significant effects are to arise by sampling variation alone.”concept_edges[11]
notecryptic multiple testing —causes→ Type I error rates — The modal 'can' makes this hedged. — “Stepwise deletion procedures have come under heavy criticism; they can overestimate the effect size of significant predictors ( Whittingham et al., 2006 ; Forstmeier & Schielzeth, 2011 ; Burnham, Anderson & Huyvaert, 2011 ) and force the researcher to focus on a single best model as if it were the only combination of predictors with support in the data. Although we strive for simplicity and parsimony, this assumption is not always reasonable in complex ecological systems ( Burnham, Anderson & Huyvaert, 2011 ). It is common to present the MAM as if it arose from a single a priori hypothesis, when in fact arriving at the MAM required multiple significance tests ( Whittingham et al., 2006 ; Forstmeier & Schielzeth, 2011 ). This cryptic multiple testing can lead to hugely inflated Type I errors ( Forstmeier & Schielzeth, 2011 ). Perhaps most importantly, LRT can be unreliable for fixed effects in GLMMs unless both total sample size and replication of the random effect terms is high (see Bolker et al., 2009 and references therein), conditions which are often not satisfied for most ecological datasets. Because stepwise deletion can cause biased effect sizes, presenting means and SEs of parameters from the global model should be more robust, especially when the n/k ratio is low ( Forstmeier & Schielzeth, 2011 ). Performing ‘full model tests’ (comparing the global model to an intercept only model) before investigating single-predictor effects controls the Type I error rate ( Forstmeier & Schielzeth, 2011 ). Reporting the full model also helps reduce publication bias towards strong effects, providing future meta-analyses with estimates of both significant and non-significant effects ( Forstmeier & Schielzeth, 2011 ). Global model reporting should not replace other model selection methods, but provides a robust measure of how likely significant effects are to arise by sampling variation alone.”concept_edges[11]
relationcryptic multiple testing —causes→ Type I error rates — Cryptic multiple testing can lead to inflated Type I errors. — “Stepwise deletion procedures have come under heavy criticism; they can overestimate the effect size of significant predictors ( Whittingham et al., 2006 ; Forstmeier & Schielzeth, 2011 ; Burnham, Anderson & Huyvaert, 2011 ) and force the researcher to focus on a single best model as if it were the only combination of predictors with support in the data. Although we strive for simplicity and parsimony, this assumption is not always reasonable in complex ecological systems ( Burnham, Anderson & Huyvaert, 2011 ). It is common to present the MAM as if it arose from a single a priori hypothesis, when in fact arriving at the MAM required multiple significance tests ( Whittingham et al., 2006 ; Forstmeier & Schielzeth, 2011 ). This cryptic multiple testing can lead to hugely inflated Type I errors ( Forstmeier & Schielzeth, 2011 ). Perhaps most importantly, LRT can be unreliable for fixed effects in GLMMs unless both total sample size and replication of the random effect terms is high (see Bolker et al., 2009 and references therein), conditions which are often not satisfied for most ecological datasets. Because stepwise deletion can cause biased effect sizes, presenting means and SEs of parameters from the global model should be more robust, especially when the n/k ratio is low ( Forstmeier & Schielzeth, 2011 ). Performing ‘full model tests’ (comparing the global model to an intercept only model) before investigating single-predictor effects controls the Type I error rate ( Forstmeier & Schielzeth, 2011 ). Reporting the full model also helps reduce publication bias towards strong effects, providing future meta-analyses with estimates of both significant and non-significant effects ( Forstmeier & Schielzeth, 2011 ). Global model reporting should not replace other model selection methods, but provides a robust measure of how likely significant effects are to arise by sampling variation alone.”concept_edges[11]
weightcryptic multiple testing —causes→ Type I error rates — 0.7 — “Stepwise deletion procedures have come under heavy criticism; they can overestimate the effect size of significant predictors ( Whittingham et al., 2006 ; Forstmeier & Schielzeth, 2011 ; Burnham, Anderson & Huyvaert, 2011 ) and force the researcher to focus on a single best model as if it were the only combination of predictors with support in the data. Although we strive for simplicity and parsimony, this assumption is not always reasonable in complex ecological systems ( Burnham, Anderson & Huyvaert, 2011 ). It is common to present the MAM as if it arose from a single a priori hypothesis, when in fact arriving at the MAM required multiple significance tests ( Whittingham et al., 2006 ; Forstmeier & Schielzeth, 2011 ). This cryptic multiple testing can lead to hugely inflated Type I errors ( Forstmeier & Schielzeth, 2011 ). Perhaps most importantly, LRT can be unreliable for fixed effects in GLMMs unless both total sample size and replication of the random effect terms is high (see Bolker et al., 2009 and references therein), conditions which are often not satisfied for most ecological datasets. Because stepwise deletion can cause biased effect sizes, presenting means and SEs of parameters from the global model should be more robust, especially when the n/k ratio is low ( Forstmeier & Schielzeth, 2011 ). Performing ‘full model tests’ (comparing the global model to an intercept only model) before investigating single-predictor effects controls the Type I error rate ( Forstmeier & Schielzeth, 2011 ). Reporting the full model also helps reduce publication bias towards strong effects, providing future meta-analyses with estimates of both significant and non-significant effects ( Forstmeier & Schielzeth, 2011 ). Global model reporting should not replace other model selection methods, but provides a robust measure of how likely significant effects are to arise by sampling variation alone.”concept_edges[11]
auditinformation-theory —contrasted-with→ NHST — Audit 2026-09-28: DOUBTFUL - read against its full span and kept, but endpoint by anaphora: the section is headed 'Information-theory'; the span writes 'IT approaches'. — “Unlike NHST, which leads to a focus on a single best model, model selection using IT approaches allows the degree of support in the data for several competing models to be ranked using metrics such as AIC. Information criteria attempt to quantify the Kullback–Leibler distance (KLD), a measure of the relative amount of information lost when a given model approximates the true data-generating process. Thus, relative difference among models in AIC should be representative in relative differences in KLD, and the model with the lowest AIC should lose the least information and be the best model in that it optimises the trade-off between fit and complexity ( Richards, 2008 ). A key strength of the IT approach is that it accounts for ‘model selection uncertainty’, the idea that several competing models may all fit the data similarly well ( Burnham & Anderson, 2002 ; Burnham, Anderson & Huyvaert, 2011 ). This is particularly useful when competing models share equal ‘complexity’ (i.e. number of predictors, or number of residual degrees of freedom): in such situations, NHST is impossible because NHST requires a simpler (nested) model for comparison. Where several models have similar support in the data, inference can be made from all models using model-averaging ( Burnham & Anderson, 2002 ; Johnson & Omland, 2004 ; Grueber et al., 2011 ). Model averaging incorporates uncertainty by weighting the parameter estimate of a model by that model’s Akaike weight (often referred to as the probability of that model being the best Kullback–Leibler model given the data, but see Richards, 2005 ). Multi-model inference places a strong emphasis on a priori formulation of hypotheses ( Burnham & Anderson, 2002 ; Dochtermann & Jenkins, 2011 ; Lindberg, Schmidt & Walker, 2015 ), and model-averaged parameter estimates arising from multi-model inference are thought to lead to more robust conclusions about the biological systems compared to NHST ( Johnson & Omland, 2004 , but see Richards, Whittingham & Stephens, 2011 ). These strengths over NHST have meant that the use of IT approaches in ecology and evolution has grown rapidly in recent years ( Lindberg, Schmidt & Walker, 2015 ; Barker & Link, 2015 ; Cade, 2015 ). We do not expand on the specific details of the difference between NHST and IT here, but point the reader to some excellent references on the topic. Instead, we use this section to highlight recent empirical developments in the best practice methods for the application of IT in ecology and evolution.”concept_edges[12]
noteinformation-theory —contrasted-with→ NHST — The paragraph opens with an explicit 'Unlike NHST' comparison. — “Unlike NHST, which leads to a focus on a single best model, model selection using IT approaches allows the degree of support in the data for several competing models to be ranked using metrics such as AIC. Information criteria attempt to quantify the Kullback–Leibler distance (KLD), a measure of the relative amount of information lost when a given model approximates the true data-generating process. Thus, relative difference among models in AIC should be representative in relative differences in KLD, and the model with the lowest AIC should lose the least information and be the best model in that it optimises the trade-off between fit and complexity ( Richards, 2008 ). A key strength of the IT approach is that it accounts for ‘model selection uncertainty’, the idea that several competing models may all fit the data similarly well ( Burnham & Anderson, 2002 ; Burnham, Anderson & Huyvaert, 2011 ). This is particularly useful when competing models share equal ‘complexity’ (i.e. number of predictors, or number of residual degrees of freedom): in such situations, NHST is impossible because NHST requires a simpler (nested) model for comparison. Where several models have similar support in the data, inference can be made from all models using model-averaging ( Burnham & Anderson, 2002 ; Johnson & Omland, 2004 ; Grueber et al., 2011 ). Model averaging incorporates uncertainty by weighting the parameter estimate of a model by that model’s Akaike weight (often referred to as the probability of that model being the best Kullback–Leibler model given the data, but see Richards, 2005 ). Multi-model inference places a strong emphasis on a priori formulation of hypotheses ( Burnham & Anderson, 2002 ; Dochtermann & Jenkins, 2011 ; Lindberg, Schmidt & Walker, 2015 ), and model-averaged parameter estimates arising from multi-model inference are thought to lead to more robust conclusions about the biological systems compared to NHST ( Johnson & Omland, 2004 , but see Richards, Whittingham & Stephens, 2011 ). These strengths over NHST have meant that the use of IT approaches in ecology and evolution has grown rapidly in recent years ( Lindberg, Schmidt & Walker, 2015 ; Barker & Link, 2015 ; Cade, 2015 ). We do not expand on the specific details of the difference between NHST and IT here, but point the reader to some excellent references on the topic. Instead, we use this section to highlight recent empirical developments in the best practice methods for the application of IT in ecology and evolution.”concept_edges[12]
relationinformation-theory —contrasted-with→ NHST — Information-theory is contrasted with NHST's single-best-model focus. — “Unlike NHST, which leads to a focus on a single best model, model selection using IT approaches allows the degree of support in the data for several competing models to be ranked using metrics such as AIC. Information criteria attempt to quantify the Kullback–Leibler distance (KLD), a measure of the relative amount of information lost when a given model approximates the true data-generating process. Thus, relative difference among models in AIC should be representative in relative differences in KLD, and the model with the lowest AIC should lose the least information and be the best model in that it optimises the trade-off between fit and complexity ( Richards, 2008 ). A key strength of the IT approach is that it accounts for ‘model selection uncertainty’, the idea that several competing models may all fit the data similarly well ( Burnham & Anderson, 2002 ; Burnham, Anderson & Huyvaert, 2011 ). This is particularly useful when competing models share equal ‘complexity’ (i.e. number of predictors, or number of residual degrees of freedom): in such situations, NHST is impossible because NHST requires a simpler (nested) model for comparison. Where several models have similar support in the data, inference can be made from all models using model-averaging ( Burnham & Anderson, 2002 ; Johnson & Omland, 2004 ; Grueber et al., 2011 ). Model averaging incorporates uncertainty by weighting the parameter estimate of a model by that model’s Akaike weight (often referred to as the probability of that model being the best Kullback–Leibler model given the data, but see Richards, 2005 ). Multi-model inference places a strong emphasis on a priori formulation of hypotheses ( Burnham & Anderson, 2002 ; Dochtermann & Jenkins, 2011 ; Lindberg, Schmidt & Walker, 2015 ), and model-averaged parameter estimates arising from multi-model inference are thought to lead to more robust conclusions about the biological systems compared to NHST ( Johnson & Omland, 2004 , but see Richards, Whittingham & Stephens, 2011 ). These strengths over NHST have meant that the use of IT approaches in ecology and evolution has grown rapidly in recent years ( Lindberg, Schmidt & Walker, 2015 ; Barker & Link, 2015 ; Cade, 2015 ). We do not expand on the specific details of the difference between NHST and IT here, but point the reader to some excellent references on the topic. Instead, we use this section to highlight recent empirical developments in the best practice methods for the application of IT in ecology and evolution.”concept_edges[12]
weightinformation-theory —contrasted-with→ NHST — 0.95 — “Unlike NHST, which leads to a focus on a single best model, model selection using IT approaches allows the degree of support in the data for several competing models to be ranked using metrics such as AIC. Information criteria attempt to quantify the Kullback–Leibler distance (KLD), a measure of the relative amount of information lost when a given model approximates the true data-generating process. Thus, relative difference among models in AIC should be representative in relative differences in KLD, and the model with the lowest AIC should lose the least information and be the best model in that it optimises the trade-off between fit and complexity ( Richards, 2008 ). A key strength of the IT approach is that it accounts for ‘model selection uncertainty’, the idea that several competing models may all fit the data similarly well ( Burnham & Anderson, 2002 ; Burnham, Anderson & Huyvaert, 2011 ). This is particularly useful when competing models share equal ‘complexity’ (i.e. number of predictors, or number of residual degrees of freedom): in such situations, NHST is impossible because NHST requires a simpler (nested) model for comparison. Where several models have similar support in the data, inference can be made from all models using model-averaging ( Burnham & Anderson, 2002 ; Johnson & Omland, 2004 ; Grueber et al., 2011 ). Model averaging incorporates uncertainty by weighting the parameter estimate of a model by that model’s Akaike weight (often referred to as the probability of that model being the best Kullback–Leibler model given the data, but see Richards, 2005 ). Multi-model inference places a strong emphasis on a priori formulation of hypotheses ( Burnham & Anderson, 2002 ; Dochtermann & Jenkins, 2011 ; Lindberg, Schmidt & Walker, 2015 ), and model-averaged parameter estimates arising from multi-model inference are thought to lead to more robust conclusions about the biological systems compared to NHST ( Johnson & Omland, 2004 , but see Richards, Whittingham & Stephens, 2011 ). These strengths over NHST have meant that the use of IT approaches in ecology and evolution has grown rapidly in recent years ( Lindberg, Schmidt & Walker, 2015 ; Barker & Link, 2015 ; Cade, 2015 ). We do not expand on the specific details of the difference between NHST and IT here, but point the reader to some excellent references on the topic. Instead, we use this section to highlight recent empirical developments in the best practice methods for the application of IT in ecology and evolution.”concept_edges[12]
auditmodel averaging —causes→ robust conclusions — Audit 2026-09-28: DOUBTFUL - read against its full span and kept, but model-averaged estimates 'are thought to lead to' more robust conclusions; hedged, and attributed. — “Unlike NHST, which leads to a focus on a single best model, model selection using IT approaches allows the degree of support in the data for several competing models to be ranked using metrics such as AIC. Information criteria attempt to quantify the Kullback–Leibler distance (KLD), a measure of the relative amount of information lost when a given model approximates the true data-generating process. Thus, relative difference among models in AIC should be representative in relative differences in KLD, and the model with the lowest AIC should lose the least information and be the best model in that it optimises the trade-off between fit and complexity ( Richards, 2008 ). A key strength of the IT approach is that it accounts for ‘model selection uncertainty’, the idea that several competing models may all fit the data similarly well ( Burnham & Anderson, 2002 ; Burnham, Anderson & Huyvaert, 2011 ). This is particularly useful when competing models share equal ‘complexity’ (i.e. number of predictors, or number of residual degrees of freedom): in such situations, NHST is impossible because NHST requires a simpler (nested) model for comparison. Where several models have similar support in the data, inference can be made from all models using model-averaging ( Burnham & Anderson, 2002 ; Johnson & Omland, 2004 ; Grueber et al., 2011 ). Model averaging incorporates uncertainty by weighting the parameter estimate of a model by that model’s Akaike weight (often referred to as the probability of that model being the best Kullback–Leibler model given the data, but see Richards, 2005 ). Multi-model inference places a strong emphasis on a priori formulation of hypotheses ( Burnham & Anderson, 2002 ; Dochtermann & Jenkins, 2011 ; Lindberg, Schmidt & Walker, 2015 ), and model-averaged parameter estimates arising from multi-model inference are thought to lead to more robust conclusions about the biological systems compared to NHST ( Johnson & Omland, 2004 , but see Richards, Whittingham & Stephens, 2011 ). These strengths over NHST have meant that the use of IT approaches in ecology and evolution has grown rapidly in recent years ( Lindberg, Schmidt & Walker, 2015 ; Barker & Link, 2015 ; Cade, 2015 ). We do not expand on the specific details of the difference between NHST and IT here, but point the reader to some excellent references on the topic. Instead, we use this section to highlight recent empirical developments in the best practice methods for the application of IT in ecology and evolution.”concept_edges[13]
notemodel averaging —causes→ robust conclusions — The source says 'thought to lead', a clearly hedged causal claim. — “Unlike NHST, which leads to a focus on a single best model, model selection using IT approaches allows the degree of support in the data for several competing models to be ranked using metrics such as AIC. Information criteria attempt to quantify the Kullback–Leibler distance (KLD), a measure of the relative amount of information lost when a given model approximates the true data-generating process. Thus, relative difference among models in AIC should be representative in relative differences in KLD, and the model with the lowest AIC should lose the least information and be the best model in that it optimises the trade-off between fit and complexity ( Richards, 2008 ). A key strength of the IT approach is that it accounts for ‘model selection uncertainty’, the idea that several competing models may all fit the data similarly well ( Burnham & Anderson, 2002 ; Burnham, Anderson & Huyvaert, 2011 ). This is particularly useful when competing models share equal ‘complexity’ (i.e. number of predictors, or number of residual degrees of freedom): in such situations, NHST is impossible because NHST requires a simpler (nested) model for comparison. Where several models have similar support in the data, inference can be made from all models using model-averaging ( Burnham & Anderson, 2002 ; Johnson & Omland, 2004 ; Grueber et al., 2011 ). Model averaging incorporates uncertainty by weighting the parameter estimate of a model by that model’s Akaike weight (often referred to as the probability of that model being the best Kullback–Leibler model given the data, but see Richards, 2005 ). Multi-model inference places a strong emphasis on a priori formulation of hypotheses ( Burnham & Anderson, 2002 ; Dochtermann & Jenkins, 2011 ; Lindberg, Schmidt & Walker, 2015 ), and model-averaged parameter estimates arising from multi-model inference are thought to lead to more robust conclusions about the biological systems compared to NHST ( Johnson & Omland, 2004 , but see Richards, Whittingham & Stephens, 2011 ). These strengths over NHST have meant that the use of IT approaches in ecology and evolution has grown rapidly in recent years ( Lindberg, Schmidt & Walker, 2015 ; Barker & Link, 2015 ; Cade, 2015 ). We do not expand on the specific details of the difference between NHST and IT here, but point the reader to some excellent references on the topic. Instead, we use this section to highlight recent empirical developments in the best practice methods for the application of IT in ecology and evolution.”concept_edges[13]
relationmodel averaging —causes→ robust conclusions — Model averaging is thought to lead to more robust biological conclusions. — “Unlike NHST, which leads to a focus on a single best model, model selection using IT approaches allows the degree of support in the data for several competing models to be ranked using metrics such as AIC. Information criteria attempt to quantify the Kullback–Leibler distance (KLD), a measure of the relative amount of information lost when a given model approximates the true data-generating process. Thus, relative difference among models in AIC should be representative in relative differences in KLD, and the model with the lowest AIC should lose the least information and be the best model in that it optimises the trade-off between fit and complexity ( Richards, 2008 ). A key strength of the IT approach is that it accounts for ‘model selection uncertainty’, the idea that several competing models may all fit the data similarly well ( Burnham & Anderson, 2002 ; Burnham, Anderson & Huyvaert, 2011 ). This is particularly useful when competing models share equal ‘complexity’ (i.e. number of predictors, or number of residual degrees of freedom): in such situations, NHST is impossible because NHST requires a simpler (nested) model for comparison. Where several models have similar support in the data, inference can be made from all models using model-averaging ( Burnham & Anderson, 2002 ; Johnson & Omland, 2004 ; Grueber et al., 2011 ). Model averaging incorporates uncertainty by weighting the parameter estimate of a model by that model’s Akaike weight (often referred to as the probability of that model being the best Kullback–Leibler model given the data, but see Richards, 2005 ). Multi-model inference places a strong emphasis on a priori formulation of hypotheses ( Burnham & Anderson, 2002 ; Dochtermann & Jenkins, 2011 ; Lindberg, Schmidt & Walker, 2015 ), and model-averaged parameter estimates arising from multi-model inference are thought to lead to more robust conclusions about the biological systems compared to NHST ( Johnson & Omland, 2004 , but see Richards, Whittingham & Stephens, 2011 ). These strengths over NHST have meant that the use of IT approaches in ecology and evolution has grown rapidly in recent years ( Lindberg, Schmidt & Walker, 2015 ; Barker & Link, 2015 ; Cade, 2015 ). We do not expand on the specific details of the difference between NHST and IT here, but point the reader to some excellent references on the topic. Instead, we use this section to highlight recent empirical developments in the best practice methods for the application of IT in ecology and evolution.”concept_edges[13]
weightmodel averaging —causes→ robust conclusions — 0.6 — “Unlike NHST, which leads to a focus on a single best model, model selection using IT approaches allows the degree of support in the data for several competing models to be ranked using metrics such as AIC. Information criteria attempt to quantify the Kullback–Leibler distance (KLD), a measure of the relative amount of information lost when a given model approximates the true data-generating process. Thus, relative difference among models in AIC should be representative in relative differences in KLD, and the model with the lowest AIC should lose the least information and be the best model in that it optimises the trade-off between fit and complexity ( Richards, 2008 ). A key strength of the IT approach is that it accounts for ‘model selection uncertainty’, the idea that several competing models may all fit the data similarly well ( Burnham & Anderson, 2002 ; Burnham, Anderson & Huyvaert, 2011 ). This is particularly useful when competing models share equal ‘complexity’ (i.e. number of predictors, or number of residual degrees of freedom): in such situations, NHST is impossible because NHST requires a simpler (nested) model for comparison. Where several models have similar support in the data, inference can be made from all models using model-averaging ( Burnham & Anderson, 2002 ; Johnson & Omland, 2004 ; Grueber et al., 2011 ). Model averaging incorporates uncertainty by weighting the parameter estimate of a model by that model’s Akaike weight (often referred to as the probability of that model being the best Kullback–Leibler model given the data, but see Richards, 2005 ). Multi-model inference places a strong emphasis on a priori formulation of hypotheses ( Burnham & Anderson, 2002 ; Dochtermann & Jenkins, 2011 ; Lindberg, Schmidt & Walker, 2015 ), and model-averaged parameter estimates arising from multi-model inference are thought to lead to more robust conclusions about the biological systems compared to NHST ( Johnson & Omland, 2004 , but see Richards, Whittingham & Stephens, 2011 ). These strengths over NHST have meant that the use of IT approaches in ecology and evolution has grown rapidly in recent years ( Lindberg, Schmidt & Walker, 2015 ; Barker & Link, 2015 ; Cade, 2015 ). We do not expand on the specific details of the difference between NHST and IT here, but point the reader to some excellent references on the topic. Instead, we use this section to highlight recent empirical developments in the best practice methods for the application of IT in ecology and evolution.”concept_edges[13]
effect directionnesting rule —causes→ parameter accuracy — increases — “It is well known that AIC tends towards overly complex models (‘overfitting’, Burnham & Anderson, 2002 ). As AIC only adds a two point penalty to a model for inclusion of a new term, Arnold (2010) demonstrated that adding a nuisance (completely random) predictor to a well-fitting model leads to a ΔAIC value of the new model of ∼2, therefore appearing to warrant inclusion in the top model set (see section above). Therefore, inference can be greatly improved by eliminating models from the top model set that are more complex versions of nested models with better AIC support, known as the nesting rule ( Richards, 2005 , 2008 ; Richards, Whittingham & Stephens, 2011 ). Doing so greatly reduces the number of models to be used for inference, and improves parameter accuracy ( Arnold, 2010 ; Richards, 2008 ). Symonds & Moussalli (2011) caution that its applicability has not yet been widely assessed over a range of circumstances, but the theory behind its application is sound and intuitive ( Arnold, 2010 ).” — “greatly reduces the number of models to be used for inference, and improves parameter”concept_edges[14]
notenesting rule —causes→ parameter accuracy — Flat positive improvement claim. — “It is well known that AIC tends towards overly complex models (‘overfitting’, Burnham & Anderson, 2002 ). As AIC only adds a two point penalty to a model for inclusion of a new term, Arnold (2010) demonstrated that adding a nuisance (completely random) predictor to a well-fitting model leads to a ΔAIC value of the new model of ∼2, therefore appearing to warrant inclusion in the top model set (see section above). Therefore, inference can be greatly improved by eliminating models from the top model set that are more complex versions of nested models with better AIC support, known as the nesting rule ( Richards, 2005 , 2008 ; Richards, Whittingham & Stephens, 2011 ). Doing so greatly reduces the number of models to be used for inference, and improves parameter accuracy ( Arnold, 2010 ; Richards, 2008 ). Symonds & Moussalli (2011) caution that its applicability has not yet been widely assessed over a range of circumstances, but the theory behind its application is sound and intuitive ( Arnold, 2010 ).”concept_edges[14]
relationnesting rule —causes→ parameter accuracy — Applying the nesting rule improves parameter accuracy. — “It is well known that AIC tends towards overly complex models (‘overfitting’, Burnham & Anderson, 2002 ). As AIC only adds a two point penalty to a model for inclusion of a new term, Arnold (2010) demonstrated that adding a nuisance (completely random) predictor to a well-fitting model leads to a ΔAIC value of the new model of ∼2, therefore appearing to warrant inclusion in the top model set (see section above). Therefore, inference can be greatly improved by eliminating models from the top model set that are more complex versions of nested models with better AIC support, known as the nesting rule ( Richards, 2005 , 2008 ; Richards, Whittingham & Stephens, 2011 ). Doing so greatly reduces the number of models to be used for inference, and improves parameter accuracy ( Arnold, 2010 ; Richards, 2008 ). Symonds & Moussalli (2011) caution that its applicability has not yet been widely assessed over a range of circumstances, but the theory behind its application is sound and intuitive ( Arnold, 2010 ).”concept_edges[14]
weightnesting rule —causes→ parameter accuracy — 0.95 — “It is well known that AIC tends towards overly complex models (‘overfitting’, Burnham & Anderson, 2002 ). As AIC only adds a two point penalty to a model for inclusion of a new term, Arnold (2010) demonstrated that adding a nuisance (completely random) predictor to a well-fitting model leads to a ΔAIC value of the new model of ∼2, therefore appearing to warrant inclusion in the top model set (see section above). Therefore, inference can be greatly improved by eliminating models from the top model set that are more complex versions of nested models with better AIC support, known as the nesting rule ( Richards, 2005 , 2008 ; Richards, Whittingham & Stephens, 2011 ). Doing so greatly reduces the number of models to be used for inference, and improves parameter accuracy ( Arnold, 2010 ; Richards, 2008 ). Symonds & Moussalli (2011) caution that its applicability has not yet been widely assessed over a range of circumstances, but the theory behind its application is sound and intuitive ( Arnold, 2010 ).”concept_edges[14]
outcomecontrol — held — “Simulation is a powerful tool for assessing model fit ( Gelman & Hill, 2007 ; Kéry, 2010 ; Zuur & Ieno, 2016 ), but is rarely used. The premise here is simple: when simulating a response variable from a given set of parameter estimates (a model), the fit of the model to those simulated ‘ideal’ response data should be comparable to the model’s fit to the real response variable ( Kéry, 2010 ). Each iteration yields a simulated dataset that allows calculation of a statistic of interest such as the sum of squared residuals ( Kéry, 2010 ), the overdispersion statistic ( Harrison, 2014 ) or the percentage of zeroes for a Poisson model ( Zuur & Ieno, 2016 ). If the model is a good fit, after a sufficiently large number of iterations (e.g. 10,000) the distribution of this statistic should encompass the observed statistic in the real data. Significant deviations outside of that distribution indicate the model is a poor fit ( Kéry, 2010 ). Figure 3 shows an example of using simulation to assess the fit of a Poisson GLMM. After fitting a GLMM to count data, we may wish to check for overdispersion and/or zero-inflation, the presence of which might suggest we need to adjust our modelling strategy. Simulating 10,000 datasets from our model reveals that the proportion of zeroes in our real data is comparable to simulated expectation ( Fig. 3A ). Conversely, simulating 1,000 datasets and refitting our model to each dataset, we see that the sum of the squared Pearson residuals for the real data is far larger than simulated expectation ( Fig. 3B ), giving evidence of overdispersion ( Harrison, 2014 ). We can use the simulated frequency distribution of this test statistic to derive a mean and 95% confidence interval for the overdispersion by calculating the ratio of our test statistic to the simulated values ( Harrison, 2014 ). The dispersion statistic for our model is 3.16 (95% CI [2.77–3.59]). Thus, simulations have allowed us to conclude that our model is overdispersed, but that this overdispersion is not due to zero-inflation. All R code for reproducing these simulations is provided in the Figshare: DOI 10.6084/m9.figshare.5173396 .”controls[2]
outcomecontrol — held — “Xavier A. Harrison was funded by an Institute of Zoology Research Fellowship. David Fisher was funded by NERC studentship NE/H02249X/1. Lynda Donaldson was funded by NERC studentship NE/L501669/1. Beth S. Robinson was funded by the University of Exeter and the Animal and Plant Health Agency as part of ‘Wildlife Research Co-Operative’. Maria Correa-Cano was funded by CONACYT (The Mexican National Council for Science and Technology) and SEP (The Mexican Ministry of Education). Cecily Goodwin was funded by the Forestry Commission and NERC studentship NE/L501669/1. The funders had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript.”controls[5]
relationlinear mixed effects models → traditional linear models — Mixed-effects models extend traditional linear models. — “Linear mixed effects models and generalized linear mixed effects models (GLMMs), have increased in popularity in the last decade ( Zuur et al., 2009 ; Bolker et al., 2009 ). Both extend traditional linear models to include a combination of fixed and random effects as predictor variables. The introduction of random effects affords several non-exclusive benefits. First, biological datasets are often highly structured, containing clusters of non-independent observational units that are hierarchical in nature, and LMMs allow us to explicitly model the non-independence in such data. For example, we might measure several chicks from the same clutch, and several clutches from different females, or we might take repeated measurements of the same chick’s growth rate over time. In both cases, we might expect that measurements within a statistical unit (here, an individual, or a female’s clutch) might be more similar than measurements from different units. Explicit modelling of the random effects structure will aid correct inference about fixed effects, depending on which level of the system’s hierarchy is being manipulated. In our example, if the fixed effect varies or is manipulated at the level of the clutch, then treating multiple chicks from a single clutch as independent would represent pseudoreplication, which can be controlled carefully by using random effects. Similarly, if fixed effects vary at the level of the chick, then non-independence among clutches or mothers could also be accounted for. Random effects typically represent some grouping variable ( Breslow & Clayton, 1993 ) and allow the estimation of variance in the response variable within and among these groups. This reduces the probability of false positives (Type I error rates) and false negatives (Type II error rates, e.g. Crawley, 2013 ). In addition, inferring the magnitude of variation within and among statistical clusters or hierarchical levels can be highly informative in its own right. In our bird example, understanding whether there is more variation in a focal trait among females within a population, rather than among populations, might be a central goal of the study.”unhoused_relations[0]
relationrandom slopes → random coefficients models — Random slope models are also often called random coefficients models. — “Fitting random slope models in ecology is not very common. Often, researchers fit random intercepts to control for non-independence among measurements of a statistical group (e.g. birds within a woodland), but force variables to have a common slope across all experimental units. However, there is growing evidence that researchers should be fitting random slopes as standard practice in (G)LMMs. Random slope models allow the coefficient of a predictor to vary based on clustering/non-independence in the data (see Fig. 1B ). In our bird example above, we might fit a random slope for the effect of foraging rate on clutch mass given each individual bird ID. That is, the magnitude of the effect foraging rate on resultant clutch mass differs among birds. Random slope models (also often called random coefficients models, Kéry, 2010 ) apply to both continuous and factor variables. For example, if we had applied a two-level feeding treatment to birds in each woodland (vitamin supplementation or control), we might also expect the magnitude of the effect of receiving vitamin supplementation to differ depending on which woodland it was applied to. So here we would specify random slopes for the treatment variable given woodland ID.”unhoused_relations[1]
relationrandom effects → pseudoreplication — Random effects control pseudoreplication caused by clustered observations. — “Linear mixed effects models and generalized linear mixed effects models (GLMMs), have increased in popularity in the last decade ( Zuur et al., 2009 ; Bolker et al., 2009 ). Both extend traditional linear models to include a combination of fixed and random effects as predictor variables. The introduction of random effects affords several non-exclusive benefits. First, biological datasets are often highly structured, containing clusters of non-independent observational units that are hierarchical in nature, and LMMs allow us to explicitly model the non-independence in such data. For example, we might measure several chicks from the same clutch, and several clutches from different females, or we might take repeated measurements of the same chick’s growth rate over time. In both cases, we might expect that measurements within a statistical unit (here, an individual, or a female’s clutch) might be more similar than measurements from different units. Explicit modelling of the random effects structure will aid correct inference about fixed effects, depending on which level of the system’s hierarchy is being manipulated. In our example, if the fixed effect varies or is manipulated at the level of the clutch, then treating multiple chicks from a single clutch as independent would represent pseudoreplication, which can be controlled carefully by using random effects. Similarly, if fixed effects vary at the level of the chick, then non-independence among clutches or mothers could also be accounted for. Random effects typically represent some grouping variable ( Breslow & Clayton, 1993 ) and allow the estimation of variance in the response variable within and among these groups. This reduces the probability of false positives (Type I error rates) and false negatives (Type II error rates, e.g. Crawley, 2013 ). In addition, inferring the magnitude of variation within and among statistical clusters or hierarchical levels can be highly informative in its own right. In our bird example, understanding whether there is more variation in a focal trait among females within a population, rather than among populations, might be a central goal of the study.”unhoused_relations[2]
weightrandom effects → pseudoreplication — 0.95 — “Linear mixed effects models and generalized linear mixed effects models (GLMMs), have increased in popularity in the last decade ( Zuur et al., 2009 ; Bolker et al., 2009 ). Both extend traditional linear models to include a combination of fixed and random effects as predictor variables. The introduction of random effects affords several non-exclusive benefits. First, biological datasets are often highly structured, containing clusters of non-independent observational units that are hierarchical in nature, and LMMs allow us to explicitly model the non-independence in such data. For example, we might measure several chicks from the same clutch, and several clutches from different females, or we might take repeated measurements of the same chick’s growth rate over time. In both cases, we might expect that measurements within a statistical unit (here, an individual, or a female’s clutch) might be more similar than measurements from different units. Explicit modelling of the random effects structure will aid correct inference about fixed effects, depending on which level of the system’s hierarchy is being manipulated. In our example, if the fixed effect varies or is manipulated at the level of the clutch, then treating multiple chicks from a single clutch as independent would represent pseudoreplication, which can be controlled carefully by using random effects. Similarly, if fixed effects vary at the level of the chick, then non-independence among clutches or mothers could also be accounted for. Random effects typically represent some grouping variable ( Breslow & Clayton, 1993 ) and allow the estimation of variance in the response variable within and among these groups. This reduces the probability of false positives (Type I error rates) and false negatives (Type II error rates, e.g. Crawley, 2013 ). In addition, inferring the magnitude of variation within and among statistical clusters or hierarchical levels can be highly informative in its own right. In our bird example, understanding whether there is more variation in a focal trait among females within a population, rather than among populations, might be a central goal of the study.”unhoused_relations[2]
relationrandom slopes → Type I error rates — Random slopes control Type I error rates. — “Schielzeth & Forstmeier (2009) ; Barr et al. (2013) and Aarts et al. (2015) show that constraining groups to share a common slope can inflate Type I and Type II errors. Consequently, Grueber et al. (2011) recommend always fitting both random slopes and intercepts where possible. Whether this is feasible or not will depend on the data structure (see ‘Costs to Fitting Random Effects’ section below). Figure 1 describes the differences between random intercept models and those also containing random slopes.”unhoused_relations[3]
weightrandom slopes → Type I error rates — 0.95 — “Schielzeth & Forstmeier (2009) ; Barr et al. (2013) and Aarts et al. (2015) show that constraining groups to share a common slope can inflate Type I and Type II errors. Consequently, Grueber et al. (2011) recommend always fitting both random slopes and intercepts where possible. Whether this is feasible or not will depend on the data structure (see ‘Costs to Fitting Random Effects’ section below). Figure 1 describes the differences between random intercept models and those also containing random slopes.”unhoused_relations[3]
relationpartial pooling → robust biological inference — Partial pooling improves the precision supporting biological inference. — “Random effect models use data from all the groups to estimate the mean and variance of the global distribution of group means. Assuming all group means are drawn from a common distribution causes the estimates of their means to drift towards the global mean μ group . This phenomenon, known as shrinkage ( Gelman & Hill, 2007 ; Kéry, 2010 ), can also lead to smaller and more precise standard errors around means. Shrinkage is strongest for groups with small sample sizes, as the paucity of within-group information to estimate the mean is counteracted by the model using data from other groups to improve the precision of the estimate. This ‘partial pooling’ of the estimates is a principal benefit of fitting something as a random effect ( Gelman & Hill, 2007 ). However, it can feel strange that group means should be shrunk towards the global mean, especially for researchers more used to treating sample means as independent fixed effects. Accordingly, one issue is that variance estimates can be hugely imprecise when there are fewer than five levels of the random grouping variable (intercept or slope; see Harrison, 2015 ). However, thanks to the Central Limit Theorem, the assumption of Gaussian distribution of group means is usually a good one, and the benefits of hierarchical analysis will outweigh the apparent costs of shrinkage.”unhoused_relations[4]
weightpartial pooling → robust biological inference — 0.9 — “Random effect models use data from all the groups to estimate the mean and variance of the global distribution of group means. Assuming all group means are drawn from a common distribution causes the estimates of their means to drift towards the global mean μ group . This phenomenon, known as shrinkage ( Gelman & Hill, 2007 ; Kéry, 2010 ), can also lead to smaller and more precise standard errors around means. Shrinkage is strongest for groups with small sample sizes, as the paucity of within-group information to estimate the mean is counteracted by the model using data from other groups to improve the precision of the estimate. This ‘partial pooling’ of the estimates is a principal benefit of fitting something as a random effect ( Gelman & Hill, 2007 ). However, it can feel strange that group means should be shrunk towards the global mean, especially for researchers more used to treating sample means as independent fixed effects. Accordingly, one issue is that variance estimates can be hugely imprecise when there are fewer than five levels of the random grouping variable (intercept or slope; see Harrison, 2015 ). However, thanks to the Central Limit Theorem, the assumption of Gaussian distribution of group means is usually a good one, and the benefits of hierarchical analysis will outweigh the apparent costs of shrinkage.”unhoused_relations[4]
relationfixed → random effects — Whether an effect is fixed or random depends on the inferential goal. — “Fixed effect estimates prevent us from making predictions for new groups because the model estimates are only relevant to groups in our dataset ( Zuur et al., 2009 , p. 327). Conversely, we can use the estimate of the global distribution of population means to predict for the average group using the mean of the distribution μ group for a random effects model (see Fig. 1 ). We could also sample hypothetical groups from our random effect distribution, as we know its mean and SD ( Zuur & Ieno, 2016 ). Therefore, whether something is fitted as a fixed or random effect can depend on the goal of the analysis: are we only interested in the mean values for each group in our dataset, or do we wish to use our results to extend our predictions to new groups? Even if we do not want to predict to new groups, we might wish to fit something as a random effect to take advantage of the shrinkage effect and improved parameter estimation accuracy.”unhoused_relations[5]
weightfixed → random effects — 0.9 — “Fixed effect estimates prevent us from making predictions for new groups because the model estimates are only relevant to groups in our dataset ( Zuur et al., 2009 , p. 327). Conversely, we can use the estimate of the global distribution of population means to predict for the average group using the mean of the distribution μ group for a random effects model (see Fig. 1 ). We could also sample hypothetical groups from our random effect distribution, as we know its mean and SD ( Zuur & Ieno, 2016 ). Therefore, whether something is fitted as a fixed or random effect can depend on the goal of the analysis: are we only interested in the mean values for each group in our dataset, or do we wish to use our results to extend our predictions to new groups? Even if we do not want to predict to new groups, we might wish to fit something as a random effect to take advantage of the shrinkage effect and improved parameter estimation accuracy.”unhoused_relations[5]
relationpredictor centering → model convergence issues — Centering often solves convergence problems. — “Transformations of predictor variables are common, and can improve model performance and interpretability ( Gelman & Hill, 2007 ). Two common transformations for continuous predictors are (i) predictor centering, the mean of predictor x is subtracted from every value in x, giving a variable with mean 0 and SD on the original scale of x ; and (ii) predictor standardising, where x is centred and then divided by the SD of x , giving a variable with mean 0 and SD 1. Rescaling the mean of predictors containing large values (e.g. rainfall measured in 1,000s of millimetre) through centring/standardising will often solve convergence problems, in part because the estimation of intercepts is brought into the main body of the data themselves. Both approaches also remove the correlation between main effects and their interactions, making main effects more easily interpretable when models also contain interactions ( Schielzeth, 2010 ). Note that this collinearity among coefficients is distinct from collinearity between two separate predictors (see above). Centring and standardising by the mean of a variable changes the interpretation of the model intercept to the value of the outcome expected when x is at its mean value. Standardising further adjusts the interpretation of the coefficient (slope) for x in the model to the change in the outcome variable for a 1 SD change in the value of x . Scaling is therefore a useful tool to improve the stability of models and likelihood of model convergence, and the accuracy of parameter estimates if variables in a model are on large (e.g. 1,000s of millimetre of rainfall), or vastly different scales. When using scaling, care must be taken in the interpretation and graphical representation of outcomes.”unhoused_relations[6]
weightpredictor centering → model convergence issues — 0.9 — “Transformations of predictor variables are common, and can improve model performance and interpretability ( Gelman & Hill, 2007 ). Two common transformations for continuous predictors are (i) predictor centering, the mean of predictor x is subtracted from every value in x, giving a variable with mean 0 and SD on the original scale of x ; and (ii) predictor standardising, where x is centred and then divided by the SD of x , giving a variable with mean 0 and SD 1. Rescaling the mean of predictors containing large values (e.g. rainfall measured in 1,000s of millimetre) through centring/standardising will often solve convergence problems, in part because the estimation of intercepts is brought into the main body of the data themselves. Both approaches also remove the correlation between main effects and their interactions, making main effects more easily interpretable when models also contain interactions ( Schielzeth, 2010 ). Note that this collinearity among coefficients is distinct from collinearity between two separate predictors (see above). Centring and standardising by the mean of a variable changes the interpretation of the model intercept to the value of the outcome expected when x is at its mean value. Standardising further adjusts the interpretation of the coefficient (slope) for x in the model to the change in the outcome variable for a 1 SD change in the value of x . Scaling is therefore a useful tool to improve the stability of models and likelihood of model convergence, and the accuracy of parameter estimates if variables in a model are on large (e.g. 1,000s of millimetre of rainfall), or vastly different scales. When using scaling, care must be taken in the interpretation and graphical representation of outcomes.”unhoused_relations[6]
relationobservation-level random effect → overdispersion — An observation-level random effect models overdispersion. — “Models with a Gaussian (Normal) error structure do not require adjustment for overdispersion, as Gaussian models do not assume a specific mean-variance relationship. For generalized mixed models (GLMMs), however (e.g. Poisson, Binomial), the variance of the data can be greater than predicted by the error structure of the model ( Hilbe, 2011 ). Overdispersion can be caused by several processes influencing data, including zero-inflation, aggregation (non-independence) among counts, or both ( Zuur et al., 2009 ). The presence of overdispersion in a model suggests it is a bad fit, and standard errors of estimates will likely be biased unless overdispersion is accounted for ( Harrison, 2014 ). The use of canonical binomial and Poisson error structures, when residuals are overdispersed, tends to result in Type I errors because standard errors are underestimated. Adding an observation-level random effect (OLRE) to overdispersed Poisson or Binomial models can model the overdispersion and give more accurate estimates of standard errors ( Harrison, 2014 , 2015 ). However, OLRE models may yield inferior fit and/or biased parameter estimates compared to models using compound probability distributions such as the Negative-Binomial for count data ( Hilbe, 2011 ; Harrison, 2014 ) or Beta-Binomial for proportion data ( Harrison, 2015 ), and so it is good practice to assess the relative fit of both types of model using AIC before proceeding ( Zuur et al., 2009 ). Researchers very rarely report the overdispersion statistic (but see Elston et al., 2001 ), and it should be made a matter of routine. See “Assessing Model Fit Through Simulation” Section for advice on how to quantify and model overdispersion. Note that models can also be underdispersed ( less variance than expected/predicted by the model, but the tools for dealing with underdispersion are less well developed ( Zuur et al., 2009 ). The spaMM package ( Rousset & Ferdy, 2014 ) can fit models that can handle both overdispersion and underdispersion.”unhoused_relations[7]
weightobservation-level random effect → overdispersion — 0.95 — “Models with a Gaussian (Normal) error structure do not require adjustment for overdispersion, as Gaussian models do not assume a specific mean-variance relationship. For generalized mixed models (GLMMs), however (e.g. Poisson, Binomial), the variance of the data can be greater than predicted by the error structure of the model ( Hilbe, 2011 ). Overdispersion can be caused by several processes influencing data, including zero-inflation, aggregation (non-independence) among counts, or both ( Zuur et al., 2009 ). The presence of overdispersion in a model suggests it is a bad fit, and standard errors of estimates will likely be biased unless overdispersion is accounted for ( Harrison, 2014 ). The use of canonical binomial and Poisson error structures, when residuals are overdispersed, tends to result in Type I errors because standard errors are underestimated. Adding an observation-level random effect (OLRE) to overdispersed Poisson or Binomial models can model the overdispersion and give more accurate estimates of standard errors ( Harrison, 2014 , 2015 ). However, OLRE models may yield inferior fit and/or biased parameter estimates compared to models using compound probability distributions such as the Negative-Binomial for count data ( Hilbe, 2011 ; Harrison, 2014 ) or Beta-Binomial for proportion data ( Harrison, 2015 ), and so it is good practice to assess the relative fit of both types of model using AIC before proceeding ( Zuur et al., 2009 ). Researchers very rarely report the overdispersion statistic (but see Elston et al., 2001 ), and it should be made a matter of routine. See “Assessing Model Fit Through Simulation” Section for advice on how to quantify and model overdispersion. Note that models can also be underdispersed ( less variance than expected/predicted by the model, but the tools for dealing with underdispersion are less well developed ( Zuur et al., 2009 ). The spaMM package ( Rousset & Ferdy, 2014 ) can fit models that can handle both overdispersion and underdispersion.”unhoused_relations[7]
relationoverdispersion → standard errors — Unaccounted overdispersion biases standard errors. — “Models with a Gaussian (Normal) error structure do not require adjustment for overdispersion, as Gaussian models do not assume a specific mean-variance relationship. For generalized mixed models (GLMMs), however (e.g. Poisson, Binomial), the variance of the data can be greater than predicted by the error structure of the model ( Hilbe, 2011 ). Overdispersion can be caused by several processes influencing data, including zero-inflation, aggregation (non-independence) among counts, or both ( Zuur et al., 2009 ). The presence of overdispersion in a model suggests it is a bad fit, and standard errors of estimates will likely be biased unless overdispersion is accounted for ( Harrison, 2014 ). The use of canonical binomial and Poisson error structures, when residuals are overdispersed, tends to result in Type I errors because standard errors are underestimated. Adding an observation-level random effect (OLRE) to overdispersed Poisson or Binomial models can model the overdispersion and give more accurate estimates of standard errors ( Harrison, 2014 , 2015 ). However, OLRE models may yield inferior fit and/or biased parameter estimates compared to models using compound probability distributions such as the Negative-Binomial for count data ( Hilbe, 2011 ; Harrison, 2014 ) or Beta-Binomial for proportion data ( Harrison, 2015 ), and so it is good practice to assess the relative fit of both types of model using AIC before proceeding ( Zuur et al., 2009 ). Researchers very rarely report the overdispersion statistic (but see Elston et al., 2001 ), and it should be made a matter of routine. See “Assessing Model Fit Through Simulation” Section for advice on how to quantify and model overdispersion. Note that models can also be underdispersed ( less variance than expected/predicted by the model, but the tools for dealing with underdispersion are less well developed ( Zuur et al., 2009 ). The spaMM package ( Rousset & Ferdy, 2014 ) can fit models that can handle both overdispersion and underdispersion.”unhoused_relations[8]
weightoverdispersion → standard errors — 0.9 — “Models with a Gaussian (Normal) error structure do not require adjustment for overdispersion, as Gaussian models do not assume a specific mean-variance relationship. For generalized mixed models (GLMMs), however (e.g. Poisson, Binomial), the variance of the data can be greater than predicted by the error structure of the model ( Hilbe, 2011 ). Overdispersion can be caused by several processes influencing data, including zero-inflation, aggregation (non-independence) among counts, or both ( Zuur et al., 2009 ). The presence of overdispersion in a model suggests it is a bad fit, and standard errors of estimates will likely be biased unless overdispersion is accounted for ( Harrison, 2014 ). The use of canonical binomial and Poisson error structures, when residuals are overdispersed, tends to result in Type I errors because standard errors are underestimated. Adding an observation-level random effect (OLRE) to overdispersed Poisson or Binomial models can model the overdispersion and give more accurate estimates of standard errors ( Harrison, 2014 , 2015 ). However, OLRE models may yield inferior fit and/or biased parameter estimates compared to models using compound probability distributions such as the Negative-Binomial for count data ( Hilbe, 2011 ; Harrison, 2014 ) or Beta-Binomial for proportion data ( Harrison, 2015 ), and so it is good practice to assess the relative fit of both types of model using AIC before proceeding ( Zuur et al., 2009 ). Researchers very rarely report the overdispersion statistic (but see Elston et al., 2001 ), and it should be made a matter of routine. See “Assessing Model Fit Through Simulation” Section for advice on how to quantify and model overdispersion. Note that models can also be underdispersed ( less variance than expected/predicted by the model, but the tools for dealing with underdispersion are less well developed ( Zuur et al., 2009 ). The spaMM package ( Rousset & Ferdy, 2014 ) can fit models that can handle both overdispersion and underdispersion.”unhoused_relations[8]
relationmarginal R 2 → conditional R 2 — Marginal and conditional R-squared report fixed-only and whole-model explained variance respectively. — “The strength of the Nakagawa & Schielzeth (2013) method for GLMMs is that it returns two complementary R 2 values: the marginal R 2 encompassing variance explained by only the fixed effects, and the conditional R 2 comprising variance explained by both fixed and random effects i.e. the variance explained by the whole model ( Nakagawa & Schielzeth, 2013 ). Ideally, both should be reported in publications as they provide different information; which one is more ‘useful’ may depend on the rationale for specifying random effects in the first instance. Recently, Nakagawa, Johnson & Schielzeth (2017) expanded their R 2 method to handle models with compound probability distributions like the Negative Binomial error family. Note that when OLREs are included (see ‘Overdispersion’ section above), the conditional R 2 becomes less useful as a measure of explained variance because it includes the extra-parametric dispersion being modelled, but has no predictive power ( Harrison, 2014 ).”unhoused_relations[9]
relationsimulation → model fit — Simulation assesses model fit by comparing observed and model-generated statistics. — “Simulation is a powerful tool for assessing model fit ( Gelman & Hill, 2007 ; Kéry, 2010 ; Zuur & Ieno, 2016 ), but is rarely used. The premise here is simple: when simulating a response variable from a given set of parameter estimates (a model), the fit of the model to those simulated ‘ideal’ response data should be comparable to the model’s fit to the real response variable ( Kéry, 2010 ). Each iteration yields a simulated dataset that allows calculation of a statistic of interest such as the sum of squared residuals ( Kéry, 2010 ), the overdispersion statistic ( Harrison, 2014 ) or the percentage of zeroes for a Poisson model ( Zuur & Ieno, 2016 ). If the model is a good fit, after a sufficiently large number of iterations (e.g. 10,000) the distribution of this statistic should encompass the observed statistic in the real data. Significant deviations outside of that distribution indicate the model is a poor fit ( Kéry, 2010 ). Figure 3 shows an example of using simulation to assess the fit of a Poisson GLMM. After fitting a GLMM to count data, we may wish to check for overdispersion and/or zero-inflation, the presence of which might suggest we need to adjust our modelling strategy. Simulating 10,000 datasets from our model reveals that the proportion of zeroes in our real data is comparable to simulated expectation ( Fig. 3A ). Conversely, simulating 1,000 datasets and refitting our model to each dataset, we see that the sum of the squared Pearson residuals for the real data is far larger than simulated expectation ( Fig. 3B ), giving evidence of overdispersion ( Harrison, 2014 ). We can use the simulated frequency distribution of this test statistic to derive a mean and 95% confidence interval for the overdispersion by calculating the ratio of our test statistic to the simulated values ( Harrison, 2014 ). The dispersion statistic for our model is 3.16 (95% CI [2.77–3.59]). Thus, simulations have allowed us to conclude that our model is overdispersed, but that this overdispersion is not due to zero-inflation. All R code for reproducing these simulations is provided in the Figshare: DOI 10.6084/m9.figshare.5173396 .”unhoused_relations[10]
weightsimulation → model fit — 0.95 — “Simulation is a powerful tool for assessing model fit ( Gelman & Hill, 2007 ; Kéry, 2010 ; Zuur & Ieno, 2016 ), but is rarely used. The premise here is simple: when simulating a response variable from a given set of parameter estimates (a model), the fit of the model to those simulated ‘ideal’ response data should be comparable to the model’s fit to the real response variable ( Kéry, 2010 ). Each iteration yields a simulated dataset that allows calculation of a statistic of interest such as the sum of squared residuals ( Kéry, 2010 ), the overdispersion statistic ( Harrison, 2014 ) or the percentage of zeroes for a Poisson model ( Zuur & Ieno, 2016 ). If the model is a good fit, after a sufficiently large number of iterations (e.g. 10,000) the distribution of this statistic should encompass the observed statistic in the real data. Significant deviations outside of that distribution indicate the model is a poor fit ( Kéry, 2010 ). Figure 3 shows an example of using simulation to assess the fit of a Poisson GLMM. After fitting a GLMM to count data, we may wish to check for overdispersion and/or zero-inflation, the presence of which might suggest we need to adjust our modelling strategy. Simulating 10,000 datasets from our model reveals that the proportion of zeroes in our real data is comparable to simulated expectation ( Fig. 3A ). Conversely, simulating 1,000 datasets and refitting our model to each dataset, we see that the sum of the squared Pearson residuals for the real data is far larger than simulated expectation ( Fig. 3B ), giving evidence of overdispersion ( Harrison, 2014 ). We can use the simulated frequency distribution of this test statistic to derive a mean and 95% confidence interval for the overdispersion by calculating the ratio of our test statistic to the simulated values ( Harrison, 2014 ). The dispersion statistic for our model is 3.16 (95% CI [2.77–3.59]). Thus, simulations have allowed us to conclude that our model is overdispersed, but that this overdispersion is not due to zero-inflation. All R code for reproducing these simulations is provided in the Figshare: DOI 10.6084/m9.figshare.5173396 .”unhoused_relations[10]
relationdeleting → statistical power — Deleting incomplete rows reduces statistical power. — “When collecting ecological data it is often not possible to measure all of the predictors of interest for every measurement of the dependant variable. Such missing data are a common feature of ecological datasets, however the impacts of this have seldom been considered in the literature ( Nakagawa & Freckleton, 2011 ). Incomplete rows of data in dataframes i.e. those missing predictor and/or response variables are often dealt with by deleting or ignoring those rows of data entirely when modelling ( Nakagawa & Freckleton, 2008 ), although this may result in biased parameter estimates and, depending on the mechanism underlying the missing data, reduces statistical power ( Nakagawa & Freckleton, 2008 ). Nakagawa & Freckleton (2011) recommend multiple imputation (MI) as a mechanism for handling non-informative missing data, and highlight the ability of this technique for more accurate estimates, particularly for IT/AIC approaches.”unhoused_relations[11]
weightdeleting → statistical power — 0.7 — “When collecting ecological data it is often not possible to measure all of the predictors of interest for every measurement of the dependant variable. Such missing data are a common feature of ecological datasets, however the impacts of this have seldom been considered in the literature ( Nakagawa & Freckleton, 2011 ). Incomplete rows of data in dataframes i.e. those missing predictor and/or response variables are often dealt with by deleting or ignoring those rows of data entirely when modelling ( Nakagawa & Freckleton, 2008 ), although this may result in biased parameter estimates and, depending on the mechanism underlying the missing data, reduces statistical power ( Nakagawa & Freckleton, 2008 ). Nakagawa & Freckleton (2011) recommend multiple imputation (MI) as a mechanism for handling non-informative missing data, and highlight the ability of this technique for more accurate estimates, particularly for IT/AIC approaches.”unhoused_relations[11]
relationmultiple imputation → biased parameter estimates — Multiple imputation supports more accurate estimates under non-informative missingness. — “When collecting ecological data it is often not possible to measure all of the predictors of interest for every measurement of the dependant variable. Such missing data are a common feature of ecological datasets, however the impacts of this have seldom been considered in the literature ( Nakagawa & Freckleton, 2011 ). Incomplete rows of data in dataframes i.e. those missing predictor and/or response variables are often dealt with by deleting or ignoring those rows of data entirely when modelling ( Nakagawa & Freckleton, 2008 ), although this may result in biased parameter estimates and, depending on the mechanism underlying the missing data, reduces statistical power ( Nakagawa & Freckleton, 2008 ). Nakagawa & Freckleton (2011) recommend multiple imputation (MI) as a mechanism for handling non-informative missing data, and highlight the ability of this technique for more accurate estimates, particularly for IT/AIC approaches.”unhoused_relations[12]
weightmultiple imputation → biased parameter estimates — 0.9 — “When collecting ecological data it is often not possible to measure all of the predictors of interest for every measurement of the dependant variable. Such missing data are a common feature of ecological datasets, however the impacts of this have seldom been considered in the literature ( Nakagawa & Freckleton, 2011 ). Incomplete rows of data in dataframes i.e. those missing predictor and/or response variables are often dealt with by deleting or ignoring those rows of data entirely when modelling ( Nakagawa & Freckleton, 2008 ), although this may result in biased parameter estimates and, depending on the mechanism underlying the missing data, reduces statistical power ( Nakagawa & Freckleton, 2008 ). Nakagawa & Freckleton (2011) recommend multiple imputation (MI) as a mechanism for handling non-informative missing data, and highlight the ability of this technique for more accurate estimates, particularly for IT/AIC approaches.”unhoused_relations[12]
relationall-subsets selection → overparameterised models — All-subsets selection makes analyses prone to uninformative overfitted models. — “All-Subsets selection is the act of fitting a global model, often containing every possible interaction, and then fitting every possible nested model. On the surface, all-subsets might appear to be a convenient and fast way of ‘uncovering’ the causal relationships in the data. All-subsets selection of enormous global models containing large numbers of predictors and their interactions makes analyses extremely prone to including uninformative parameters and ‘overfitted’ models. Burnham & Anderson (2002) caution strongly against all-subsets selection, and instead advocate ‘hard thinking’ about the hypotheses underlying the data. If adopting an all subsets approach, it is worth noting the number of models to consider increases exponentially with the number of predictors, where five predictors require 2 5 (32) models to be fitted, whilst 10 predictors requires 1,024 models, both without including any interactions but including the null model.”unhoused_relations[13]
weightall-subsets selection → overparameterised models — 0.8 — “All-Subsets selection is the act of fitting a global model, often containing every possible interaction, and then fitting every possible nested model. On the surface, all-subsets might appear to be a convenient and fast way of ‘uncovering’ the causal relationships in the data. All-subsets selection of enormous global models containing large numbers of predictors and their interactions makes analyses extremely prone to including uninformative parameters and ‘overfitted’ models. Burnham & Anderson (2002) caution strongly against all-subsets selection, and instead advocate ‘hard thinking’ about the hypotheses underlying the data. If adopting an all subsets approach, it is worth noting the number of models to consider increases exponentially with the number of predictors, where five predictors require 2 5 (32) models to be fitted, whilst 10 predictors requires 1,024 models, both without including any interactions but including the null model.”unhoused_relations[13]
relationAkaike weight → variable importance — Summed Akaike weights do not directly measure individual predictor importance. — “With a top model set in hand, it is common practice to use the summed Akaike weights of every model in that set in which a predictor of interest occurs as a measure of ‘variable importance’ ( Grueber et al., 2011 ). Recent work has demonstrated that this approach is flawed because Akaike weights are interpreted as relative model probabilities, and give no information about the importance of individual predictors in a model ( Cade, 2015 ), and fail to distinguish between variables with weak or strong effects ( Galipaud et al., 2014 ; Galipaud, Gillingham & Dechaume-Moncharmont, 2017 ). The sum of Akaike weights as a measure of variable importance may at best be a measure of how likely a variable would be included in the top model set after repeated sampling of the data ( Burnham & Anderson, 2002 ; Cade, 2015 , but see Galipaud, Gillingham & Dechaume-Moncharmont, 2017 ). A better measure of variable importance would be to compare standardised effect sizes ( Schielzeth, 2010 ; Cade, 2015 ). However, summed Akaike weights for variables in top model sets still represent useful quantitative evidence ( Giam & Olden, 2016 ); they should be reported in model summary tables, and ideally interpreted in tandem with model averaged effect sizes for individual parameters.”unhoused_relations[14]
weightAkaike weight → variable importance — 0.95 — “With a top model set in hand, it is common practice to use the summed Akaike weights of every model in that set in which a predictor of interest occurs as a measure of ‘variable importance’ ( Grueber et al., 2011 ). Recent work has demonstrated that this approach is flawed because Akaike weights are interpreted as relative model probabilities, and give no information about the importance of individual predictors in a model ( Cade, 2015 ), and fail to distinguish between variables with weak or strong effects ( Galipaud et al., 2014 ; Galipaud, Gillingham & Dechaume-Moncharmont, 2017 ). The sum of Akaike weights as a measure of variable importance may at best be a measure of how likely a variable would be included in the top model set after repeated sampling of the data ( Burnham & Anderson, 2002 ; Cade, 2015 , but see Galipaud, Gillingham & Dechaume-Moncharmont, 2017 ). A better measure of variable importance would be to compare standardised effect sizes ( Schielzeth, 2010 ; Cade, 2015 ). However, summed Akaike weights for variables in top model sets still represent useful quantitative evidence ( Giam & Olden, 2016 ); they should be reported in model summary tables, and ideally interpreted in tandem with model averaged effect sizes for individual parameters.”unhoused_relations[14]
relationcross-validation → robust biological inference — Held-out cross-validation should result in more robust inference. — “Global models should not contain huge numbers of variables and interactions without prior thought about what the models represent for a study system. In cases where all-subsets selection from a global model is performed, it is important to view these model selection exercises as exploratory ( Symonds & Moussalli, 2011 ), and hold some data back from these exploratory analyses to be used for cross-validation with the top model(s) (see Dochtermann & Jenkins, 2011 and references therein). Here, 90% of the data can be used to fit the model(s), with the remaining 10% used for confirmatory analysis to quantify how well the model(s) perform for prediction ( Zuur & Ieno, 2016 ). Such an approach requires a huge amount of data ( Dochtermann & Jenkins, 2011 ), but cross-validation to validate a model’s predictive ability is rare and should result in more robust inference (see also Fieberg & Johnson, 2015 ).”unhoused_relations[15]
weightcross-validation → robust biological inference — 0.65 — “Global models should not contain huge numbers of variables and interactions without prior thought about what the models represent for a study system. In cases where all-subsets selection from a global model is performed, it is important to view these model selection exercises as exploratory ( Symonds & Moussalli, 2011 ), and hold some data back from these exploratory analyses to be used for cross-validation with the top model(s) (see Dochtermann & Jenkins, 2011 and references therein). Here, 90% of the data can be used to fit the model(s), with the remaining 10% used for confirmatory analysis to quantify how well the model(s) perform for prediction ( Zuur & Ieno, 2016 ). Such an approach requires a huge amount of data ( Dochtermann & Jenkins, 2011 ), but cross-validation to validate a model’s predictive ability is rare and should result in more robust inference (see also Fieberg & Johnson, 2015 ).”unhoused_relations[15]
no type for thislinear mixed effects models → traditional linear models — Mixed-effects models extend traditional linear models. — “Linear mixed effects models and generalized linear mixed effects models (GLMMs), have increased in popularity in the last decade ( Zuur et al., 2009 ; Bolker et al., 2009 ). Both extend traditional linear models to include a combination of fixed and random effects as predictor variables. The introduction of random effects affords several non-exclusive benefits. First, biological datasets are often highly structured, containing clusters of non-independent observational units that are hierarchical in nature, and LMMs allow us to explicitly model the non-independence in such data. For example, we might measure several chicks from the same clutch, and several clutches from different females, or we might take repeated measurements of the same chick’s growth rate over time. In both cases, we might expect that measurements within a statistical unit (here, an individual, or a female’s clutch) might be more similar than measurements from different units. Explicit modelling of the random effects structure will aid correct inference about fixed effects, depending on which level of the system’s hierarchy is being manipulated. In our example, if the fixed effect varies or is manipulated at the level of the clutch, then treating multiple chicks from a single clutch as independent would represent pseudoreplication, which can be controlled carefully by using random effects. Similarly, if fixed effects vary at the level of the chick, then non-independence among clutches or mothers could also be accounted for. Random effects typically represent some grouping variable ( Breslow & Clayton, 1993 ) and allow the estimation of variance in the response variable within and among these groups. This reduces the probability of false positives (Type I error rates) and false negatives (Type II error rates, e.g. Crawley, 2013 ). In addition, inferring the magnitude of variation within and among statistical clusters or hierarchical levels can be highly informative in its own right. In our bird example, understanding whether there is more variation in a focal trait among females within a population, rather than among populations, might be a central goal of the study.”unhoused_relations[0]
no type for thisrandom slopes → random coefficients models — Random slope models are also often called random coefficients models. — “Fitting random slope models in ecology is not very common. Often, researchers fit random intercepts to control for non-independence among measurements of a statistical group (e.g. birds within a woodland), but force variables to have a common slope across all experimental units. However, there is growing evidence that researchers should be fitting random slopes as standard practice in (G)LMMs. Random slope models allow the coefficient of a predictor to vary based on clustering/non-independence in the data (see Fig. 1B ). In our bird example above, we might fit a random slope for the effect of foraging rate on clutch mass given each individual bird ID. That is, the magnitude of the effect foraging rate on resultant clutch mass differs among birds. Random slope models (also often called random coefficients models, Kéry, 2010 ) apply to both continuous and factor variables. For example, if we had applied a two-level feeding treatment to birds in each woodland (vitamin supplementation or control), we might also expect the magnitude of the effect of receiving vitamin supplementation to differ depending on which woodland it was applied to. So here we would specify random slopes for the treatment variable given woodland ID.”unhoused_relations[1]
no type for thisrandom effects → pseudoreplication — Random effects control pseudoreplication caused by clustered observations. — “Linear mixed effects models and generalized linear mixed effects models (GLMMs), have increased in popularity in the last decade ( Zuur et al., 2009 ; Bolker et al., 2009 ). Both extend traditional linear models to include a combination of fixed and random effects as predictor variables. The introduction of random effects affords several non-exclusive benefits. First, biological datasets are often highly structured, containing clusters of non-independent observational units that are hierarchical in nature, and LMMs allow us to explicitly model the non-independence in such data. For example, we might measure several chicks from the same clutch, and several clutches from different females, or we might take repeated measurements of the same chick’s growth rate over time. In both cases, we might expect that measurements within a statistical unit (here, an individual, or a female’s clutch) might be more similar than measurements from different units. Explicit modelling of the random effects structure will aid correct inference about fixed effects, depending on which level of the system’s hierarchy is being manipulated. In our example, if the fixed effect varies or is manipulated at the level of the clutch, then treating multiple chicks from a single clutch as independent would represent pseudoreplication, which can be controlled carefully by using random effects. Similarly, if fixed effects vary at the level of the chick, then non-independence among clutches or mothers could also be accounted for. Random effects typically represent some grouping variable ( Breslow & Clayton, 1993 ) and allow the estimation of variance in the response variable within and among these groups. This reduces the probability of false positives (Type I error rates) and false negatives (Type II error rates, e.g. Crawley, 2013 ). In addition, inferring the magnitude of variation within and among statistical clusters or hierarchical levels can be highly informative in its own right. In our bird example, understanding whether there is more variation in a focal trait among females within a population, rather than among populations, might be a central goal of the study.”unhoused_relations[2]
no type for thisrandom slopes → Type I error rates — Random slopes control Type I error rates. — “Schielzeth & Forstmeier (2009) ; Barr et al. (2013) and Aarts et al. (2015) show that constraining groups to share a common slope can inflate Type I and Type II errors. Consequently, Grueber et al. (2011) recommend always fitting both random slopes and intercepts where possible. Whether this is feasible or not will depend on the data structure (see ‘Costs to Fitting Random Effects’ section below). Figure 1 describes the differences between random intercept models and those also containing random slopes.”unhoused_relations[3]
no type for thispartial pooling → robust biological inference — Partial pooling improves the precision supporting biological inference. — “Random effect models use data from all the groups to estimate the mean and variance of the global distribution of group means. Assuming all group means are drawn from a common distribution causes the estimates of their means to drift towards the global mean μ group . This phenomenon, known as shrinkage ( Gelman & Hill, 2007 ; Kéry, 2010 ), can also lead to smaller and more precise standard errors around means. Shrinkage is strongest for groups with small sample sizes, as the paucity of within-group information to estimate the mean is counteracted by the model using data from other groups to improve the precision of the estimate. This ‘partial pooling’ of the estimates is a principal benefit of fitting something as a random effect ( Gelman & Hill, 2007 ). However, it can feel strange that group means should be shrunk towards the global mean, especially for researchers more used to treating sample means as independent fixed effects. Accordingly, one issue is that variance estimates can be hugely imprecise when there are fewer than five levels of the random grouping variable (intercept or slope; see Harrison, 2015 ). However, thanks to the Central Limit Theorem, the assumption of Gaussian distribution of group means is usually a good one, and the benefits of hierarchical analysis will outweigh the apparent costs of shrinkage.”unhoused_relations[4]
no type for thisfixed → random effects — Whether an effect is fixed or random depends on the inferential goal. — “Fixed effect estimates prevent us from making predictions for new groups because the model estimates are only relevant to groups in our dataset ( Zuur et al., 2009 , p. 327). Conversely, we can use the estimate of the global distribution of population means to predict for the average group using the mean of the distribution μ group for a random effects model (see Fig. 1 ). We could also sample hypothetical groups from our random effect distribution, as we know its mean and SD ( Zuur & Ieno, 2016 ). Therefore, whether something is fitted as a fixed or random effect can depend on the goal of the analysis: are we only interested in the mean values for each group in our dataset, or do we wish to use our results to extend our predictions to new groups? Even if we do not want to predict to new groups, we might wish to fit something as a random effect to take advantage of the shrinkage effect and improved parameter estimation accuracy.”unhoused_relations[5]
no type for thispredictor centering → model convergence issues — Centering often solves convergence problems. — “Transformations of predictor variables are common, and can improve model performance and interpretability ( Gelman & Hill, 2007 ). Two common transformations for continuous predictors are (i) predictor centering, the mean of predictor x is subtracted from every value in x, giving a variable with mean 0 and SD on the original scale of x ; and (ii) predictor standardising, where x is centred and then divided by the SD of x , giving a variable with mean 0 and SD 1. Rescaling the mean of predictors containing large values (e.g. rainfall measured in 1,000s of millimetre) through centring/standardising will often solve convergence problems, in part because the estimation of intercepts is brought into the main body of the data themselves. Both approaches also remove the correlation between main effects and their interactions, making main effects more easily interpretable when models also contain interactions ( Schielzeth, 2010 ). Note that this collinearity among coefficients is distinct from collinearity between two separate predictors (see above). Centring and standardising by the mean of a variable changes the interpretation of the model intercept to the value of the outcome expected when x is at its mean value. Standardising further adjusts the interpretation of the coefficient (slope) for x in the model to the change in the outcome variable for a 1 SD change in the value of x . Scaling is therefore a useful tool to improve the stability of models and likelihood of model convergence, and the accuracy of parameter estimates if variables in a model are on large (e.g. 1,000s of millimetre of rainfall), or vastly different scales. When using scaling, care must be taken in the interpretation and graphical representation of outcomes.”unhoused_relations[6]
no type for thisobservation-level random effect → overdispersion — An observation-level random effect models overdispersion. — “Models with a Gaussian (Normal) error structure do not require adjustment for overdispersion, as Gaussian models do not assume a specific mean-variance relationship. For generalized mixed models (GLMMs), however (e.g. Poisson, Binomial), the variance of the data can be greater than predicted by the error structure of the model ( Hilbe, 2011 ). Overdispersion can be caused by several processes influencing data, including zero-inflation, aggregation (non-independence) among counts, or both ( Zuur et al., 2009 ). The presence of overdispersion in a model suggests it is a bad fit, and standard errors of estimates will likely be biased unless overdispersion is accounted for ( Harrison, 2014 ). The use of canonical binomial and Poisson error structures, when residuals are overdispersed, tends to result in Type I errors because standard errors are underestimated. Adding an observation-level random effect (OLRE) to overdispersed Poisson or Binomial models can model the overdispersion and give more accurate estimates of standard errors ( Harrison, 2014 , 2015 ). However, OLRE models may yield inferior fit and/or biased parameter estimates compared to models using compound probability distributions such as the Negative-Binomial for count data ( Hilbe, 2011 ; Harrison, 2014 ) or Beta-Binomial for proportion data ( Harrison, 2015 ), and so it is good practice to assess the relative fit of both types of model using AIC before proceeding ( Zuur et al., 2009 ). Researchers very rarely report the overdispersion statistic (but see Elston et al., 2001 ), and it should be made a matter of routine. See “Assessing Model Fit Through Simulation” Section for advice on how to quantify and model overdispersion. Note that models can also be underdispersed ( less variance than expected/predicted by the model, but the tools for dealing with underdispersion are less well developed ( Zuur et al., 2009 ). The spaMM package ( Rousset & Ferdy, 2014 ) can fit models that can handle both overdispersion and underdispersion.”unhoused_relations[7]
no type for thisoverdispersion → standard errors — Unaccounted overdispersion biases standard errors. — “Models with a Gaussian (Normal) error structure do not require adjustment for overdispersion, as Gaussian models do not assume a specific mean-variance relationship. For generalized mixed models (GLMMs), however (e.g. Poisson, Binomial), the variance of the data can be greater than predicted by the error structure of the model ( Hilbe, 2011 ). Overdispersion can be caused by several processes influencing data, including zero-inflation, aggregation (non-independence) among counts, or both ( Zuur et al., 2009 ). The presence of overdispersion in a model suggests it is a bad fit, and standard errors of estimates will likely be biased unless overdispersion is accounted for ( Harrison, 2014 ). The use of canonical binomial and Poisson error structures, when residuals are overdispersed, tends to result in Type I errors because standard errors are underestimated. Adding an observation-level random effect (OLRE) to overdispersed Poisson or Binomial models can model the overdispersion and give more accurate estimates of standard errors ( Harrison, 2014 , 2015 ). However, OLRE models may yield inferior fit and/or biased parameter estimates compared to models using compound probability distributions such as the Negative-Binomial for count data ( Hilbe, 2011 ; Harrison, 2014 ) or Beta-Binomial for proportion data ( Harrison, 2015 ), and so it is good practice to assess the relative fit of both types of model using AIC before proceeding ( Zuur et al., 2009 ). Researchers very rarely report the overdispersion statistic (but see Elston et al., 2001 ), and it should be made a matter of routine. See “Assessing Model Fit Through Simulation” Section for advice on how to quantify and model overdispersion. Note that models can also be underdispersed ( less variance than expected/predicted by the model, but the tools for dealing with underdispersion are less well developed ( Zuur et al., 2009 ). The spaMM package ( Rousset & Ferdy, 2014 ) can fit models that can handle both overdispersion and underdispersion.”unhoused_relations[8]
no type for thismarginal R 2 → conditional R 2 — Marginal and conditional R-squared report fixed-only and whole-model explained variance respectively. — “The strength of the Nakagawa & Schielzeth (2013) method for GLMMs is that it returns two complementary R 2 values: the marginal R 2 encompassing variance explained by only the fixed effects, and the conditional R 2 comprising variance explained by both fixed and random effects i.e. the variance explained by the whole model ( Nakagawa & Schielzeth, 2013 ). Ideally, both should be reported in publications as they provide different information; which one is more ‘useful’ may depend on the rationale for specifying random effects in the first instance. Recently, Nakagawa, Johnson & Schielzeth (2017) expanded their R 2 method to handle models with compound probability distributions like the Negative Binomial error family. Note that when OLREs are included (see ‘Overdispersion’ section above), the conditional R 2 becomes less useful as a measure of explained variance because it includes the extra-parametric dispersion being modelled, but has no predictive power ( Harrison, 2014 ).”unhoused_relations[9]
no type for thissimulation → model fit — Simulation assesses model fit by comparing observed and model-generated statistics. — “Simulation is a powerful tool for assessing model fit ( Gelman & Hill, 2007 ; Kéry, 2010 ; Zuur & Ieno, 2016 ), but is rarely used. The premise here is simple: when simulating a response variable from a given set of parameter estimates (a model), the fit of the model to those simulated ‘ideal’ response data should be comparable to the model’s fit to the real response variable ( Kéry, 2010 ). Each iteration yields a simulated dataset that allows calculation of a statistic of interest such as the sum of squared residuals ( Kéry, 2010 ), the overdispersion statistic ( Harrison, 2014 ) or the percentage of zeroes for a Poisson model ( Zuur & Ieno, 2016 ). If the model is a good fit, after a sufficiently large number of iterations (e.g. 10,000) the distribution of this statistic should encompass the observed statistic in the real data. Significant deviations outside of that distribution indicate the model is a poor fit ( Kéry, 2010 ). Figure 3 shows an example of using simulation to assess the fit of a Poisson GLMM. After fitting a GLMM to count data, we may wish to check for overdispersion and/or zero-inflation, the presence of which might suggest we need to adjust our modelling strategy. Simulating 10,000 datasets from our model reveals that the proportion of zeroes in our real data is comparable to simulated expectation ( Fig. 3A ). Conversely, simulating 1,000 datasets and refitting our model to each dataset, we see that the sum of the squared Pearson residuals for the real data is far larger than simulated expectation ( Fig. 3B ), giving evidence of overdispersion ( Harrison, 2014 ). We can use the simulated frequency distribution of this test statistic to derive a mean and 95% confidence interval for the overdispersion by calculating the ratio of our test statistic to the simulated values ( Harrison, 2014 ). The dispersion statistic for our model is 3.16 (95% CI [2.77–3.59]). Thus, simulations have allowed us to conclude that our model is overdispersed, but that this overdispersion is not due to zero-inflation. All R code for reproducing these simulations is provided in the Figshare: DOI 10.6084/m9.figshare.5173396 .”unhoused_relations[10]
no type for thisdeleting → statistical power — Deleting incomplete rows reduces statistical power. — “When collecting ecological data it is often not possible to measure all of the predictors of interest for every measurement of the dependant variable. Such missing data are a common feature of ecological datasets, however the impacts of this have seldom been considered in the literature ( Nakagawa & Freckleton, 2011 ). Incomplete rows of data in dataframes i.e. those missing predictor and/or response variables are often dealt with by deleting or ignoring those rows of data entirely when modelling ( Nakagawa & Freckleton, 2008 ), although this may result in biased parameter estimates and, depending on the mechanism underlying the missing data, reduces statistical power ( Nakagawa & Freckleton, 2008 ). Nakagawa & Freckleton (2011) recommend multiple imputation (MI) as a mechanism for handling non-informative missing data, and highlight the ability of this technique for more accurate estimates, particularly for IT/AIC approaches.”unhoused_relations[11]
no type for thismultiple imputation → biased parameter estimates — Multiple imputation supports more accurate estimates under non-informative missingness. — “When collecting ecological data it is often not possible to measure all of the predictors of interest for every measurement of the dependant variable. Such missing data are a common feature of ecological datasets, however the impacts of this have seldom been considered in the literature ( Nakagawa & Freckleton, 2011 ). Incomplete rows of data in dataframes i.e. those missing predictor and/or response variables are often dealt with by deleting or ignoring those rows of data entirely when modelling ( Nakagawa & Freckleton, 2008 ), although this may result in biased parameter estimates and, depending on the mechanism underlying the missing data, reduces statistical power ( Nakagawa & Freckleton, 2008 ). Nakagawa & Freckleton (2011) recommend multiple imputation (MI) as a mechanism for handling non-informative missing data, and highlight the ability of this technique for more accurate estimates, particularly for IT/AIC approaches.”unhoused_relations[12]
no type for thisall-subsets selection → overparameterised models — All-subsets selection makes analyses prone to uninformative overfitted models. — “All-Subsets selection is the act of fitting a global model, often containing every possible interaction, and then fitting every possible nested model. On the surface, all-subsets might appear to be a convenient and fast way of ‘uncovering’ the causal relationships in the data. All-subsets selection of enormous global models containing large numbers of predictors and their interactions makes analyses extremely prone to including uninformative parameters and ‘overfitted’ models. Burnham & Anderson (2002) caution strongly against all-subsets selection, and instead advocate ‘hard thinking’ about the hypotheses underlying the data. If adopting an all subsets approach, it is worth noting the number of models to consider increases exponentially with the number of predictors, where five predictors require 2 5 (32) models to be fitted, whilst 10 predictors requires 1,024 models, both without including any interactions but including the null model.”unhoused_relations[13]
no type for thisAkaike weight → variable importance — Summed Akaike weights do not directly measure individual predictor importance. — “With a top model set in hand, it is common practice to use the summed Akaike weights of every model in that set in which a predictor of interest occurs as a measure of ‘variable importance’ ( Grueber et al., 2011 ). Recent work has demonstrated that this approach is flawed because Akaike weights are interpreted as relative model probabilities, and give no information about the importance of individual predictors in a model ( Cade, 2015 ), and fail to distinguish between variables with weak or strong effects ( Galipaud et al., 2014 ; Galipaud, Gillingham & Dechaume-Moncharmont, 2017 ). The sum of Akaike weights as a measure of variable importance may at best be a measure of how likely a variable would be included in the top model set after repeated sampling of the data ( Burnham & Anderson, 2002 ; Cade, 2015 , but see Galipaud, Gillingham & Dechaume-Moncharmont, 2017 ). A better measure of variable importance would be to compare standardised effect sizes ( Schielzeth, 2010 ; Cade, 2015 ). However, summed Akaike weights for variables in top model sets still represent useful quantitative evidence ( Giam & Olden, 2016 ); they should be reported in model summary tables, and ideally interpreted in tandem with model averaged effect sizes for individual parameters.”unhoused_relations[14]
no type for thiscross-validation → robust biological inference — Held-out cross-validation should result in more robust inference. — “Global models should not contain huge numbers of variables and interactions without prior thought about what the models represent for a study system. In cases where all-subsets selection from a global model is performed, it is important to view these model selection exercises as exploratory ( Symonds & Moussalli, 2011 ), and hold some data back from these exploratory analyses to be used for cross-validation with the top model(s) (see Dochtermann & Jenkins, 2011 and references therein). Here, 90% of the data can be used to fit the model(s), with the remaining 10% used for confirmatory analysis to quantify how well the model(s) perform for prediction ( Zuur & Ieno, 2016 ). Such an approach requires a huge amount of data ( Dochtermann & Jenkins, 2011 ), but cross-validation to validate a model’s predictive ability is rare and should result in more robust inference (see also Fieberg & Johnson, 2015 ).”unhoused_relations[15]
limitationDifferent software packages may produce subtly different mixed-model outputs. — “Linear mixed effects models are powerful yet complex tools. Software advances have made these tools accessible to the non-expert and have become relatively straightforward to fit in widely available statistical packages such as R ( R Core Team, 2016 ). Here we focus on the implementation of LMMs in R, although the majority of the techniques covered here can also be implemented in alternative packages including SAS (SAS Institute, Cary, NC, USA) & SPSS (SPSS Inc., Chicago, IL, USA). It should be noted, however, that due to different computational methods employed by different packages there may be differences in the model outputs generated. These differences will generally be subtle and the overall inferences drawn from the model outputs should be the same.”limitations[0]
limitationMixed models add assumptions, complicate random-effect interpretation, and create test biases. — “Despite this ease of implementation, the correct use of LMMs in the biological sciences is challenging for several reasons: (i) they make additional assumptions about the data to those made in more standard statistical techniques such as general linear models (GLMs), and these assumptions are often violated ( Bolker et al., 2009 ); (ii) interpreting model output correctly can be challenging, especially for the variance components of random effects ( Bolker et al., 2009 ; Zuur et al., 2009 ); (iii) model selection for LMMs presents a unique challenge, irrespective of model selection philosophy, because of biases in the performance of some tests (e.g. Wald tests, Akaike’s Information Criterion (AIC) comparisons) introduced by the presence of random effects ( Vaida & Blanchard, 2005 ; Dominicus et al., 2006 ; Bolker et al., 2009 ). Collectively, these issues mean that the application of LMM techniques to biological problems can be risky and difficult for those that are unfamiliar with them. There have been several excellent papers in recent years on the use of GLMMs in biology ( Bolker et al., 2009 ), the use of information theory (IT) and multi-model inference for studies involving LMMs ( Grueber et al., 2011 ), best practice for data exploration ( Zuur et al., 2009 ) and for conducting statistical analyses for complex datasets ( Zuur & Ieno, 2016 ; Kass et al., 2016 ). At the interface of these excellent guides lies the theme of this paper: an updated guide for the uninitiated through the model fitting and model selection processes when using LMMs. A secondary but no less important aim of the paper is to bring together several key references on the topic of LMMs, and in doing so act as a portal into the primary literature that derives, describes and explains the complex modelling elements in more detail.”limitations[1]
limitationBest-practice heuristics may be suboptimal for unusually complex analyses or data structures. — “We provide a best practice guide covering the full analysis pipeline, from formulating hypotheses, specifying model structure and interpreting the resulting parameter estimates. The reader can digest the entire paper, or snack on each standalone section when required. First, we discuss the advantages and disadvantages of including both fixed and random effects in models. We then address issues of model specification, and choice of error structure and/or data transformation, a topic that has seen some debate in the literature ( O’Hara & Kotze, 2010 ; Ives, 2015 ). We also address methods of model selection, and discuss the relative merits and potential pitfalls of using IT, AIC and multi-model inference in ecology and evolution. At all stages, we provide recommendations for the most sensible manner to proceed in different scenarios. As with all heuristics, there may be situations where these recommendations will not be optimal, perhaps because the required analysis or data structure is particularly complex. If the researcher has concerns about the appropriateness of a particular strategy for a given situation, we recommend that they consult with a statistician who has experience in this area.”limitations[2]
limitationVariance estimates can be highly imprecise with fewer than five random-effect levels. — “Random effect models use data from all the groups to estimate the mean and variance of the global distribution of group means. Assuming all group means are drawn from a common distribution causes the estimates of their means to drift towards the global mean μ group . This phenomenon, known as shrinkage ( Gelman & Hill, 2007 ; Kéry, 2010 ), can also lead to smaller and more precise standard errors around means. Shrinkage is strongest for groups with small sample sizes, as the paucity of within-group information to estimate the mean is counteracted by the model using data from other groups to improve the precision of the estimate. This ‘partial pooling’ of the estimates is a principal benefit of fitting something as a random effect ( Gelman & Hill, 2007 ). However, it can feel strange that group means should be shrunk towards the global mean, especially for researchers more used to treating sample means as independent fixed effects. Accordingly, one issue is that variance estimates can be hugely imprecise when there are fewer than five levels of the random grouping variable (intercept or slope; see Harrison, 2015 ). However, thanks to the Central Limit Theorem, the assumption of Gaussian distribution of group means is usually a good one, and the benefits of hierarchical analysis will outweigh the apparent costs of shrinkage.”limitations[3]
limitationUnbalanced groups and misspecified random effects can make GLMM estimates unreliable. — “Random effect models have several desirable properties (see above), but their use comes with some caveats. First, they are quite ‘data hungry’; requiring at least five ‘levels’ (groups) for a random intercept term to achieve robust estimates of variance ( Gelman & Hill, 2007 ; Harrison, 2015 ). With <5 levels, the mixed model may not be able to estimate the among-population variance accurately. In this case, the variance estimate will either collapse to zero, making the model equivalent to an ordinary GLM ( Gelman & Hill, 2007 , p. 275) or be non-zero but incorrect if the small number of groups that were sampled are not representative of true distribution of means ( Harrison, 2015 ). Second, models can be unstable if sample sizes across groups are highly unbalanced i.e. if some groups contain very few data. These issues are especially relevant to random slope models ( Grueber et al., 2011 ). Third, an important issue is the difficulty in deciding the ‘significance’ or ‘importance’ of variance among groups. The variance of a random effect is inevitably at least zero, but how big does it need to be considered of interest? Fitting a factor as a fixed effect provides a statement of the significance of differences (variation) among groups relatively easily. Testing differences among levels of a random effect is made much more difficult for frequentist analyses, though not so in a Bayesian framework ( Kéry, 2010 , see ‘ Testing Significance of Random Effects ’ section). Finally, an issue that is not often addressed is that of mis-specification of random effects. GLMMs are powerful tools, but incorrectly parameterising the random effects in the model could yield model estimates that are as unreliable as ignoring the need for random effects altogether. Examples include: (i) failure to recognise non-independence caused by nested structures in the data e.g. multiple clutch measures from a single bird; (ii) failing to specify random slopes to prevent constraining slopes of predictors to be identical across clusters in the data (see Barr et al., 2013 ); and (iii) testing the significance of fixed effects at the wrong ‘level’ of hierarchical models that ultimately leads to pseudoreplication and inflated Type I error rates. Traditionally users of LMMs might have used F- tests of significance. F -tests are ill-advised for unbalanced experimental designs and irrelevant for non-Gaussian error structures, but they at least provide a check of model hierarchy using residual degrees of freedom for fixed effects. The now-standard use of likelihood ratio tests (LRT) of significance in LMMs means that users and readers have little opportunity to check the position of significance tests in the hierarchy of likelihoods.”limitations[4]
limitationNo transformation or GLMM approach is uniformly best across data properties. — “The issue of transforming non-Gaussian data to fit Gaussian models to them is contentious. For example, arcsin square-root transformation of proportion data was once extremely common, but recent work has shown it to be unreliable at detecting real effects ( Warton & Hui, 2011 ). Both logit-transformation (for proportional data) and Binomial GLMMs (for binary response variables) have been shown to be more robust ( Warton & Hui, 2011 ). O’Hara & Kotze (2010) argued that log-transformation of count data performed well in only a small number of circumstances (low dispersion, high mean counts), which are unlikely to be applicable to ecological datasets. However, Ives (2015) recently countered these assumptions with evidence that transformed count data analysed using LMMs can often outperform Poisson GLMMs. We do not make a case for either here, but acknowledge the fact that there is unlikely to be a universally best approach; each method will have its own strengths and weakness depending on the properties of the data ( O’Hara & Kotze, 2010 ). Checking the assumptions of the LMM or GLMM is an essential step (see section Quantifying GLMM Fit and Performance). An issue with transformations of non-Gaussian data is having to deal with zeroes as special cases (e.g. you can’t log transform a 0), so researchers often add a small constant to all data to make the transformation work, a practice that has been criticised ( O’Hara & Kotze, 2010 ). GLMMs remove the need for these ‘adjustments’ of the data. The important point here is that transformations change the entire relationship between Y and X ( Zuur et al., 2009 ), but different transformations do this to different extents and it may be impossible to know which transformation is best without performing simulations to test the efficacy of each ( Warton & Hui, 2011 ; Ives, 2015 ).”limitations[5]
limitationRandom slopes need enough data to estimate variances and covariances. — “Schielzeth & Forstmeier (2009) found that including random slopes controls Type I error rate (yields more accurate p values), but also gives more power to detect among individual variation. Barr et al. (2013) suggest that researchers should fit the maximal random effects structure possible for the data. That is, if there are four predictors under consideration, all four should be allowed to have random slopes. However, we believe this is unrealistic because random slope models require large numbers of data to estimate variances and covariances accurately ( Bates et al., 2015a ). Ecological datasets can often struggle to estimate a single random slope, diagnosed by a perfect correlation (1 or −1) between random intercepts and slopes ( Bates et al., 2015a ). Therefore, the approach of fitting the ‘maximal’ complexity of random effects structure ( Barr et al., 2013 ) is perhaps better phrased as fitting the most complex mixed effects structure allowed by your data ( Bates et al., 2015a ), which may mean either (i) fitting random slopes but removing the correlation between intercepts and slopes; or (ii) fitting no random slopes at all but accepting that this likely inflates the Type I error rate ( Schielzeth & Forstmeier, 2009 ). If fitting a random slope model including correlations between intercepts and slopes, always inspect the intercept-slope correlation coefficient in the variance/covariance summary returned by packages like lme4 to look for evidence of perfect correlations, indicative of insufficient data to estimate the model.”limitations[6]
limitationOverparameterized models can fail to converge or support false inference. — “The complexity of the global model will likely be a trade-off between the number of measured observations (the n of the study) and the proposed hypotheses about how the measured variables affect the outcome (response) variable. Lack of careful consideration of the parameters to be estimated can result in overparameterised models, where there are insufficient data to estimate coefficients robustly ( Southwood & Henderson, 2000 ; Quinn & Keough, 2002 ; Crawley, 2013 ). In simple GLMs, overparameterisation results in a rapid decline in (or absence of) degrees of freedom with which to estimate residual error. Detection of overparameterisation in LMMs can be more difficult because each random effect uses only a single degree of freedom, however the estimation of variance among small numbers of groups can be numerically unstable. Unfortunately, it is common practice to fit a global model that is simply as complex as possible, irrespective of what that model actually represents; that is a dataset containing k predictors yields a model containing a k -way interaction among all predictors and simplify from there ( Crawley, 2013 ). This approach is flawed for two reasons. First, this practice encourages fitting biologically-unfeasible models containing nonsensical interactions. It should be possible to draw and/or visualise what the fitted model ‘looks like’ for various combinations of predictors—generally extremely difficult when more than two terms are interacting. Second, using this approach makes it very easy to fit a model too complex for the data. At best, the model will fail to converge, thus preventing inference. At worst, the model will ‘work’, risking false inference. Guidelines for the ideal ratio of data points ( n ) to estimated parameters ( k ) vary widely (see Forstmeier & Schielzeth, 2011 ). Crawley (2013) suggests a minimum n / k of 3, though we argue this is very low and that an n/k of 10 is more conservative. A ‘simple’ model containing a three-way interaction between continuous predictors, all that interaction’s daughter terms, and a single random intercept needs to estimate eight parameters, so requires a dataset of a minimum n of 80 using this rule. Interactions can be especially demanding, as fitting interactions between a multi-level factor and a continuous predictor can result in poor sample sizes for specific treatment combinations even if the total n is quite large ( Zuur, Ieno & Elphick, 2010 ), which will lead to unreliable model estimates.”limitations[7]
limitationCollinearity thresholds are user-selected and can miss complex multicollinearity. — “With the desired set of predictors identified, it is wise to check for collinearity among predictor variables. Collinearity among predictors can cause several problems in model interpretation because those predictors explain some of the same variance in the response variable, and their effects cannot be estimated independently ( Quinn & Keough, 2002 ; Graham, 2003 ): First, it can cause model convergence issues as models struggle to partition variance between predictor variables. Second, positively correlated variables can have negatively correlated regression coefficients, as the marginal effect of one is estimated, given the effect of the other, leading to incorrect interpretations of the direction of effects ( Fig. 2 ). Third, collinearity can inflate standard errors of coefficient estimates and make ‘true’ effects harder to detect ( Zuur, Ieno & Elphick, 2010 ). Finally, collinearity can affect the accuracy of model averaged parameter estimates during multi-model inference ( Freckleton, 2011 ; Cade, 2015 ). Examples of collinear variables include climatic data such as temperature and rainfall, and morphometric data such as body length and mass. Collinearity can be detected in several ways, including creating correlation matrices between raw explanatory variables, with values >0.7 suggesting both should not be used in the same model ( Dormann et al., 2013 ); or calculating the variance inflation factor (VIF) of each predictor that is a candidate for inclusion in a model (details in Zuur, Ieno & Elphick, 2010 ) and dropping variables with a VIF higher than a certain value (e.g. 3, Zuur, Ieno & Elphick, 2010 ; or 10, Quinn & Keough, 2002 ). One problem with these methods though is that they rely on a user-selected choice of threshold of either the correlation coefficient or the VIF, and use of more stringent (lower) is probably sensible. Some argue that one should always prefer inspection of VIF values over correlation coefficients of raw predictors because strong multicollinearity can be hard to detect with the latter. When collinearity is detected, researchers can either select one variable as representative of multiple collinear variables ( Austin, 2002 ), ideally using biological knowledge/reasoning to select the most meaningful variable ( Zuur, Ieno & Elphick, 2010 ); or conduct a dimension-reduction analysis (e.g. Principal Components Analysis; James & McCullugh, 1990 ), leaving a single variable that accounts for most of the shared variance among the correlated variables. Both approaches will only be applicable if it is possible to group explanatory variables by common features, thereby effectively creating broader, but still meaningful explanatory categories. For instance, by using mass and body length metrics to create a ‘scaled mass index’ representative of body size ( Peig & Green, 2009 ).”limitations[8]
limitationR-squared generalization to hierarchical and non-Gaussian GLMMs is contentious. — “In a linear modelling context, R 2 gives a measure of the proportion of explained variance in the model, and is an intuitive metric for assessing model fit. Unfortunately, the issue of calculating R 2 for (G)LMMs is particularly contentious; whereas residual variance can easily be estimated for a simple linear model with no random effects and a Normal error structure, this is not the case for (G)LMMS. In fact, two issues exist with generalising R 2 measures to (G)LMMs: (i) for generalised models containing non-Normal error structures, it is not clear how to calculate the residual variance term on which the R 2 term is dependent; and (ii) for mixed effects models, which are hierarchical in nature and contain error (unexplained variance) at each of these levels, it is uncertain which level to use to calculate a residual error term ( Nakagawa & Schielzeth, 2013 ). Diverse methods have been proposed to account for this in GLMMs, including multiple so-called ‘pseudo- r 2 ’ measures of explained variance ( Nagelkerke, 1991 ; Cox & Snell, 1989 ), but their performance is often unstable for mixed models and can return negative values ( Nakagawa & Schielzeth, 2013 ). Gelman & Pardoe (2006) derived a measure of R 2 that accounts for the hierarchical nature of LMMs and gives a measure for both group and unit level regressions (see also Gelman & Hill, 2007 , p. 474), but it was developed for a Bayesian framework and a frequentist analogue does not appear to be widely implemented. The method that has gained the most support over recent years is that of Nakagawa & Schielzeth (2013) .”limitations[9]
limitationLikelihood-ratio p-values for variance components are inaccurate at a zero boundary. — “When models are too complex relative to the amount of data available, GLMM variance estimates can collapse to zero (they cannot be negative, not to be confused with co variance estimates which can be negative). This is not a problem per se, but it’s important to acknowledge that in this case the model is equivalent to a standard GLM. Reducing model complexity by removing interactions will often allow random effects variance component estimates to become >0, but this is problematic if quantifying the interaction is the primary goal of the study. REML (restricted/residual maximum likelihood) should be used for estimating variance components of random effects in Gaussian models as it produces less biased estimates compared to maximum likelihood (ML) ( Bolker et al., 2009 ). However, when comparing two models with the same random structure but different fixed effects, ML estimation cannot easily be avoided. The RLRsim package ( Scheipl & Bolker, 2016 ) can be used to calculate restricted LTRs for variance components in mixed and additive models. Crucially, when testing the significance of a variance component we are ‘testing on the boundary’ ( Bolker et al., 2009 ). That is the null hypothesis for random effects (σ = 0) is at the boundary of its possible range (it has to be ≥0), meaning p -values from a LRT are inaccurate. Dividing p values by two for tests of single variance components provides an approximation to remedy this problem ( Verbenke & Molenberghs, 2000 ).”limitations[10]
limitationDeleting incomplete rows can bias estimates and reduce power. — “When collecting ecological data it is often not possible to measure all of the predictors of interest for every measurement of the dependant variable. Such missing data are a common feature of ecological datasets, however the impacts of this have seldom been considered in the literature ( Nakagawa & Freckleton, 2011 ). Incomplete rows of data in dataframes i.e. those missing predictor and/or response variables are often dealt with by deleting or ignoring those rows of data entirely when modelling ( Nakagawa & Freckleton, 2008 ), although this may result in biased parameter estimates and, depending on the mechanism underlying the missing data, reduces statistical power ( Nakagawa & Freckleton, 2008 ). Nakagawa & Freckleton (2011) recommend multiple imputation (MI) as a mechanism for handling non-informative missing data, and highlight the ability of this technique for more accurate estimates, particularly for IT/AIC approaches.”limitations[11]
limitationStepwise selection can overestimate effects and inflate Type I errors. — “Stepwise deletion procedures have come under heavy criticism; they can overestimate the effect size of significant predictors ( Whittingham et al., 2006 ; Forstmeier & Schielzeth, 2011 ; Burnham, Anderson & Huyvaert, 2011 ) and force the researcher to focus on a single best model as if it were the only combination of predictors with support in the data. Although we strive for simplicity and parsimony, this assumption is not always reasonable in complex ecological systems ( Burnham, Anderson & Huyvaert, 2011 ). It is common to present the MAM as if it arose from a single a priori hypothesis, when in fact arriving at the MAM required multiple significance tests ( Whittingham et al., 2006 ; Forstmeier & Schielzeth, 2011 ). This cryptic multiple testing can lead to hugely inflated Type I errors ( Forstmeier & Schielzeth, 2011 ). Perhaps most importantly, LRT can be unreliable for fixed effects in GLMMs unless both total sample size and replication of the random effect terms is high (see Bolker et al., 2009 and references therein), conditions which are often not satisfied for most ecological datasets. Because stepwise deletion can cause biased effect sizes, presenting means and SEs of parameters from the global model should be more robust, especially when the n/k ratio is low ( Forstmeier & Schielzeth, 2011 ). Performing ‘full model tests’ (comparing the global model to an intercept only model) before investigating single-predictor effects controls the Type I error rate ( Forstmeier & Schielzeth, 2011 ). Reporting the full model also helps reduce publication bias towards strong effects, providing future meta-analyses with estimates of both significant and non-significant effects ( Forstmeier & Schielzeth, 2011 ). Global model reporting should not replace other model selection methods, but provides a robust measure of how likely significant effects are to arise by sampling variation alone.”limitations[12]
limitationAll-subsets selection scales exponentially and invites uninformative overfitted models. — “All-Subsets selection is the act of fitting a global model, often containing every possible interaction, and then fitting every possible nested model. On the surface, all-subsets might appear to be a convenient and fast way of ‘uncovering’ the causal relationships in the data. All-subsets selection of enormous global models containing large numbers of predictors and their interactions makes analyses extremely prone to including uninformative parameters and ‘overfitted’ models. Burnham & Anderson (2002) caution strongly against all-subsets selection, and instead advocate ‘hard thinking’ about the hypotheses underlying the data. If adopting an all subsets approach, it is worth noting the number of models to consider increases exponentially with the number of predictors, where five predictors require 2 5 (32) models to be fitted, whilst 10 predictors requires 1,024 models, both without including any interactions but including the null model.”limitations[13]
limitationSummed Akaike weights do not directly distinguish weak from strong predictor effects. — “With a top model set in hand, it is common practice to use the summed Akaike weights of every model in that set in which a predictor of interest occurs as a measure of ‘variable importance’ ( Grueber et al., 2011 ). Recent work has demonstrated that this approach is flawed because Akaike weights are interpreted as relative model probabilities, and give no information about the importance of individual predictors in a model ( Cade, 2015 ), and fail to distinguish between variables with weak or strong effects ( Galipaud et al., 2014 ; Galipaud, Gillingham & Dechaume-Moncharmont, 2017 ). The sum of Akaike weights as a measure of variable importance may at best be a measure of how likely a variable would be included in the top model set after repeated sampling of the data ( Burnham & Anderson, 2002 ; Cade, 2015 , but see Galipaud, Gillingham & Dechaume-Moncharmont, 2017 ). A better measure of variable importance would be to compare standardised effect sizes ( Schielzeth, 2010 ; Cade, 2015 ). However, summed Akaike weights for variables in top model sets still represent useful quantitative evidence ( Giam & Olden, 2016 ); they should be reported in model summary tables, and ideally interpreted in tandem with model averaged effect sizes for individual parameters.”limitations[14]
limitationCollinearity changes coefficient scale and sign across candidate models, undermining averaging. — “The aim of model averaging is to incorporate the uncertainty in the size and presence of effects among a set of candidate models with similar support in the data. Model averaging using Akaike weights proceeds on the assumption that predictors are on common scales across models and are therefore comparable. Unfortunately, the nature of multiple regression means that the scale and sign of coefficients will change across models depending on the presence or absence of other variables in a focal model ( Cade, 2015 ). The issue of predictor scaling changing across models is particularly exacerbated when predictors are collinear, even when VIF values are low ( Burnham & Anderson, 2002 ; Lukacs, Burnham & Anderson, 2010 ; Cade, 2015 ). Cade (2015) recommends standardising model parameters based on partial standard deviations to ensure predictors are on common scales across models prior to model averaging (details in Cade, 2015 ). We stress again the need to assess multicollinearity among predictors in multiple regression modelling before fitting models ( Zuur & Ieno, 2016 ) and before model-averaging coefficients from those models ( Lukacs, Burnham & Anderson, 2010 ; Cade, 2015 ).”limitations[15]
Content tags
content-observations: finding · quantity · variable · definition · key-term — grounded in the full text
findingComplex ecological data often require mixed models, but robust inference depends on knowing their assumptions and pitfalls. — “The use of linear mixed effects models (LMMs) is increasingly common in the analysis of biological data. Whilst LMMs offer a flexible approach to modelling a broad range of data types, ecological data are often complex and require complex model structures, and the fitting and interpretation of such models is not always straightforward. The ability to achieve robust biological inference requires that practitioners know how and when to apply these tools. Here, we provide a general overview of current methods for the application of LMMs to biological data, and highlight the typical pitfalls that can be encountered in the statistical modelling process. We tackle several issues regarding methods of model selection, with particular reference to the use of information theory and multi-model inference in ecology. We offer practical solutions and direct the reader to key references that provide further technical detail for those seeking a deeper understanding. This overview should serve as a widely accessible code of best practice for applying LMMs to complex biological problems and model structures, and in doing so improve the robustness of conclusions drawn from studies investigating ecological and evolutionary questions.”content_tags.findings[0]
findingRandom effects represent structured non-independence and enable variance partitioning across hierarchical groups. — “Linear mixed effects models and generalized linear mixed effects models (GLMMs), have increased in popularity in the last decade ( Zuur et al., 2009 ; Bolker et al., 2009 ). Both extend traditional linear models to include a combination of fixed and random effects as predictor variables. The introduction of random effects affords several non-exclusive benefits. First, biological datasets are often highly structured, containing clusters of non-independent observational units that are hierarchical in nature, and LMMs allow us to explicitly model the non-independence in such data. For example, we might measure several chicks from the same clutch, and several clutches from different females, or we might take repeated measurements of the same chick’s growth rate over time. In both cases, we might expect that measurements within a statistical unit (here, an individual, or a female’s clutch) might be more similar than measurements from different units. Explicit modelling of the random effects structure will aid correct inference about fixed effects, depending on which level of the system’s hierarchy is being manipulated. In our example, if the fixed effect varies or is manipulated at the level of the clutch, then treating multiple chicks from a single clutch as independent would represent pseudoreplication, which can be controlled carefully by using random effects. Similarly, if fixed effects vary at the level of the chick, then non-independence among clutches or mothers could also be accounted for. Random effects typically represent some grouping variable ( Breslow & Clayton, 1993 ) and allow the estimation of variance in the response variable within and among these groups. This reduces the probability of false positives (Type I error rates) and false negatives (Type II error rates, e.g. Crawley, 2013 ). In addition, inferring the magnitude of variation within and among statistical clusters or hierarchical levels can be highly informative in its own right. In our bird example, understanding whether there is more variation in a focal trait among females within a population, rather than among populations, might be a central goal of the study.”content_tags.findings[1]
findingPartial pooling improves precision for small groups by shrinking group estimates toward a global mean. — “Random effect models use data from all the groups to estimate the mean and variance of the global distribution of group means. Assuming all group means are drawn from a common distribution causes the estimates of their means to drift towards the global mean μ group . This phenomenon, known as shrinkage ( Gelman & Hill, 2007 ; Kéry, 2010 ), can also lead to smaller and more precise standard errors around means. Shrinkage is strongest for groups with small sample sizes, as the paucity of within-group information to estimate the mean is counteracted by the model using data from other groups to improve the precision of the estimate. This ‘partial pooling’ of the estimates is a principal benefit of fitting something as a random effect ( Gelman & Hill, 2007 ). However, it can feel strange that group means should be shrunk towards the global mean, especially for researchers more used to treating sample means as independent fixed effects. Accordingly, one issue is that variance estimates can be hugely imprecise when there are fewer than five levels of the random grouping variable (intercept or slope; see Harrison, 2015 ). However, thanks to the Central Limit Theorem, the assumption of Gaussian distribution of group means is usually a good one, and the benefits of hierarchical analysis will outweigh the apparent costs of shrinkage.”content_tags.findings[2]
findingRandom effects permit prediction for unmeasured groups when a population distribution is estimable. — “Fixed effect estimates prevent us from making predictions for new groups because the model estimates are only relevant to groups in our dataset ( Zuur et al., 2009 , p. 327). Conversely, we can use the estimate of the global distribution of population means to predict for the average group using the mean of the distribution μ group for a random effects model (see Fig. 1 ). We could also sample hypothetical groups from our random effect distribution, as we know its mean and SD ( Zuur & Ieno, 2016 ). Therefore, whether something is fitted as a fixed or random effect can depend on the goal of the analysis: are we only interested in the mean values for each group in our dataset, or do we wish to use our results to extend our predictions to new groups? Even if we do not want to predict to new groups, we might wish to fit something as a random effect to take advantage of the shrinkage effect and improved parameter estimation accuracy.”content_tags.findings[3]
findingFewer than five grouping levels can make random-effect variance estimates unstable or collapse them to zero. — “Random effect models have several desirable properties (see above), but their use comes with some caveats. First, they are quite ‘data hungry’; requiring at least five ‘levels’ (groups) for a random intercept term to achieve robust estimates of variance ( Gelman & Hill, 2007 ; Harrison, 2015 ). With <5 levels, the mixed model may not be able to estimate the among-population variance accurately. In this case, the variance estimate will either collapse to zero, making the model equivalent to an ordinary GLM ( Gelman & Hill, 2007 , p. 275) or be non-zero but incorrect if the small number of groups that were sampled are not representative of true distribution of means ( Harrison, 2015 ). Second, models can be unstable if sample sizes across groups are highly unbalanced i.e. if some groups contain very few data. These issues are especially relevant to random slope models ( Grueber et al., 2011 ). Third, an important issue is the difficulty in deciding the ‘significance’ or ‘importance’ of variance among groups. The variance of a random effect is inevitably at least zero, but how big does it need to be considered of interest? Fitting a factor as a fixed effect provides a statement of the significance of differences (variation) among groups relatively easily. Testing differences among levels of a random effect is made much more difficult for frequentist analyses, though not so in a Bayesian framework ( Kéry, 2010 , see ‘ Testing Significance of Random Effects ’ section). Finally, an issue that is not often addressed is that of mis-specification of random effects. GLMMs are powerful tools, but incorrectly parameterising the random effects in the model could yield model estimates that are as unreliable as ignoring the need for random effects altogether. Examples include: (i) failure to recognise non-independence caused by nested structures in the data e.g. multiple clutch measures from a single bird; (ii) failing to specify random slopes to prevent constraining slopes of predictors to be identical across clusters in the data (see Barr et al., 2013 ); and (iii) testing the significance of fixed effects at the wrong ‘level’ of hierarchical models that ultimately leads to pseudoreplication and inflated Type I error rates. Traditionally users of LMMs might have used F- tests of significance. F -tests are ill-advised for unbalanced experimental designs and irrelevant for non-Gaussian error structures, but they at least provide a check of model hierarchy using residual degrees of freedom for fixed effects. The now-standard use of likelihood ratio tests (LRT) of significance in LMMs means that users and readers have little opportunity to check the position of significance tests in the hierarchy of likelihoods.”content_tags.findings[4]
findingRaw-response transformation and link-function transformation are mathematically different operations. — “For non-Gaussian data, our modelling choices become more complex. Non-Gaussian data structures include, for example, Poisson-distributed counts (number of eggs laid, number of parasites); binomial-distributed constrained counts (number of eggs that hatched in a clutch; prevalence of parasitic infection in a group of hosts) or Bernoulli-distributed binary traits (e.g. infected with a parasite or not). Gaussian models of these data would violate the assumptions of normality of errors and homogenous variance. To model these data, we have two initial choices: (i) we can apply a transformation to our non-Gaussian response to ‘make it’ approximately Gaussian, and then use a Gaussian model; or (ii) we can apply a GL(M)M and specify the appropriate error distribution and link function. The link function takes into account the (assumed) empirical distribution of our data by transformation of the linear predictor within the model. It is critical to note that transformation of the raw response variable is not equivalent to using a link function to apply a transformation in the model. Data-transformation applies the transformation to the raw response, whilst using a link function transforms the fitted mean (the linear predictor). That is, the mean of a log-transformed response (using a data transformation) is not identical to the logarithm of a fitted mean (using a link function) .”content_tags.findings[5]
findingNo universally best transformation or GLMM strategy exists across ecological data properties. — “The issue of transforming non-Gaussian data to fit Gaussian models to them is contentious. For example, arcsin square-root transformation of proportion data was once extremely common, but recent work has shown it to be unreliable at detecting real effects ( Warton & Hui, 2011 ). Both logit-transformation (for proportional data) and Binomial GLMMs (for binary response variables) have been shown to be more robust ( Warton & Hui, 2011 ). O’Hara & Kotze (2010) argued that log-transformation of count data performed well in only a small number of circumstances (low dispersion, high mean counts), which are unlikely to be applicable to ecological datasets. However, Ives (2015) recently countered these assumptions with evidence that transformed count data analysed using LMMs can often outperform Poisson GLMMs. We do not make a case for either here, but acknowledge the fact that there is unlikely to be a universally best approach; each method will have its own strengths and weakness depending on the properties of the data ( O’Hara & Kotze, 2010 ). Checking the assumptions of the LMM or GLMM is an essential step (see section Quantifying GLMM Fit and Performance). An issue with transformations of non-Gaussian data is having to deal with zeroes as special cases (e.g. you can’t log transform a 0), so researchers often add a small constant to all data to make the transformation work, a practice that has been criticised ( O’Hara & Kotze, 2010 ). GLMMs remove the need for these ‘adjustments’ of the data. The important point here is that transformations change the entire relationship between Y and X ( Zuur et al., 2009 ), but different transformations do this to different extents and it may be impossible to know which transformation is best without performing simulations to test the efficacy of each ( Warton & Hui, 2011 ; Ives, 2015 ).”content_tags.findings[6]
findingRandom-slope complexity should be limited by what the data can estimate reliably. — “Schielzeth & Forstmeier (2009) found that including random slopes controls Type I error rate (yields more accurate p values), but also gives more power to detect among individual variation. Barr et al. (2013) suggest that researchers should fit the maximal random effects structure possible for the data. That is, if there are four predictors under consideration, all four should be allowed to have random slopes. However, we believe this is unrealistic because random slope models require large numbers of data to estimate variances and covariances accurately ( Bates et al., 2015a ). Ecological datasets can often struggle to estimate a single random slope, diagnosed by a perfect correlation (1 or −1) between random intercepts and slopes ( Bates et al., 2015a ). Therefore, the approach of fitting the ‘maximal’ complexity of random effects structure ( Barr et al., 2013 ) is perhaps better phrased as fitting the most complex mixed effects structure allowed by your data ( Bates et al., 2015a ), which may mean either (i) fitting random slopes but removing the correlation between intercepts and slopes; or (ii) fitting no random slopes at all but accepting that this likely inflates the Type I error rate ( Schielzeth & Forstmeier, 2009 ). If fitting a random slope model including correlations between intercepts and slopes, always inspect the intercept-slope correlation coefficient in the variance/covariance summary returned by packages like lme4 to look for evidence of perfect correlations, indicative of insufficient data to estimate the model.”content_tags.findings[7]
findingGlobal models should encode biological hypotheses rather than every available predictor. — “Deciding which terms to include in the model requires careful and rigorous a priori consideration of the system under study. This may appear obvious; however diverse authors have noticed a lack of careful thinking when selecting variables for inclusion in a model ( Peters, 1991 ; Chatfield, 1995 ; Burnham & Anderson, 2002 ). Lack of a priori consideration, of what models represent, distinguishes rigorous hypothesis testing from ‘fishing expeditions’ that seek significant predictors among a large group of contenders. Ideally, the global model should be carefully constructed using the researchers’ knowledge and understanding of the system such that only predictors likely to be pertinent to the problem at hand are included, rather than including all the predictors the researcher has collected and/or has available. This is a pertinent issue in the age of ‘big data’, where researchers are often overwhelmed with predictors and risk skipping the important step of a priori hypothesis design. In practice, for peer reviewers it is easy to distinguish fishing expeditions from a priori hypothesis sets based on the evidence base presented in introductory sections of research outputs.”content_tags.findings[8]
findingCollinearity can destabilize fitting, distort coefficient signs, inflate uncertainty, and damage model averaging. — “With the desired set of predictors identified, it is wise to check for collinearity among predictor variables. Collinearity among predictors can cause several problems in model interpretation because those predictors explain some of the same variance in the response variable, and their effects cannot be estimated independently ( Quinn & Keough, 2002 ; Graham, 2003 ): First, it can cause model convergence issues as models struggle to partition variance between predictor variables. Second, positively correlated variables can have negatively correlated regression coefficients, as the marginal effect of one is estimated, given the effect of the other, leading to incorrect interpretations of the direction of effects ( Fig. 2 ). Third, collinearity can inflate standard errors of coefficient estimates and make ‘true’ effects harder to detect ( Zuur, Ieno & Elphick, 2010 ). Finally, collinearity can affect the accuracy of model averaged parameter estimates during multi-model inference ( Freckleton, 2011 ; Cade, 2015 ). Examples of collinear variables include climatic data such as temperature and rainfall, and morphometric data such as body length and mass. Collinearity can be detected in several ways, including creating correlation matrices between raw explanatory variables, with values >0.7 suggesting both should not be used in the same model ( Dormann et al., 2013 ); or calculating the variance inflation factor (VIF) of each predictor that is a candidate for inclusion in a model (details in Zuur, Ieno & Elphick, 2010 ) and dropping variables with a VIF higher than a certain value (e.g. 3, Zuur, Ieno & Elphick, 2010 ; or 10, Quinn & Keough, 2002 ). One problem with these methods though is that they rely on a user-selected choice of threshold of either the correlation coefficient or the VIF, and use of more stringent (lower) is probably sensible. Some argue that one should always prefer inspection of VIF values over correlation coefficients of raw predictors because strong multicollinearity can be hard to detect with the latter. When collinearity is detected, researchers can either select one variable as representative of multiple collinear variables ( Austin, 2002 ), ideally using biological knowledge/reasoning to select the most meaningful variable ( Zuur, Ieno & Elphick, 2010 ); or conduct a dimension-reduction analysis (e.g. Principal Components Analysis; James & McCullugh, 1990 ), leaving a single variable that accounts for most of the shared variance among the correlated variables. Both approaches will only be applicable if it is possible to group explanatory variables by common features, thereby effectively creating broader, but still meaningful explanatory categories. For instance, by using mass and body length metrics to create a ‘scaled mass index’ representative of body size ( Peig & Green, 2009 ).”content_tags.findings[9]
findingCentering and standardising predictors can improve convergence and interpretation. — “Transformations of predictor variables are common, and can improve model performance and interpretability ( Gelman & Hill, 2007 ). Two common transformations for continuous predictors are (i) predictor centering, the mean of predictor x is subtracted from every value in x, giving a variable with mean 0 and SD on the original scale of x ; and (ii) predictor standardising, where x is centred and then divided by the SD of x , giving a variable with mean 0 and SD 1. Rescaling the mean of predictors containing large values (e.g. rainfall measured in 1,000s of millimetre) through centring/standardising will often solve convergence problems, in part because the estimation of intercepts is brought into the main body of the data themselves. Both approaches also remove the correlation between main effects and their interactions, making main effects more easily interpretable when models also contain interactions ( Schielzeth, 2010 ). Note that this collinearity among coefficients is distinct from collinearity between two separate predictors (see above). Centring and standardising by the mean of a variable changes the interpretation of the model intercept to the value of the outcome expected when x is at its mean value. Standardising further adjusts the interpretation of the coefficient (slope) for x in the model to the change in the outcome variable for a 1 SD change in the value of x . Scaling is therefore a useful tool to improve the stability of models and likelihood of model convergence, and the accuracy of parameter estimates if variables in a model are on large (e.g. 1,000s of millimetre of rainfall), or vastly different scales. When using scaling, care must be taken in the interpretation and graphical representation of outcomes.”content_tags.findings[10]
findingAIC and R-squared do not replace distributional and structural model checks. — “Once a global model is specified, it is vital to quantify model fit and report these metrics in the manuscript. The global model is considered the best candidate for assessing fit statistics such as overdispersion ( Burnham & Anderson, 2002 ). Information criteria scores should not be used as a proxy for model fit, because a large difference in AIC between the top and null models is not evidence of a good fit. AIC tells us nothing about whether the basic distributional and structural assumptions of the model have been violated. Similarly, a high R 2 value is in itself only a test of the magnitude of model fit and not an adequate surrogate for proper model checks. Just because a model has a high R 2 value does not mean it will pass checks for assumptions such as homogeneity of variance. We strongly encourage researchers to view model fit and model adequacy as two separate but equally important traits that must be assessed and reported. Model fit can be poor for several reasons, including the presence of overdispersion, failing to include interactions among predictors, failing to account for non-linear effects of the predictors on the response, or specifying a sub-optimal error structure and/or link function. Here we discuss some key metrics of fit and adequacy that should be considered.”content_tags.findings[11]
findingOverdispersion biases standard errors and can produce false positive significance under canonical Poisson or binomial models. — “Models with a Gaussian (Normal) error structure do not require adjustment for overdispersion, as Gaussian models do not assume a specific mean-variance relationship. For generalized mixed models (GLMMs), however (e.g. Poisson, Binomial), the variance of the data can be greater than predicted by the error structure of the model ( Hilbe, 2011 ). Overdispersion can be caused by several processes influencing data, including zero-inflation, aggregation (non-independence) among counts, or both ( Zuur et al., 2009 ). The presence of overdispersion in a model suggests it is a bad fit, and standard errors of estimates will likely be biased unless overdispersion is accounted for ( Harrison, 2014 ). The use of canonical binomial and Poisson error structures, when residuals are overdispersed, tends to result in Type I errors because standard errors are underestimated. Adding an observation-level random effect (OLRE) to overdispersed Poisson or Binomial models can model the overdispersion and give more accurate estimates of standard errors ( Harrison, 2014 , 2015 ). However, OLRE models may yield inferior fit and/or biased parameter estimates compared to models using compound probability distributions such as the Negative-Binomial for count data ( Hilbe, 2011 ; Harrison, 2014 ) or Beta-Binomial for proportion data ( Harrison, 2015 ), and so it is good practice to assess the relative fit of both types of model using AIC before proceeding ( Zuur et al., 2009 ). Researchers very rarely report the overdispersion statistic (but see Elston et al., 2001 ), and it should be made a matter of routine. See “Assessing Model Fit Through Simulation” Section for advice on how to quantify and model overdispersion. Note that models can also be underdispersed ( less variance than expected/predicted by the model, but the tools for dealing with underdispersion are less well developed ( Zuur et al., 2009 ). The spaMM package ( Rousset & Ferdy, 2014 ) can fit models that can handle both overdispersion and underdispersion.”content_tags.findings[12]
findingSimulation can separate zero-inflation from overdispersion and quantify the latter with uncertainty. — “Simulation is a powerful tool for assessing model fit ( Gelman & Hill, 2007 ; Kéry, 2010 ; Zuur & Ieno, 2016 ), but is rarely used. The premise here is simple: when simulating a response variable from a given set of parameter estimates (a model), the fit of the model to those simulated ‘ideal’ response data should be comparable to the model’s fit to the real response variable ( Kéry, 2010 ). Each iteration yields a simulated dataset that allows calculation of a statistic of interest such as the sum of squared residuals ( Kéry, 2010 ), the overdispersion statistic ( Harrison, 2014 ) or the percentage of zeroes for a Poisson model ( Zuur & Ieno, 2016 ). If the model is a good fit, after a sufficiently large number of iterations (e.g. 10,000) the distribution of this statistic should encompass the observed statistic in the real data. Significant deviations outside of that distribution indicate the model is a poor fit ( Kéry, 2010 ). Figure 3 shows an example of using simulation to assess the fit of a Poisson GLMM. After fitting a GLMM to count data, we may wish to check for overdispersion and/or zero-inflation, the presence of which might suggest we need to adjust our modelling strategy. Simulating 10,000 datasets from our model reveals that the proportion of zeroes in our real data is comparable to simulated expectation ( Fig. 3A ). Conversely, simulating 1,000 datasets and refitting our model to each dataset, we see that the sum of the squared Pearson residuals for the real data is far larger than simulated expectation ( Fig. 3B ), giving evidence of overdispersion ( Harrison, 2014 ). We can use the simulated frequency distribution of this test statistic to derive a mean and 95% confidence interval for the overdispersion by calculating the ratio of our test statistic to the simulated values ( Harrison, 2014 ). The dispersion statistic for our model is 3.16 (95% CI [2.77–3.59]). Thus, simulations have allowed us to conclude that our model is overdispersed, but that this overdispersion is not due to zero-inflation. All R code for reproducing these simulations is provided in the Figshare: DOI 10.6084/m9.figshare.5173396 .”content_tags.findings[13]
findingDeleting incomplete observations can bias estimates and reduce statistical power. — “When collecting ecological data it is often not possible to measure all of the predictors of interest for every measurement of the dependant variable. Such missing data are a common feature of ecological datasets, however the impacts of this have seldom been considered in the literature ( Nakagawa & Freckleton, 2011 ). Incomplete rows of data in dataframes i.e. those missing predictor and/or response variables are often dealt with by deleting or ignoring those rows of data entirely when modelling ( Nakagawa & Freckleton, 2008 ), although this may result in biased parameter estimates and, depending on the mechanism underlying the missing data, reduces statistical power ( Nakagawa & Freckleton, 2008 ). Nakagawa & Freckleton (2011) recommend multiple imputation (MI) as a mechanism for handling non-informative missing data, and highlight the ability of this technique for more accurate estimates, particularly for IT/AIC approaches.”content_tags.findings[14]
findingStepwise deletion can inflate effect sizes and Type I error while hiding model-selection uncertainty. — “Stepwise deletion procedures have come under heavy criticism; they can overestimate the effect size of significant predictors ( Whittingham et al., 2006 ; Forstmeier & Schielzeth, 2011 ; Burnham, Anderson & Huyvaert, 2011 ) and force the researcher to focus on a single best model as if it were the only combination of predictors with support in the data. Although we strive for simplicity and parsimony, this assumption is not always reasonable in complex ecological systems ( Burnham, Anderson & Huyvaert, 2011 ). It is common to present the MAM as if it arose from a single a priori hypothesis, when in fact arriving at the MAM required multiple significance tests ( Whittingham et al., 2006 ; Forstmeier & Schielzeth, 2011 ). This cryptic multiple testing can lead to hugely inflated Type I errors ( Forstmeier & Schielzeth, 2011 ). Perhaps most importantly, LRT can be unreliable for fixed effects in GLMMs unless both total sample size and replication of the random effect terms is high (see Bolker et al., 2009 and references therein), conditions which are often not satisfied for most ecological datasets. Because stepwise deletion can cause biased effect sizes, presenting means and SEs of parameters from the global model should be more robust, especially when the n/k ratio is low ( Forstmeier & Schielzeth, 2011 ). Performing ‘full model tests’ (comparing the global model to an intercept only model) before investigating single-predictor effects controls the Type I error rate ( Forstmeier & Schielzeth, 2011 ). Reporting the full model also helps reduce publication bias towards strong effects, providing future meta-analyses with estimates of both significant and non-significant effects ( Forstmeier & Schielzeth, 2011 ). Global model reporting should not replace other model selection methods, but provides a robust measure of how likely significant effects are to arise by sampling variation alone.”content_tags.findings[15]
findingInformation-theoretic ranking retains support for multiple competing models and enables model averaging. — “Unlike NHST, which leads to a focus on a single best model, model selection using IT approaches allows the degree of support in the data for several competing models to be ranked using metrics such as AIC. Information criteria attempt to quantify the Kullback–Leibler distance (KLD), a measure of the relative amount of information lost when a given model approximates the true data-generating process. Thus, relative difference among models in AIC should be representative in relative differences in KLD, and the model with the lowest AIC should lose the least information and be the best model in that it optimises the trade-off between fit and complexity ( Richards, 2008 ). A key strength of the IT approach is that it accounts for ‘model selection uncertainty’, the idea that several competing models may all fit the data similarly well ( Burnham & Anderson, 2002 ; Burnham, Anderson & Huyvaert, 2011 ). This is particularly useful when competing models share equal ‘complexity’ (i.e. number of predictors, or number of residual degrees of freedom): in such situations, NHST is impossible because NHST requires a simpler (nested) model for comparison. Where several models have similar support in the data, inference can be made from all models using model-averaging ( Burnham & Anderson, 2002 ; Johnson & Omland, 2004 ; Grueber et al., 2011 ). Model averaging incorporates uncertainty by weighting the parameter estimate of a model by that model’s Akaike weight (often referred to as the probability of that model being the best Kullback–Leibler model given the data, but see Richards, 2005 ). Multi-model inference places a strong emphasis on a priori formulation of hypotheses ( Burnham & Anderson, 2002 ; Dochtermann & Jenkins, 2011 ; Lindberg, Schmidt & Walker, 2015 ), and model-averaged parameter estimates arising from multi-model inference are thought to lead to more robust conclusions about the biological systems compared to NHST ( Johnson & Omland, 2004 , but see Richards, Whittingham & Stephens, 2011 ). These strengths over NHST have meant that the use of IT approaches in ecology and evolution has grown rapidly in recent years ( Lindberg, Schmidt & Walker, 2015 ; Barker & Link, 2015 ; Cade, 2015 ). We do not expand on the specific details of the difference between NHST and IT here, but point the reader to some excellent references on the topic. Instead, we use this section to highlight recent empirical developments in the best practice methods for the application of IT in ecology and evolution.”content_tags.findings[16]
findingThe nesting rule can remove uninformative complex models and improve parameter accuracy. — “It is well known that AIC tends towards overly complex models (‘overfitting’, Burnham & Anderson, 2002 ). As AIC only adds a two point penalty to a model for inclusion of a new term, Arnold (2010) demonstrated that adding a nuisance (completely random) predictor to a well-fitting model leads to a ΔAIC value of the new model of ∼2, therefore appearing to warrant inclusion in the top model set (see section above). Therefore, inference can be greatly improved by eliminating models from the top model set that are more complex versions of nested models with better AIC support, known as the nesting rule ( Richards, 2005 , 2008 ; Richards, Whittingham & Stephens, 2011 ). Doing so greatly reduces the number of models to be used for inference, and improves parameter accuracy ( Arnold, 2010 ; Richards, 2008 ). Symonds & Moussalli (2011) caution that its applicability has not yet been widely assessed over a range of circumstances, but the theory behind its application is sound and intuitive ( Arnold, 2010 ).”content_tags.findings[17]
quantity100 — animals measured in each example group — “A key decision of the modelling process is specifying model predictors as fixed or random effects. Unfortunately, the distinction between the two is not always obvious, and is not helped by the presence of multiple, often confusing definitions in the literature (see Gelman & Hill, 2007 , p. 245). Absolute rules for how to classify something as a fixed or random effect generally are not useful because that decision can change depending on the goals of the analysis ( Gelman & Hill, 2007 ). We can illustrate the difference between fitting something as a fixed (M1) or a random effect (M2) using a simple example of a researcher who takes measurements of mass from 100 animals from each of five different groups ( n = 500) with a goal of understanding differences among groups in mean mass. We use notation equivalent to fitting the proposed models in the statistical software R ( R Core Team, 2016 ), with the LMMs fitted using the R package lme4 ( Bates et al., 2015b ):”content_tags.quantities[0]
quantityfive — groups in the fixed-versus-random example — “A key decision of the modelling process is specifying model predictors as fixed or random effects. Unfortunately, the distinction between the two is not always obvious, and is not helped by the presence of multiple, often confusing definitions in the literature (see Gelman & Hill, 2007 , p. 245). Absolute rules for how to classify something as a fixed or random effect generally are not useful because that decision can change depending on the goals of the analysis ( Gelman & Hill, 2007 ). We can illustrate the difference between fitting something as a fixed (M1) or a random effect (M2) using a simple example of a researcher who takes measurements of mass from 100 animals from each of five different groups ( n = 500) with a goal of understanding differences among groups in mean mass. We use notation equivalent to fitting the proposed models in the statistical software R ( R Core Team, 2016 ), with the LMMs fitted using the R package lme4 ( Bates et al., 2015b ):”content_tags.quantities[1]
quantity500 — total observations in the fixed-versus-random example — “A key decision of the modelling process is specifying model predictors as fixed or random effects. Unfortunately, the distinction between the two is not always obvious, and is not helped by the presence of multiple, often confusing definitions in the literature (see Gelman & Hill, 2007 , p. 245). Absolute rules for how to classify something as a fixed or random effect generally are not useful because that decision can change depending on the goals of the analysis ( Gelman & Hill, 2007 ). We can illustrate the difference between fitting something as a fixed (M1) or a random effect (M2) using a simple example of a researcher who takes measurements of mass from 100 animals from each of five different groups ( n = 500) with a goal of understanding differences among groups in mean mass. We use notation equivalent to fitting the proposed models in the statistical software R ( R Core Team, 2016 ), with the LMMs fitted using the R package lme4 ( Bates et al., 2015b ):”content_tags.quantities[2]
quantityfewer than five — grouping levels associated with imprecise variance estimates — “Random effect models use data from all the groups to estimate the mean and variance of the global distribution of group means. Assuming all group means are drawn from a common distribution causes the estimates of their means to drift towards the global mean μ group . This phenomenon, known as shrinkage ( Gelman & Hill, 2007 ; Kéry, 2010 ), can also lead to smaller and more precise standard errors around means. Shrinkage is strongest for groups with small sample sizes, as the paucity of within-group information to estimate the mean is counteracted by the model using data from other groups to improve the precision of the estimate. This ‘partial pooling’ of the estimates is a principal benefit of fitting something as a random effect ( Gelman & Hill, 2007 ). However, it can feel strange that group means should be shrunk towards the global mean, especially for researchers more used to treating sample means as independent fixed effects. Accordingly, one issue is that variance estimates can be hugely imprecise when there are fewer than five levels of the random grouping variable (intercept or slope; see Harrison, 2015 ). However, thanks to the Central Limit Theorem, the assumption of Gaussian distribution of group means is usually a good one, and the benefits of hierarchical analysis will outweigh the apparent costs of shrinkage.”content_tags.quantities[3]
quantityat least five — recommended minimum random-intercept grouping levels — “Random effect models have several desirable properties (see above), but their use comes with some caveats. First, they are quite ‘data hungry’; requiring at least five ‘levels’ (groups) for a random intercept term to achieve robust estimates of variance ( Gelman & Hill, 2007 ; Harrison, 2015 ). With <5 levels, the mixed model may not be able to estimate the among-population variance accurately. In this case, the variance estimate will either collapse to zero, making the model equivalent to an ordinary GLM ( Gelman & Hill, 2007 , p. 275) or be non-zero but incorrect if the small number of groups that were sampled are not representative of true distribution of means ( Harrison, 2015 ). Second, models can be unstable if sample sizes across groups are highly unbalanced i.e. if some groups contain very few data. These issues are especially relevant to random slope models ( Grueber et al., 2011 ). Third, an important issue is the difficulty in deciding the ‘significance’ or ‘importance’ of variance among groups. The variance of a random effect is inevitably at least zero, but how big does it need to be considered of interest? Fitting a factor as a fixed effect provides a statement of the significance of differences (variation) among groups relatively easily. Testing differences among levels of a random effect is made much more difficult for frequentist analyses, though not so in a Bayesian framework ( Kéry, 2010 , see ‘ Testing Significance of Random Effects ’ section). Finally, an issue that is not often addressed is that of mis-specification of random effects. GLMMs are powerful tools, but incorrectly parameterising the random effects in the model could yield model estimates that are as unreliable as ignoring the need for random effects altogether. Examples include: (i) failure to recognise non-independence caused by nested structures in the data e.g. multiple clutch measures from a single bird; (ii) failing to specify random slopes to prevent constraining slopes of predictors to be identical across clusters in the data (see Barr et al., 2013 ); and (iii) testing the significance of fixed effects at the wrong ‘level’ of hierarchical models that ultimately leads to pseudoreplication and inflated Type I error rates. Traditionally users of LMMs might have used F- tests of significance. F -tests are ill-advised for unbalanced experimental designs and irrelevant for non-Gaussian error structures, but they at least provide a check of model hierarchy using residual degrees of freedom for fixed effects. The now-standard use of likelihood ratio tests (LRT) of significance in LMMs means that users and readers have little opportunity to check the position of significance tests in the hierarchy of likelihoods.”content_tags.quantities[4]
quantity3 — Crawley minimum observations-to-parameters ratio — “The complexity of the global model will likely be a trade-off between the number of measured observations (the n of the study) and the proposed hypotheses about how the measured variables affect the outcome (response) variable. Lack of careful consideration of the parameters to be estimated can result in overparameterised models, where there are insufficient data to estimate coefficients robustly ( Southwood & Henderson, 2000 ; Quinn & Keough, 2002 ; Crawley, 2013 ). In simple GLMs, overparameterisation results in a rapid decline in (or absence of) degrees of freedom with which to estimate residual error. Detection of overparameterisation in LMMs can be more difficult because each random effect uses only a single degree of freedom, however the estimation of variance among small numbers of groups can be numerically unstable. Unfortunately, it is common practice to fit a global model that is simply as complex as possible, irrespective of what that model actually represents; that is a dataset containing k predictors yields a model containing a k -way interaction among all predictors and simplify from there ( Crawley, 2013 ). This approach is flawed for two reasons. First, this practice encourages fitting biologically-unfeasible models containing nonsensical interactions. It should be possible to draw and/or visualise what the fitted model ‘looks like’ for various combinations of predictors—generally extremely difficult when more than two terms are interacting. Second, using this approach makes it very easy to fit a model too complex for the data. At best, the model will fail to converge, thus preventing inference. At worst, the model will ‘work’, risking false inference. Guidelines for the ideal ratio of data points ( n ) to estimated parameters ( k ) vary widely (see Forstmeier & Schielzeth, 2011 ). Crawley (2013) suggests a minimum n / k of 3, though we argue this is very low and that an n/k of 10 is more conservative. A ‘simple’ model containing a three-way interaction between continuous predictors, all that interaction’s daughter terms, and a single random intercept needs to estimate eight parameters, so requires a dataset of a minimum n of 80 using this rule. Interactions can be especially demanding, as fitting interactions between a multi-level factor and a continuous predictor can result in poor sample sizes for specific treatment combinations even if the total n is quite large ( Zuur, Ieno & Elphick, 2010 ), which will lead to unreliable model estimates.”content_tags.quantities[5]
quantity10 — authors' more conservative observations-to-parameters ratio — “The complexity of the global model will likely be a trade-off between the number of measured observations (the n of the study) and the proposed hypotheses about how the measured variables affect the outcome (response) variable. Lack of careful consideration of the parameters to be estimated can result in overparameterised models, where there are insufficient data to estimate coefficients robustly ( Southwood & Henderson, 2000 ; Quinn & Keough, 2002 ; Crawley, 2013 ). In simple GLMs, overparameterisation results in a rapid decline in (or absence of) degrees of freedom with which to estimate residual error. Detection of overparameterisation in LMMs can be more difficult because each random effect uses only a single degree of freedom, however the estimation of variance among small numbers of groups can be numerically unstable. Unfortunately, it is common practice to fit a global model that is simply as complex as possible, irrespective of what that model actually represents; that is a dataset containing k predictors yields a model containing a k -way interaction among all predictors and simplify from there ( Crawley, 2013 ). This approach is flawed for two reasons. First, this practice encourages fitting biologically-unfeasible models containing nonsensical interactions. It should be possible to draw and/or visualise what the fitted model ‘looks like’ for various combinations of predictors—generally extremely difficult when more than two terms are interacting. Second, using this approach makes it very easy to fit a model too complex for the data. At best, the model will fail to converge, thus preventing inference. At worst, the model will ‘work’, risking false inference. Guidelines for the ideal ratio of data points ( n ) to estimated parameters ( k ) vary widely (see Forstmeier & Schielzeth, 2011 ). Crawley (2013) suggests a minimum n / k of 3, though we argue this is very low and that an n/k of 10 is more conservative. A ‘simple’ model containing a three-way interaction between continuous predictors, all that interaction’s daughter terms, and a single random intercept needs to estimate eight parameters, so requires a dataset of a minimum n of 80 using this rule. Interactions can be especially demanding, as fitting interactions between a multi-level factor and a continuous predictor can result in poor sample sizes for specific treatment combinations even if the total n is quite large ( Zuur, Ieno & Elphick, 2010 ), which will lead to unreliable model estimates.”content_tags.quantities[6]
quantity80 — observations required for the eight-parameter example at n/k ten — “The complexity of the global model will likely be a trade-off between the number of measured observations (the n of the study) and the proposed hypotheses about how the measured variables affect the outcome (response) variable. Lack of careful consideration of the parameters to be estimated can result in overparameterised models, where there are insufficient data to estimate coefficients robustly ( Southwood & Henderson, 2000 ; Quinn & Keough, 2002 ; Crawley, 2013 ). In simple GLMs, overparameterisation results in a rapid decline in (or absence of) degrees of freedom with which to estimate residual error. Detection of overparameterisation in LMMs can be more difficult because each random effect uses only a single degree of freedom, however the estimation of variance among small numbers of groups can be numerically unstable. Unfortunately, it is common practice to fit a global model that is simply as complex as possible, irrespective of what that model actually represents; that is a dataset containing k predictors yields a model containing a k -way interaction among all predictors and simplify from there ( Crawley, 2013 ). This approach is flawed for two reasons. First, this practice encourages fitting biologically-unfeasible models containing nonsensical interactions. It should be possible to draw and/or visualise what the fitted model ‘looks like’ for various combinations of predictors—generally extremely difficult when more than two terms are interacting. Second, using this approach makes it very easy to fit a model too complex for the data. At best, the model will fail to converge, thus preventing inference. At worst, the model will ‘work’, risking false inference. Guidelines for the ideal ratio of data points ( n ) to estimated parameters ( k ) vary widely (see Forstmeier & Schielzeth, 2011 ). Crawley (2013) suggests a minimum n / k of 3, though we argue this is very low and that an n/k of 10 is more conservative. A ‘simple’ model containing a three-way interaction between continuous predictors, all that interaction’s daughter terms, and a single random intercept needs to estimate eight parameters, so requires a dataset of a minimum n of 80 using this rule. Interactions can be especially demanding, as fitting interactions between a multi-level factor and a continuous predictor can result in poor sample sizes for specific treatment combinations even if the total n is quite large ( Zuur, Ieno & Elphick, 2010 ), which will lead to unreliable model estimates.”content_tags.quantities[7]
quantity>0.7 — correlation threshold suggesting two predictors not share a model — “With the desired set of predictors identified, it is wise to check for collinearity among predictor variables. Collinearity among predictors can cause several problems in model interpretation because those predictors explain some of the same variance in the response variable, and their effects cannot be estimated independently ( Quinn & Keough, 2002 ; Graham, 2003 ): First, it can cause model convergence issues as models struggle to partition variance between predictor variables. Second, positively correlated variables can have negatively correlated regression coefficients, as the marginal effect of one is estimated, given the effect of the other, leading to incorrect interpretations of the direction of effects ( Fig. 2 ). Third, collinearity can inflate standard errors of coefficient estimates and make ‘true’ effects harder to detect ( Zuur, Ieno & Elphick, 2010 ). Finally, collinearity can affect the accuracy of model averaged parameter estimates during multi-model inference ( Freckleton, 2011 ; Cade, 2015 ). Examples of collinear variables include climatic data such as temperature and rainfall, and morphometric data such as body length and mass. Collinearity can be detected in several ways, including creating correlation matrices between raw explanatory variables, with values >0.7 suggesting both should not be used in the same model ( Dormann et al., 2013 ); or calculating the variance inflation factor (VIF) of each predictor that is a candidate for inclusion in a model (details in Zuur, Ieno & Elphick, 2010 ) and dropping variables with a VIF higher than a certain value (e.g. 3, Zuur, Ieno & Elphick, 2010 ; or 10, Quinn & Keough, 2002 ). One problem with these methods though is that they rely on a user-selected choice of threshold of either the correlation coefficient or the VIF, and use of more stringent (lower) is probably sensible. Some argue that one should always prefer inspection of VIF values over correlation coefficients of raw predictors because strong multicollinearity can be hard to detect with the latter. When collinearity is detected, researchers can either select one variable as representative of multiple collinear variables ( Austin, 2002 ), ideally using biological knowledge/reasoning to select the most meaningful variable ( Zuur, Ieno & Elphick, 2010 ); or conduct a dimension-reduction analysis (e.g. Principal Components Analysis; James & McCullugh, 1990 ), leaving a single variable that accounts for most of the shared variance among the correlated variables. Both approaches will only be applicable if it is possible to group explanatory variables by common features, thereby effectively creating broader, but still meaningful explanatory categories. For instance, by using mass and body length metrics to create a ‘scaled mass index’ representative of body size ( Peig & Green, 2009 ).”content_tags.quantities[8]
quantity3 — example stringent VIF exclusion threshold — “With the desired set of predictors identified, it is wise to check for collinearity among predictor variables. Collinearity among predictors can cause several problems in model interpretation because those predictors explain some of the same variance in the response variable, and their effects cannot be estimated independently ( Quinn & Keough, 2002 ; Graham, 2003 ): First, it can cause model convergence issues as models struggle to partition variance between predictor variables. Second, positively correlated variables can have negatively correlated regression coefficients, as the marginal effect of one is estimated, given the effect of the other, leading to incorrect interpretations of the direction of effects ( Fig. 2 ). Third, collinearity can inflate standard errors of coefficient estimates and make ‘true’ effects harder to detect ( Zuur, Ieno & Elphick, 2010 ). Finally, collinearity can affect the accuracy of model averaged parameter estimates during multi-model inference ( Freckleton, 2011 ; Cade, 2015 ). Examples of collinear variables include climatic data such as temperature and rainfall, and morphometric data such as body length and mass. Collinearity can be detected in several ways, including creating correlation matrices between raw explanatory variables, with values >0.7 suggesting both should not be used in the same model ( Dormann et al., 2013 ); or calculating the variance inflation factor (VIF) of each predictor that is a candidate for inclusion in a model (details in Zuur, Ieno & Elphick, 2010 ) and dropping variables with a VIF higher than a certain value (e.g. 3, Zuur, Ieno & Elphick, 2010 ; or 10, Quinn & Keough, 2002 ). One problem with these methods though is that they rely on a user-selected choice of threshold of either the correlation coefficient or the VIF, and use of more stringent (lower) is probably sensible. Some argue that one should always prefer inspection of VIF values over correlation coefficients of raw predictors because strong multicollinearity can be hard to detect with the latter. When collinearity is detected, researchers can either select one variable as representative of multiple collinear variables ( Austin, 2002 ), ideally using biological knowledge/reasoning to select the most meaningful variable ( Zuur, Ieno & Elphick, 2010 ); or conduct a dimension-reduction analysis (e.g. Principal Components Analysis; James & McCullugh, 1990 ), leaving a single variable that accounts for most of the shared variance among the correlated variables. Both approaches will only be applicable if it is possible to group explanatory variables by common features, thereby effectively creating broader, but still meaningful explanatory categories. For instance, by using mass and body length metrics to create a ‘scaled mass index’ representative of body size ( Peig & Green, 2009 ).”content_tags.quantities[9]
quantity10 — example permissive VIF exclusion threshold — “With the desired set of predictors identified, it is wise to check for collinearity among predictor variables. Collinearity among predictors can cause several problems in model interpretation because those predictors explain some of the same variance in the response variable, and their effects cannot be estimated independently ( Quinn & Keough, 2002 ; Graham, 2003 ): First, it can cause model convergence issues as models struggle to partition variance between predictor variables. Second, positively correlated variables can have negatively correlated regression coefficients, as the marginal effect of one is estimated, given the effect of the other, leading to incorrect interpretations of the direction of effects ( Fig. 2 ). Third, collinearity can inflate standard errors of coefficient estimates and make ‘true’ effects harder to detect ( Zuur, Ieno & Elphick, 2010 ). Finally, collinearity can affect the accuracy of model averaged parameter estimates during multi-model inference ( Freckleton, 2011 ; Cade, 2015 ). Examples of collinear variables include climatic data such as temperature and rainfall, and morphometric data such as body length and mass. Collinearity can be detected in several ways, including creating correlation matrices between raw explanatory variables, with values >0.7 suggesting both should not be used in the same model ( Dormann et al., 2013 ); or calculating the variance inflation factor (VIF) of each predictor that is a candidate for inclusion in a model (details in Zuur, Ieno & Elphick, 2010 ) and dropping variables with a VIF higher than a certain value (e.g. 3, Zuur, Ieno & Elphick, 2010 ; or 10, Quinn & Keough, 2002 ). One problem with these methods though is that they rely on a user-selected choice of threshold of either the correlation coefficient or the VIF, and use of more stringent (lower) is probably sensible. Some argue that one should always prefer inspection of VIF values over correlation coefficients of raw predictors because strong multicollinearity can be hard to detect with the latter. When collinearity is detected, researchers can either select one variable as representative of multiple collinear variables ( Austin, 2002 ), ideally using biological knowledge/reasoning to select the most meaningful variable ( Zuur, Ieno & Elphick, 2010 ); or conduct a dimension-reduction analysis (e.g. Principal Components Analysis; James & McCullugh, 1990 ), leaving a single variable that accounts for most of the shared variance among the correlated variables. Both approaches will only be applicable if it is possible to group explanatory variables by common features, thereby effectively creating broader, but still meaningful explanatory categories. For instance, by using mass and body length metrics to create a ‘scaled mass index’ representative of body size ( Peig & Green, 2009 ).”content_tags.quantities[10]
quantity10,000 — iterations in the collinearity simulation — “The effect of collinearity on model parameter estimates. We simulated 10,000 iterations of a model y ∼ x 1 + x 2, where x 1 had a positive effect on y (β x 1 = 1, vertical dashed line). x 2 is collinear with x 1 with either a moderate ( r = 0.5). (A) or strong correlation ( r = 0.9). (B) With moderate collinearity, estimation of β x 1 is precise, but certainty of the sign of β x 2 is low. When collinearity is strong, estimation of β x 1 is far less precise, with 14% of simulations estimating a negative coefficient for the effect of x 1. For more elaborate versions of these simulations, see Freckleton (2011) .”content_tags.quantities[11]
quantity14% — strong-collinearity simulations reversing the sign of a positive coefficient — “The effect of collinearity on model parameter estimates. We simulated 10,000 iterations of a model y ∼ x 1 + x 2, where x 1 had a positive effect on y (β x 1 = 1, vertical dashed line). x 2 is collinear with x 1 with either a moderate ( r = 0.5). (A) or strong correlation ( r = 0.9). (B) With moderate collinearity, estimation of β x 1 is precise, but certainty of the sign of β x 2 is low. When collinearity is strong, estimation of β x 1 is far less precise, with 14% of simulations estimating a negative coefficient for the effect of x 1. For more elaborate versions of these simulations, see Freckleton (2011) .”content_tags.quantities[12]
quantity10,000 — simulated datasets used for one fit diagnostic — “Simulation is a powerful tool for assessing model fit ( Gelman & Hill, 2007 ; Kéry, 2010 ; Zuur & Ieno, 2016 ), but is rarely used. The premise here is simple: when simulating a response variable from a given set of parameter estimates (a model), the fit of the model to those simulated ‘ideal’ response data should be comparable to the model’s fit to the real response variable ( Kéry, 2010 ). Each iteration yields a simulated dataset that allows calculation of a statistic of interest such as the sum of squared residuals ( Kéry, 2010 ), the overdispersion statistic ( Harrison, 2014 ) or the percentage of zeroes for a Poisson model ( Zuur & Ieno, 2016 ). If the model is a good fit, after a sufficiently large number of iterations (e.g. 10,000) the distribution of this statistic should encompass the observed statistic in the real data. Significant deviations outside of that distribution indicate the model is a poor fit ( Kéry, 2010 ). Figure 3 shows an example of using simulation to assess the fit of a Poisson GLMM. After fitting a GLMM to count data, we may wish to check for overdispersion and/or zero-inflation, the presence of which might suggest we need to adjust our modelling strategy. Simulating 10,000 datasets from our model reveals that the proportion of zeroes in our real data is comparable to simulated expectation ( Fig. 3A ). Conversely, simulating 1,000 datasets and refitting our model to each dataset, we see that the sum of the squared Pearson residuals for the real data is far larger than simulated expectation ( Fig. 3B ), giving evidence of overdispersion ( Harrison, 2014 ). We can use the simulated frequency distribution of this test statistic to derive a mean and 95% confidence interval for the overdispersion by calculating the ratio of our test statistic to the simulated values ( Harrison, 2014 ). The dispersion statistic for our model is 3.16 (95% CI [2.77–3.59]). Thus, simulations have allowed us to conclude that our model is overdispersed, but that this overdispersion is not due to zero-inflation. All R code for reproducing these simulations is provided in the Figshare: DOI 10.6084/m9.figshare.5173396 .”content_tags.quantities[13]
quantity1,000 — refitted parametric-bootstrap datasets — “Simulation is a powerful tool for assessing model fit ( Gelman & Hill, 2007 ; Kéry, 2010 ; Zuur & Ieno, 2016 ), but is rarely used. The premise here is simple: when simulating a response variable from a given set of parameter estimates (a model), the fit of the model to those simulated ‘ideal’ response data should be comparable to the model’s fit to the real response variable ( Kéry, 2010 ). Each iteration yields a simulated dataset that allows calculation of a statistic of interest such as the sum of squared residuals ( Kéry, 2010 ), the overdispersion statistic ( Harrison, 2014 ) or the percentage of zeroes for a Poisson model ( Zuur & Ieno, 2016 ). If the model is a good fit, after a sufficiently large number of iterations (e.g. 10,000) the distribution of this statistic should encompass the observed statistic in the real data. Significant deviations outside of that distribution indicate the model is a poor fit ( Kéry, 2010 ). Figure 3 shows an example of using simulation to assess the fit of a Poisson GLMM. After fitting a GLMM to count data, we may wish to check for overdispersion and/or zero-inflation, the presence of which might suggest we need to adjust our modelling strategy. Simulating 10,000 datasets from our model reveals that the proportion of zeroes in our real data is comparable to simulated expectation ( Fig. 3A ). Conversely, simulating 1,000 datasets and refitting our model to each dataset, we see that the sum of the squared Pearson residuals for the real data is far larger than simulated expectation ( Fig. 3B ), giving evidence of overdispersion ( Harrison, 2014 ). We can use the simulated frequency distribution of this test statistic to derive a mean and 95% confidence interval for the overdispersion by calculating the ratio of our test statistic to the simulated values ( Harrison, 2014 ). The dispersion statistic for our model is 3.16 (95% CI [2.77–3.59]). Thus, simulations have allowed us to conclude that our model is overdispersed, but that this overdispersion is not due to zero-inflation. All R code for reproducing these simulations is provided in the Figshare: DOI 10.6084/m9.figshare.5173396 .”content_tags.quantities[14]
quantity3.16 — estimated dispersion statistic in the example — “Simulation is a powerful tool for assessing model fit ( Gelman & Hill, 2007 ; Kéry, 2010 ; Zuur & Ieno, 2016 ), but is rarely used. The premise here is simple: when simulating a response variable from a given set of parameter estimates (a model), the fit of the model to those simulated ‘ideal’ response data should be comparable to the model’s fit to the real response variable ( Kéry, 2010 ). Each iteration yields a simulated dataset that allows calculation of a statistic of interest such as the sum of squared residuals ( Kéry, 2010 ), the overdispersion statistic ( Harrison, 2014 ) or the percentage of zeroes for a Poisson model ( Zuur & Ieno, 2016 ). If the model is a good fit, after a sufficiently large number of iterations (e.g. 10,000) the distribution of this statistic should encompass the observed statistic in the real data. Significant deviations outside of that distribution indicate the model is a poor fit ( Kéry, 2010 ). Figure 3 shows an example of using simulation to assess the fit of a Poisson GLMM. After fitting a GLMM to count data, we may wish to check for overdispersion and/or zero-inflation, the presence of which might suggest we need to adjust our modelling strategy. Simulating 10,000 datasets from our model reveals that the proportion of zeroes in our real data is comparable to simulated expectation ( Fig. 3A ). Conversely, simulating 1,000 datasets and refitting our model to each dataset, we see that the sum of the squared Pearson residuals for the real data is far larger than simulated expectation ( Fig. 3B ), giving evidence of overdispersion ( Harrison, 2014 ). We can use the simulated frequency distribution of this test statistic to derive a mean and 95% confidence interval for the overdispersion by calculating the ratio of our test statistic to the simulated values ( Harrison, 2014 ). The dispersion statistic for our model is 3.16 (95% CI [2.77–3.59]). Thus, simulations have allowed us to conclude that our model is overdispersed, but that this overdispersion is not due to zero-inflation. All R code for reproducing these simulations is provided in the Figshare: DOI 10.6084/m9.figshare.5173396 .”content_tags.quantities[15]
quantity95% CI [2.77–3.59] — confidence interval for the dispersion statistic — “Simulation is a powerful tool for assessing model fit ( Gelman & Hill, 2007 ; Kéry, 2010 ; Zuur & Ieno, 2016 ), but is rarely used. The premise here is simple: when simulating a response variable from a given set of parameter estimates (a model), the fit of the model to those simulated ‘ideal’ response data should be comparable to the model’s fit to the real response variable ( Kéry, 2010 ). Each iteration yields a simulated dataset that allows calculation of a statistic of interest such as the sum of squared residuals ( Kéry, 2010 ), the overdispersion statistic ( Harrison, 2014 ) or the percentage of zeroes for a Poisson model ( Zuur & Ieno, 2016 ). If the model is a good fit, after a sufficiently large number of iterations (e.g. 10,000) the distribution of this statistic should encompass the observed statistic in the real data. Significant deviations outside of that distribution indicate the model is a poor fit ( Kéry, 2010 ). Figure 3 shows an example of using simulation to assess the fit of a Poisson GLMM. After fitting a GLMM to count data, we may wish to check for overdispersion and/or zero-inflation, the presence of which might suggest we need to adjust our modelling strategy. Simulating 10,000 datasets from our model reveals that the proportion of zeroes in our real data is comparable to simulated expectation ( Fig. 3A ). Conversely, simulating 1,000 datasets and refitting our model to each dataset, we see that the sum of the squared Pearson residuals for the real data is far larger than simulated expectation ( Fig. 3B ), giving evidence of overdispersion ( Harrison, 2014 ). We can use the simulated frequency distribution of this test statistic to derive a mean and 95% confidence interval for the overdispersion by calculating the ratio of our test statistic to the simulated values ( Harrison, 2014 ). The dispersion statistic for our model is 3.16 (95% CI [2.77–3.59]). Thus, simulations have allowed us to conclude that our model is overdispersed, but that this overdispersion is not due to zero-inflation. All R code for reproducing these simulations is provided in the Figshare: DOI 10.6084/m9.figshare.5173396 .”content_tags.quantities[16]
quantity32 — models generated by all-subsets selection for five predictors — “All-Subsets selection is the act of fitting a global model, often containing every possible interaction, and then fitting every possible nested model. On the surface, all-subsets might appear to be a convenient and fast way of ‘uncovering’ the causal relationships in the data. All-subsets selection of enormous global models containing large numbers of predictors and their interactions makes analyses extremely prone to including uninformative parameters and ‘overfitted’ models. Burnham & Anderson (2002) caution strongly against all-subsets selection, and instead advocate ‘hard thinking’ about the hypotheses underlying the data. If adopting an all subsets approach, it is worth noting the number of models to consider increases exponentially with the number of predictors, where five predictors require 2 5 (32) models to be fitted, whilst 10 predictors requires 1,024 models, both without including any interactions but including the null model.”content_tags.quantities[17]
quantity1,024 — models generated by all-subsets selection for ten predictors — “All-Subsets selection is the act of fitting a global model, often containing every possible interaction, and then fitting every possible nested model. On the surface, all-subsets might appear to be a convenient and fast way of ‘uncovering’ the causal relationships in the data. All-subsets selection of enormous global models containing large numbers of predictors and their interactions makes analyses extremely prone to including uninformative parameters and ‘overfitted’ models. Burnham & Anderson (2002) caution strongly against all-subsets selection, and instead advocate ‘hard thinking’ about the hypotheses underlying the data. If adopting an all subsets approach, it is worth noting the number of models to consider increases exponentially with the number of predictors, where five predictors require 2 5 (32) models to be fitted, whilst 10 predictors requires 1,024 models, both without including any interactions but including the null model.”content_tags.quantities[18]
quantity90% — data proposed for exploratory model fitting — “Global models should not contain huge numbers of variables and interactions without prior thought about what the models represent for a study system. In cases where all-subsets selection from a global model is performed, it is important to view these model selection exercises as exploratory ( Symonds & Moussalli, 2011 ), and hold some data back from these exploratory analyses to be used for cross-validation with the top model(s) (see Dochtermann & Jenkins, 2011 and references therein). Here, 90% of the data can be used to fit the model(s), with the remaining 10% used for confirmatory analysis to quantify how well the model(s) perform for prediction ( Zuur & Ieno, 2016 ). Such an approach requires a huge amount of data ( Dochtermann & Jenkins, 2011 ), but cross-validation to validate a model’s predictive ability is rare and should result in more robust inference (see also Fieberg & Johnson, 2015 ).”content_tags.quantities[19]
quantity10% — held-out data proposed for confirmatory analysis — “Global models should not contain huge numbers of variables and interactions without prior thought about what the models represent for a study system. In cases where all-subsets selection from a global model is performed, it is important to view these model selection exercises as exploratory ( Symonds & Moussalli, 2011 ), and hold some data back from these exploratory analyses to be used for cross-validation with the top model(s) (see Dochtermann & Jenkins, 2011 and references therein). Here, 90% of the data can be used to fit the model(s), with the remaining 10% used for confirmatory analysis to quantify how well the model(s) perform for prediction ( Zuur & Ieno, 2016 ). Such an approach requires a huge amount of data ( Dochtermann & Jenkins, 2011 ), but cross-validation to validate a model’s predictive ability is rare and should result in more robust inference (see also Fieberg & Johnson, 2015 ).”content_tags.quantities[20]
quantityn/k <40 — condition for use of AICc — “Several information criteria are available to rank competing models, but their calculations differ subtly. Commonly applied criteria include AIC, the small sample size correction of AIC for when n/k <40 (AICc), and the Bayesian Information Criterion (BIC). Quasi-AIC (QAIC) is an adjustment to AIC that accounts for overdispersion, and should be used when overdispersion has been identified in a model (see Overdispersion section above). Note QAIC is not required if the overdispersion in the dataset has been modelled using zero-inflated models, OLREs, or compound probability distributions. Bolker et al. (2009) and Grueber et al. (2011) provide details of how to calculate these criteria.”content_tags.quantities[21]
quantity0 and 2 — historical Delta-AIC range recommended for inference — “Once all models have been ranked by an information criterion, it is common practice to identify a ‘top model set’ containing all models assumed to have comparable support in the data, normally based on the change in AIC values relative to the best AIC model (ΔAIC). Historically, Burnham & Anderson (2002) recommended that only models with ΔAIC between 0 and 2 should be used for inference, but subsequent work has shown that for some models a much higher ΔAIC cut off is required to give a 95% probability of including the best (expected) Kullback–Leibler Distance model in the top model set ( Richards, 2008 ; see also Burnham, Anderson & Huyvaert, 2011 ). An alternative approach to using ΔAIC cut offs is to include all models within a cumulative Akaike weight of ≥0.95 from the top model in the ‘95% confidence set’ ( Burnham & Anderson, 2002 ; Symonds & Moussalli, 2011 ). Using high cut-offs is not encouraged, to avoid overly complex model sets containing uninformative predictors ( Richards, 2008 ; Grueber et al., 2011 ) but deciding on how many is too many remains a contentious issue ( Grueber et al., 2011 ). We suggest Δ6 as a minimum following Richards (2005 , 2008) .”content_tags.quantities[22]
quantity0.95 — cumulative Akaike weight defining a 95 percent confidence set — “Once all models have been ranked by an information criterion, it is common practice to identify a ‘top model set’ containing all models assumed to have comparable support in the data, normally based on the change in AIC values relative to the best AIC model (ΔAIC). Historically, Burnham & Anderson (2002) recommended that only models with ΔAIC between 0 and 2 should be used for inference, but subsequent work has shown that for some models a much higher ΔAIC cut off is required to give a 95% probability of including the best (expected) Kullback–Leibler Distance model in the top model set ( Richards, 2008 ; see also Burnham, Anderson & Huyvaert, 2011 ). An alternative approach to using ΔAIC cut offs is to include all models within a cumulative Akaike weight of ≥0.95 from the top model in the ‘95% confidence set’ ( Burnham & Anderson, 2002 ; Symonds & Moussalli, 2011 ). Using high cut-offs is not encouraged, to avoid overly complex model sets containing uninformative predictors ( Richards, 2008 ; Grueber et al., 2011 ) but deciding on how many is too many remains a contentious issue ( Grueber et al., 2011 ). We suggest Δ6 as a minimum following Richards (2005 , 2008) .”content_tags.quantities[23]
quantityΔ6 — authors' suggested minimum Delta-AIC cutoff — “Once all models have been ranked by an information criterion, it is common practice to identify a ‘top model set’ containing all models assumed to have comparable support in the data, normally based on the change in AIC values relative to the best AIC model (ΔAIC). Historically, Burnham & Anderson (2002) recommended that only models with ΔAIC between 0 and 2 should be used for inference, but subsequent work has shown that for some models a much higher ΔAIC cut off is required to give a 95% probability of including the best (expected) Kullback–Leibler Distance model in the top model set ( Richards, 2008 ; see also Burnham, Anderson & Huyvaert, 2011 ). An alternative approach to using ΔAIC cut offs is to include all models within a cumulative Akaike weight of ≥0.95 from the top model in the ‘95% confidence set’ ( Burnham & Anderson, 2002 ; Symonds & Moussalli, 2011 ). Using high cut-offs is not encouraged, to avoid overly complex model sets containing uninformative predictors ( Richards, 2008 ; Grueber et al., 2011 ) but deciding on how many is too many remains a contentious issue ( Grueber et al., 2011 ). We suggest Δ6 as a minimum following Richards (2005 , 2008) .”content_tags.quantities[24]
variablefixed effect (predictor whose named levels are directly estimated) — “Fitting ‘group’ as a fixed effect in model M1 assumes the five ‘group’ means are all independent of one another, and share a common residual variance. Conversely, fitting group as a random intercept model in model M2 assumes that the five measured group means are only a subset of the realised possibilities drawn from a ‘global’ set of population means that follow a Normal distribution with its own mean (μ group , Fig. 1A ) and variance (σ 2 group ). Therefore, LMMs model the variance hierarchically, estimating the processes that generate among-group variation in means, as well as variation within groups. Treating groups from a field survey as only a subset of the possible groups that could be sampled is quite intuitive, because there are likely many more groups (e.g. populations) of the study species in nature than the five the researcher measured. Conversely if one has designed an experiment to test the effect of three different temperature regimes on growth rate of plants, specifying temperature treatment as a fixed effect appears sensible because the experimenter has deliberately set the variable at a given value of interest. That is, there are no unmeasured groups with respect to that particular experimental design.”content_tags.variables[0]
variablerandom intercept (grouping structure controlling clustered observations) — “This is one of the most common uses of a random effect. Complex biological data sets often contain nested and/or hierarchical structures such as repeat measurements from individuals within and across units of time. Random effects allow for the control of non-independence by constraining non-independent ‘units’ to have the same intercept and/or slope ( Zuur et al., 2009 ; Zuur & Ieno, 2016 ). Fitting only a random intercept allows group means to vary, but assumes all groups have a common slope for a fitted covariate (fixed effect). Fitting random intercepts and slopes allows the slope of a predictor to vary based on a separate grouping variable. For example, one hypothesis might be that the probability of successful breeding for an animal is a function of its body mass. If we had measured animals from multiple sampling sites, we might wish to fit ‘sampling site’ as a random intercept, and estimate a common slope (change in breeding success) for body mass across all sampling sites by fitting it as a fixed effect:”content_tags.variables[1]
variablerandom slope (group-varying predictor coefficient) — “Fitting random slope models in ecology is not very common. Often, researchers fit random intercepts to control for non-independence among measurements of a statistical group (e.g. birds within a woodland), but force variables to have a common slope across all experimental units. However, there is growing evidence that researchers should be fitting random slopes as standard practice in (G)LMMs. Random slope models allow the coefficient of a predictor to vary based on clustering/non-independence in the data (see Fig. 1B ). In our bird example above, we might fit a random slope for the effect of foraging rate on clutch mass given each individual bird ID. That is, the magnitude of the effect foraging rate on resultant clutch mass differs among birds. Random slope models (also often called random coefficients models, Kéry, 2010 ) apply to both continuous and factor variables. For example, if we had applied a two-level feeding treatment to birds in each woodland (vitamin supplementation or control), we might also expect the magnitude of the effect of receiving vitamin supplementation to differ depending on which woodland it was applied to. So here we would specify random slopes for the treatment variable given woodland ID.”content_tags.variables[2]
variablen/k (model complexity relative to sample size) — “The complexity of the global model will likely be a trade-off between the number of measured observations (the n of the study) and the proposed hypotheses about how the measured variables affect the outcome (response) variable. Lack of careful consideration of the parameters to be estimated can result in overparameterised models, where there are insufficient data to estimate coefficients robustly ( Southwood & Henderson, 2000 ; Quinn & Keough, 2002 ; Crawley, 2013 ). In simple GLMs, overparameterisation results in a rapid decline in (or absence of) degrees of freedom with which to estimate residual error. Detection of overparameterisation in LMMs can be more difficult because each random effect uses only a single degree of freedom, however the estimation of variance among small numbers of groups can be numerically unstable. Unfortunately, it is common practice to fit a global model that is simply as complex as possible, irrespective of what that model actually represents; that is a dataset containing k predictors yields a model containing a k -way interaction among all predictors and simplify from there ( Crawley, 2013 ). This approach is flawed for two reasons. First, this practice encourages fitting biologically-unfeasible models containing nonsensical interactions. It should be possible to draw and/or visualise what the fitted model ‘looks like’ for various combinations of predictors—generally extremely difficult when more than two terms are interacting. Second, using this approach makes it very easy to fit a model too complex for the data. At best, the model will fail to converge, thus preventing inference. At worst, the model will ‘work’, risking false inference. Guidelines for the ideal ratio of data points ( n ) to estimated parameters ( k ) vary widely (see Forstmeier & Schielzeth, 2011 ). Crawley (2013) suggests a minimum n / k of 3, though we argue this is very low and that an n/k of 10 is more conservative. A ‘simple’ model containing a three-way interaction between continuous predictors, all that interaction’s daughter terms, and a single random intercept needs to estimate eight parameters, so requires a dataset of a minimum n of 80 using this rule. Interactions can be especially demanding, as fitting interactions between a multi-level factor and a continuous predictor can result in poor sample sizes for specific treatment combinations even if the total n is quite large ( Zuur, Ieno & Elphick, 2010 ), which will lead to unreliable model estimates.”content_tags.variables[3]
variablevariance inflation factor (collinearity diagnostic) — “With the desired set of predictors identified, it is wise to check for collinearity among predictor variables. Collinearity among predictors can cause several problems in model interpretation because those predictors explain some of the same variance in the response variable, and their effects cannot be estimated independently ( Quinn & Keough, 2002 ; Graham, 2003 ): First, it can cause model convergence issues as models struggle to partition variance between predictor variables. Second, positively correlated variables can have negatively correlated regression coefficients, as the marginal effect of one is estimated, given the effect of the other, leading to incorrect interpretations of the direction of effects ( Fig. 2 ). Third, collinearity can inflate standard errors of coefficient estimates and make ‘true’ effects harder to detect ( Zuur, Ieno & Elphick, 2010 ). Finally, collinearity can affect the accuracy of model averaged parameter estimates during multi-model inference ( Freckleton, 2011 ; Cade, 2015 ). Examples of collinear variables include climatic data such as temperature and rainfall, and morphometric data such as body length and mass. Collinearity can be detected in several ways, including creating correlation matrices between raw explanatory variables, with values >0.7 suggesting both should not be used in the same model ( Dormann et al., 2013 ); or calculating the variance inflation factor (VIF) of each predictor that is a candidate for inclusion in a model (details in Zuur, Ieno & Elphick, 2010 ) and dropping variables with a VIF higher than a certain value (e.g. 3, Zuur, Ieno & Elphick, 2010 ; or 10, Quinn & Keough, 2002 ). One problem with these methods though is that they rely on a user-selected choice of threshold of either the correlation coefficient or the VIF, and use of more stringent (lower) is probably sensible. Some argue that one should always prefer inspection of VIF values over correlation coefficients of raw predictors because strong multicollinearity can be hard to detect with the latter. When collinearity is detected, researchers can either select one variable as representative of multiple collinear variables ( Austin, 2002 ), ideally using biological knowledge/reasoning to select the most meaningful variable ( Zuur, Ieno & Elphick, 2010 ); or conduct a dimension-reduction analysis (e.g. Principal Components Analysis; James & McCullugh, 1990 ), leaving a single variable that accounts for most of the shared variance among the correlated variables. Both approaches will only be applicable if it is possible to group explanatory variables by common features, thereby effectively creating broader, but still meaningful explanatory categories. For instance, by using mass and body length metrics to create a ‘scaled mass index’ representative of body size ( Peig & Green, 2009 ).”content_tags.variables[4]
variableR 2 (model-fit statistic) — “In a linear modelling context, R 2 gives a measure of the proportion of explained variance in the model, and is an intuitive metric for assessing model fit. Unfortunately, the issue of calculating R 2 for (G)LMMs is particularly contentious; whereas residual variance can easily be estimated for a simple linear model with no random effects and a Normal error structure, this is not the case for (G)LMMS. In fact, two issues exist with generalising R 2 measures to (G)LMMs: (i) for generalised models containing non-Normal error structures, it is not clear how to calculate the residual variance term on which the R 2 term is dependent; and (ii) for mixed effects models, which are hierarchical in nature and contain error (unexplained variance) at each of these levels, it is uncertain which level to use to calculate a residual error term ( Nakagawa & Schielzeth, 2013 ). Diverse methods have been proposed to account for this in GLMMs, including multiple so-called ‘pseudo- r 2 ’ measures of explained variance ( Nagelkerke, 1991 ; Cox & Snell, 1989 ), but their performance is often unstable for mixed models and can return negative values ( Nakagawa & Schielzeth, 2013 ). Gelman & Pardoe (2006) derived a measure of R 2 that accounts for the hierarchical nature of LMMs and gives a measure for both group and unit level regressions (see also Gelman & Hill, 2007 , p. 474), but it was developed for a Bayesian framework and a frequentist analogue does not appear to be widely implemented. The method that has gained the most support over recent years is that of Nakagawa & Schielzeth (2013) .”content_tags.variables[5]
variableoverdispersion statistic (model-adequacy statistic) — “Simulation is a powerful tool for assessing model fit ( Gelman & Hill, 2007 ; Kéry, 2010 ; Zuur & Ieno, 2016 ), but is rarely used. The premise here is simple: when simulating a response variable from a given set of parameter estimates (a model), the fit of the model to those simulated ‘ideal’ response data should be comparable to the model’s fit to the real response variable ( Kéry, 2010 ). Each iteration yields a simulated dataset that allows calculation of a statistic of interest such as the sum of squared residuals ( Kéry, 2010 ), the overdispersion statistic ( Harrison, 2014 ) or the percentage of zeroes for a Poisson model ( Zuur & Ieno, 2016 ). If the model is a good fit, after a sufficiently large number of iterations (e.g. 10,000) the distribution of this statistic should encompass the observed statistic in the real data. Significant deviations outside of that distribution indicate the model is a poor fit ( Kéry, 2010 ). Figure 3 shows an example of using simulation to assess the fit of a Poisson GLMM. After fitting a GLMM to count data, we may wish to check for overdispersion and/or zero-inflation, the presence of which might suggest we need to adjust our modelling strategy. Simulating 10,000 datasets from our model reveals that the proportion of zeroes in our real data is comparable to simulated expectation ( Fig. 3A ). Conversely, simulating 1,000 datasets and refitting our model to each dataset, we see that the sum of the squared Pearson residuals for the real data is far larger than simulated expectation ( Fig. 3B ), giving evidence of overdispersion ( Harrison, 2014 ). We can use the simulated frequency distribution of this test statistic to derive a mean and 95% confidence interval for the overdispersion by calculating the ratio of our test statistic to the simulated values ( Harrison, 2014 ). The dispersion statistic for our model is 3.16 (95% CI [2.77–3.59]). Thus, simulations have allowed us to conclude that our model is overdispersed, but that this overdispersion is not due to zero-inflation. All R code for reproducing these simulations is provided in the Figshare: DOI 10.6084/m9.figshare.5173396 .”content_tags.variables[6]
variableAIC (relative model-support and fit-complexity score) — “Unlike NHST, which leads to a focus on a single best model, model selection using IT approaches allows the degree of support in the data for several competing models to be ranked using metrics such as AIC. Information criteria attempt to quantify the Kullback–Leibler distance (KLD), a measure of the relative amount of information lost when a given model approximates the true data-generating process. Thus, relative difference among models in AIC should be representative in relative differences in KLD, and the model with the lowest AIC should lose the least information and be the best model in that it optimises the trade-off between fit and complexity ( Richards, 2008 ). A key strength of the IT approach is that it accounts for ‘model selection uncertainty’, the idea that several competing models may all fit the data similarly well ( Burnham & Anderson, 2002 ; Burnham, Anderson & Huyvaert, 2011 ). This is particularly useful when competing models share equal ‘complexity’ (i.e. number of predictors, or number of residual degrees of freedom): in such situations, NHST is impossible because NHST requires a simpler (nested) model for comparison. Where several models have similar support in the data, inference can be made from all models using model-averaging ( Burnham & Anderson, 2002 ; Johnson & Omland, 2004 ; Grueber et al., 2011 ). Model averaging incorporates uncertainty by weighting the parameter estimate of a model by that model’s Akaike weight (often referred to as the probability of that model being the best Kullback–Leibler model given the data, but see Richards, 2005 ). Multi-model inference places a strong emphasis on a priori formulation of hypotheses ( Burnham & Anderson, 2002 ; Dochtermann & Jenkins, 2011 ; Lindberg, Schmidt & Walker, 2015 ), and model-averaged parameter estimates arising from multi-model inference are thought to lead to more robust conclusions about the biological systems compared to NHST ( Johnson & Omland, 2004 , but see Richards, Whittingham & Stephens, 2011 ). These strengths over NHST have meant that the use of IT approaches in ecology and evolution has grown rapidly in recent years ( Lindberg, Schmidt & Walker, 2015 ; Barker & Link, 2015 ; Cade, 2015 ). We do not expand on the specific details of the difference between NHST and IT here, but point the reader to some excellent references on the topic. Instead, we use this section to highlight recent empirical developments in the best practice methods for the application of IT in ecology and evolution.”content_tags.variables[7]
variableAkaike weight (model-support weight used in averaging) — “Unlike NHST, which leads to a focus on a single best model, model selection using IT approaches allows the degree of support in the data for several competing models to be ranked using metrics such as AIC. Information criteria attempt to quantify the Kullback–Leibler distance (KLD), a measure of the relative amount of information lost when a given model approximates the true data-generating process. Thus, relative difference among models in AIC should be representative in relative differences in KLD, and the model with the lowest AIC should lose the least information and be the best model in that it optimises the trade-off between fit and complexity ( Richards, 2008 ). A key strength of the IT approach is that it accounts for ‘model selection uncertainty’, the idea that several competing models may all fit the data similarly well ( Burnham & Anderson, 2002 ; Burnham, Anderson & Huyvaert, 2011 ). This is particularly useful when competing models share equal ‘complexity’ (i.e. number of predictors, or number of residual degrees of freedom): in such situations, NHST is impossible because NHST requires a simpler (nested) model for comparison. Where several models have similar support in the data, inference can be made from all models using model-averaging ( Burnham & Anderson, 2002 ; Johnson & Omland, 2004 ; Grueber et al., 2011 ). Model averaging incorporates uncertainty by weighting the parameter estimate of a model by that model’s Akaike weight (often referred to as the probability of that model being the best Kullback–Leibler model given the data, but see Richards, 2005 ). Multi-model inference places a strong emphasis on a priori formulation of hypotheses ( Burnham & Anderson, 2002 ; Dochtermann & Jenkins, 2011 ; Lindberg, Schmidt & Walker, 2015 ), and model-averaged parameter estimates arising from multi-model inference are thought to lead to more robust conclusions about the biological systems compared to NHST ( Johnson & Omland, 2004 , but see Richards, Whittingham & Stephens, 2011 ). These strengths over NHST have meant that the use of IT approaches in ecology and evolution has grown rapidly in recent years ( Lindberg, Schmidt & Walker, 2015 ; Barker & Link, 2015 ; Cade, 2015 ). We do not expand on the specific details of the difference between NHST and IT here, but point the reader to some excellent references on the topic. Instead, we use this section to highlight recent empirical developments in the best practice methods for the application of IT in ecology and evolution.”content_tags.variables[8]
variablestandardised effect sizes (preferred indicator of predictor importance) — “With a top model set in hand, it is common practice to use the summed Akaike weights of every model in that set in which a predictor of interest occurs as a measure of ‘variable importance’ ( Grueber et al., 2011 ). Recent work has demonstrated that this approach is flawed because Akaike weights are interpreted as relative model probabilities, and give no information about the importance of individual predictors in a model ( Cade, 2015 ), and fail to distinguish between variables with weak or strong effects ( Galipaud et al., 2014 ; Galipaud, Gillingham & Dechaume-Moncharmont, 2017 ). The sum of Akaike weights as a measure of variable importance may at best be a measure of how likely a variable would be included in the top model set after repeated sampling of the data ( Burnham & Anderson, 2002 ; Cade, 2015 , but see Galipaud, Gillingham & Dechaume-Moncharmont, 2017 ). A better measure of variable importance would be to compare standardised effect sizes ( Schielzeth, 2010 ; Cade, 2015 ). However, summed Akaike weights for variables in top model sets still represent useful quantitative evidence ( Giam & Olden, 2016 ); they should be reported in model summary tables, and ideally interpreted in tandem with model averaged effect sizes for individual parameters.”content_tags.variables[9]
definitionlinear mixed effects models — “Linear mixed effects models and generalized linear mixed effects models (GLMMs), have increased in popularity in the last decade ( Zuur et al., 2009 ; Bolker et al., 2009 ). Both extend traditional linear models to include a combination of fixed and random effects as predictor variables. The introduction of random effects affords several non-exclusive benefits. First, biological datasets are often highly structured, containing clusters of non-independent observational units that are hierarchical in nature, and LMMs allow us to explicitly model the non-independence in such data. For example, we might measure several chicks from the same clutch, and several clutches from different females, or we might take repeated measurements of the same chick’s growth rate over time. In both cases, we might expect that measurements within a statistical unit (here, an individual, or a female’s clutch) might be more similar than measurements from different units. Explicit modelling of the random effects structure will aid correct inference about fixed effects, depending on which level of the system’s hierarchy is being manipulated. In our example, if the fixed effect varies or is manipulated at the level of the clutch, then treating multiple chicks from a single clutch as independent would represent pseudoreplication, which can be controlled carefully by using random effects. Similarly, if fixed effects vary at the level of the chick, then non-independence among clutches or mothers could also be accounted for. Random effects typically represent some grouping variable ( Breslow & Clayton, 1993 ) and allow the estimation of variance in the response variable within and among these groups. This reduces the probability of false positives (Type I error rates) and false negatives (Type II error rates, e.g. Crawley, 2013 ). In addition, inferring the magnitude of variation within and among statistical clusters or hierarchical levels can be highly informative in its own right. In our bird example, understanding whether there is more variation in a focal trait among females within a population, rather than among populations, might be a central goal of the study.”content_tags.definitions[0]
definitionrandom intercept — “This is one of the most common uses of a random effect. Complex biological data sets often contain nested and/or hierarchical structures such as repeat measurements from individuals within and across units of time. Random effects allow for the control of non-independence by constraining non-independent ‘units’ to have the same intercept and/or slope ( Zuur et al., 2009 ; Zuur & Ieno, 2016 ). Fitting only a random intercept allows group means to vary, but assumes all groups have a common slope for a fitted covariate (fixed effect). Fitting random intercepts and slopes allows the slope of a predictor to vary based on a separate grouping variable. For example, one hypothesis might be that the probability of successful breeding for an animal is a function of its body mass. If we had measured animals from multiple sampling sites, we might wish to fit ‘sampling site’ as a random intercept, and estimate a common slope (change in breeding success) for body mass across all sampling sites by fitting it as a fixed effect:”content_tags.definitions[1]
definitionshrinkage — “Random effect models use data from all the groups to estimate the mean and variance of the global distribution of group means. Assuming all group means are drawn from a common distribution causes the estimates of their means to drift towards the global mean μ group . This phenomenon, known as shrinkage ( Gelman & Hill, 2007 ; Kéry, 2010 ), can also lead to smaller and more precise standard errors around means. Shrinkage is strongest for groups with small sample sizes, as the paucity of within-group information to estimate the mean is counteracted by the model using data from other groups to improve the precision of the estimate. This ‘partial pooling’ of the estimates is a principal benefit of fitting something as a random effect ( Gelman & Hill, 2007 ). However, it can feel strange that group means should be shrunk towards the global mean, especially for researchers more used to treating sample means as independent fixed effects. Accordingly, one issue is that variance estimates can be hugely imprecise when there are fewer than five levels of the random grouping variable (intercept or slope; see Harrison, 2015 ). However, thanks to the Central Limit Theorem, the assumption of Gaussian distribution of group means is usually a good one, and the benefits of hierarchical analysis will outweigh the apparent costs of shrinkage.”content_tags.definitions[2]
definitionpartial pooling — “Random effect models use data from all the groups to estimate the mean and variance of the global distribution of group means. Assuming all group means are drawn from a common distribution causes the estimates of their means to drift towards the global mean μ group . This phenomenon, known as shrinkage ( Gelman & Hill, 2007 ; Kéry, 2010 ), can also lead to smaller and more precise standard errors around means. Shrinkage is strongest for groups with small sample sizes, as the paucity of within-group information to estimate the mean is counteracted by the model using data from other groups to improve the precision of the estimate. This ‘partial pooling’ of the estimates is a principal benefit of fitting something as a random effect ( Gelman & Hill, 2007 ). However, it can feel strange that group means should be shrunk towards the global mean, especially for researchers more used to treating sample means as independent fixed effects. Accordingly, one issue is that variance estimates can be hugely imprecise when there are fewer than five levels of the random grouping variable (intercept or slope; see Harrison, 2015 ). However, thanks to the Central Limit Theorem, the assumption of Gaussian distribution of group means is usually a good one, and the benefits of hierarchical analysis will outweigh the apparent costs of shrinkage.”content_tags.definitions[3]
definitionnested — “A common issue that causes confusion is this issue of specifying random effects as either ‘crossed’ or ‘nested’. In reality, the way you specify your random effects will be determined by your experimental or sampling design ( Schielzeth & Nakagawa, 2013 ). A simple example can illustrate the difference. Imagine a researcher was interested in understanding the factors affecting the clutch mass of a passerine bird. They have a study population spread across five separate woodlands, each containing 30 nest boxes. Every week during breeding they measure the foraging rate of females at feeders, and measure their subsequent clutch mass. Some females have multiple clutches in a season and contribute multiple data points. Here, female ID is said to be nested within woodland : each woodland contains multiple females unique to that woodland (that never move among woodlands). The nested random effect controls for the fact that (i) clutches from the same female are not independent, and (ii) females from the same woodland may have clutch masses more similar to one another than to females from other woodlands”content_tags.definitions[4]
definitionrandom slopes — “Fitting random slope models in ecology is not very common. Often, researchers fit random intercepts to control for non-independence among measurements of a statistical group (e.g. birds within a woodland), but force variables to have a common slope across all experimental units. However, there is growing evidence that researchers should be fitting random slopes as standard practice in (G)LMMs. Random slope models allow the coefficient of a predictor to vary based on clustering/non-independence in the data (see Fig. 1B ). In our bird example above, we might fit a random slope for the effect of foraging rate on clutch mass given each individual bird ID. That is, the magnitude of the effect foraging rate on resultant clutch mass differs among birds. Random slope models (also often called random coefficients models, Kéry, 2010 ) apply to both continuous and factor variables. For example, if we had applied a two-level feeding treatment to birds in each woodland (vitamin supplementation or control), we might also expect the magnitude of the effect of receiving vitamin supplementation to differ depending on which woodland it was applied to. So here we would specify random slopes for the treatment variable given woodland ID.”content_tags.definitions[5]
definitionpredictor centering — “Transformations of predictor variables are common, and can improve model performance and interpretability ( Gelman & Hill, 2007 ). Two common transformations for continuous predictors are (i) predictor centering, the mean of predictor x is subtracted from every value in x, giving a variable with mean 0 and SD on the original scale of x ; and (ii) predictor standardising, where x is centred and then divided by the SD of x , giving a variable with mean 0 and SD 1. Rescaling the mean of predictors containing large values (e.g. rainfall measured in 1,000s of millimetre) through centring/standardising will often solve convergence problems, in part because the estimation of intercepts is brought into the main body of the data themselves. Both approaches also remove the correlation between main effects and their interactions, making main effects more easily interpretable when models also contain interactions ( Schielzeth, 2010 ). Note that this collinearity among coefficients is distinct from collinearity between two separate predictors (see above). Centring and standardising by the mean of a variable changes the interpretation of the model intercept to the value of the outcome expected when x is at its mean value. Standardising further adjusts the interpretation of the coefficient (slope) for x in the model to the change in the outcome variable for a 1 SD change in the value of x . Scaling is therefore a useful tool to improve the stability of models and likelihood of model convergence, and the accuracy of parameter estimates if variables in a model are on large (e.g. 1,000s of millimetre of rainfall), or vastly different scales. When using scaling, care must be taken in the interpretation and graphical representation of outcomes.”content_tags.definitions[6]
definitionpredictor standardising — “Transformations of predictor variables are common, and can improve model performance and interpretability ( Gelman & Hill, 2007 ). Two common transformations for continuous predictors are (i) predictor centering, the mean of predictor x is subtracted from every value in x, giving a variable with mean 0 and SD on the original scale of x ; and (ii) predictor standardising, where x is centred and then divided by the SD of x , giving a variable with mean 0 and SD 1. Rescaling the mean of predictors containing large values (e.g. rainfall measured in 1,000s of millimetre) through centring/standardising will often solve convergence problems, in part because the estimation of intercepts is brought into the main body of the data themselves. Both approaches also remove the correlation between main effects and their interactions, making main effects more easily interpretable when models also contain interactions ( Schielzeth, 2010 ). Note that this collinearity among coefficients is distinct from collinearity between two separate predictors (see above). Centring and standardising by the mean of a variable changes the interpretation of the model intercept to the value of the outcome expected when x is at its mean value. Standardising further adjusts the interpretation of the coefficient (slope) for x in the model to the change in the outcome variable for a 1 SD change in the value of x . Scaling is therefore a useful tool to improve the stability of models and likelihood of model convergence, and the accuracy of parameter estimates if variables in a model are on large (e.g. 1,000s of millimetre of rainfall), or vastly different scales. When using scaling, care must be taken in the interpretation and graphical representation of outcomes.”content_tags.definitions[7]
definitionoverdispersion — “Models with a Gaussian (Normal) error structure do not require adjustment for overdispersion, as Gaussian models do not assume a specific mean-variance relationship. For generalized mixed models (GLMMs), however (e.g. Poisson, Binomial), the variance of the data can be greater than predicted by the error structure of the model ( Hilbe, 2011 ). Overdispersion can be caused by several processes influencing data, including zero-inflation, aggregation (non-independence) among counts, or both ( Zuur et al., 2009 ). The presence of overdispersion in a model suggests it is a bad fit, and standard errors of estimates will likely be biased unless overdispersion is accounted for ( Harrison, 2014 ). The use of canonical binomial and Poisson error structures, when residuals are overdispersed, tends to result in Type I errors because standard errors are underestimated. Adding an observation-level random effect (OLRE) to overdispersed Poisson or Binomial models can model the overdispersion and give more accurate estimates of standard errors ( Harrison, 2014 , 2015 ). However, OLRE models may yield inferior fit and/or biased parameter estimates compared to models using compound probability distributions such as the Negative-Binomial for count data ( Hilbe, 2011 ; Harrison, 2014 ) or Beta-Binomial for proportion data ( Harrison, 2015 ), and so it is good practice to assess the relative fit of both types of model using AIC before proceeding ( Zuur et al., 2009 ). Researchers very rarely report the overdispersion statistic (but see Elston et al., 2001 ), and it should be made a matter of routine. See “Assessing Model Fit Through Simulation” Section for advice on how to quantify and model overdispersion. Note that models can also be underdispersed ( less variance than expected/predicted by the model, but the tools for dealing with underdispersion are less well developed ( Zuur et al., 2009 ). The spaMM package ( Rousset & Ferdy, 2014 ) can fit models that can handle both overdispersion and underdispersion.”content_tags.definitions[8]
definitionR 2 — “In a linear modelling context, R 2 gives a measure of the proportion of explained variance in the model, and is an intuitive metric for assessing model fit. Unfortunately, the issue of calculating R 2 for (G)LMMs is particularly contentious; whereas residual variance can easily be estimated for a simple linear model with no random effects and a Normal error structure, this is not the case for (G)LMMS. In fact, two issues exist with generalising R 2 measures to (G)LMMs: (i) for generalised models containing non-Normal error structures, it is not clear how to calculate the residual variance term on which the R 2 term is dependent; and (ii) for mixed effects models, which are hierarchical in nature and contain error (unexplained variance) at each of these levels, it is uncertain which level to use to calculate a residual error term ( Nakagawa & Schielzeth, 2013 ). Diverse methods have been proposed to account for this in GLMMs, including multiple so-called ‘pseudo- r 2 ’ measures of explained variance ( Nagelkerke, 1991 ; Cox & Snell, 1989 ), but their performance is often unstable for mixed models and can return negative values ( Nakagawa & Schielzeth, 2013 ). Gelman & Pardoe (2006) derived a measure of R 2 that accounts for the hierarchical nature of LMMs and gives a measure for both group and unit level regressions (see also Gelman & Hill, 2007 , p. 474), but it was developed for a Bayesian framework and a frequentist analogue does not appear to be widely implemented. The method that has gained the most support over recent years is that of Nakagawa & Schielzeth (2013) .”content_tags.definitions[9]
definitionmodel selection — “Model selection seeks to optimise the trade-off between the fit of a model given the data and that model’s complexity. Given that the researcher has a robust global model that satisfies standard assumptions of error structure and hierarchical independence, several methods of model selection are available, each of which maximises the fit-complexity trade off in a different way ( Johnson & Omland, 2004 ). We discuss the relative merits of each approach briefly here, before expanding on the use of information-theory and multi-model inference in ecology. We note that these discussions are not meant to be exhaustive comparisons, and we encourage the reader to delve into the references provided for a comprehensive picture of the arguments for and against each approach.”content_tags.definitions[10]
definitionall-subsets selection — “All-Subsets selection is the act of fitting a global model, often containing every possible interaction, and then fitting every possible nested model. On the surface, all-subsets might appear to be a convenient and fast way of ‘uncovering’ the causal relationships in the data. All-subsets selection of enormous global models containing large numbers of predictors and their interactions makes analyses extremely prone to including uninformative parameters and ‘overfitted’ models. Burnham & Anderson (2002) caution strongly against all-subsets selection, and instead advocate ‘hard thinking’ about the hypotheses underlying the data. If adopting an all subsets approach, it is worth noting the number of models to consider increases exponentially with the number of predictors, where five predictors require 2 5 (32) models to be fitted, whilst 10 predictors requires 1,024 models, both without including any interactions but including the null model.”content_tags.definitions[11]
definitionQAIC — “Several information criteria are available to rank competing models, but their calculations differ subtly. Commonly applied criteria include AIC, the small sample size correction of AIC for when n/k <40 (AICc), and the Bayesian Information Criterion (BIC). Quasi-AIC (QAIC) is an adjustment to AIC that accounts for overdispersion, and should be used when overdispersion has been identified in a model (see Overdispersion section above). Note QAIC is not required if the overdispersion in the dataset has been modelled using zero-inflated models, OLREs, or compound probability distributions. Bolker et al. (2009) and Grueber et al. (2011) provide details of how to calculate these criteria.”content_tags.definitions[12]
definitionnesting rule — “It is well known that AIC tends towards overly complex models (‘overfitting’, Burnham & Anderson, 2002 ). As AIC only adds a two point penalty to a model for inclusion of a new term, Arnold (2010) demonstrated that adding a nuisance (completely random) predictor to a well-fitting model leads to a ΔAIC value of the new model of ∼2, therefore appearing to warrant inclusion in the top model set (see section above). Therefore, inference can be greatly improved by eliminating models from the top model set that are more complex versions of nested models with better AIC support, known as the nesting rule ( Richards, 2005 , 2008 ; Richards, Whittingham & Stephens, 2011 ). Doing so greatly reduces the number of models to be used for inference, and improves parameter accuracy ( Arnold, 2010 ; Richards, 2008 ). Symonds & Moussalli (2011) caution that its applicability has not yet been widely assessed over a range of circumstances, but the theory behind its application is sound and intuitive ( Arnold, 2010 ).”content_tags.definitions[13]
Concepts
terms this paper carries, each with the sentence it was cut from — the layer that joins one paper to another. Terms with no quote yet are on CONCEPTS.html.
conceptlinear mixed effects models — not defined in this paper's own words; models combining fixed and random effects — “The use of linear mixed effects models (LMMs) is increasingly common in the analysis of biological data. Whilst LMMs offer a flexible approach to modelling a broad range of data types, ecological data are often complex and require complex model structures, and the fitting and interpretation of such models is not always straightforward. The ability to achieve robust biological inference requires that practitioners know how and when to apply these tools. Here, we provide a general overview of current methods for the application of LMMs to biological data, and highlight the typical pitfalls that can be encountered in the statistical modelling process. We tackle several issues regarding methods of model selection, with particular reference to the use of information theory and multi-model inference in ecology. We offer practical solutions and direct the reader to key references that provide further technical detail for those seeking a deeper understanding. This overview should serve as a widely accessible code of best practice for applying LMMs to complex biological problems and model structures, and in doing so improve the robustness of conclusions drawn from studies investigating ecological and evolutionary questions.”concepts[0]
conceptLMMs — not defined in this paper's own words; abbreviation for linear mixed effects models — “The use of linear mixed effects models (LMMs) is increasingly common in the analysis of biological data. Whilst LMMs offer a flexible approach to modelling a broad range of data types, ecological data are often complex and require complex model structures, and the fitting and interpretation of such models is not always straightforward. The ability to achieve robust biological inference requires that practitioners know how and when to apply these tools. Here, we provide a general overview of current methods for the application of LMMs to biological data, and highlight the typical pitfalls that can be encountered in the statistical modelling process. We tackle several issues regarding methods of model selection, with particular reference to the use of information theory and multi-model inference in ecology. We offer practical solutions and direct the reader to key references that provide further technical detail for those seeking a deeper understanding. This overview should serve as a widely accessible code of best practice for applying LMMs to complex biological problems and model structures, and in doing so improve the robustness of conclusions drawn from studies investigating ecological and evolutionary questions.”concepts[1]
conceptbiological data — not defined in this paper's own words; complex ecological and evolutionary observations — “The use of linear mixed effects models (LMMs) is increasingly common in the analysis of biological data. Whilst LMMs offer a flexible approach to modelling a broad range of data types, ecological data are often complex and require complex model structures, and the fitting and interpretation of such models is not always straightforward. The ability to achieve robust biological inference requires that practitioners know how and when to apply these tools. Here, we provide a general overview of current methods for the application of LMMs to biological data, and highlight the typical pitfalls that can be encountered in the statistical modelling process. We tackle several issues regarding methods of model selection, with particular reference to the use of information theory and multi-model inference in ecology. We offer practical solutions and direct the reader to key references that provide further technical detail for those seeking a deeper understanding. This overview should serve as a widely accessible code of best practice for applying LMMs to complex biological problems and model structures, and in doing so improve the robustness of conclusions drawn from studies investigating ecological and evolutionary questions.”concepts[2]
conceptrobust biological inference — not defined in this paper's own words; well-supported conclusions from biological models — “The use of linear mixed effects models (LMMs) is increasingly common in the analysis of biological data. Whilst LMMs offer a flexible approach to modelling a broad range of data types, ecological data are often complex and require complex model structures, and the fitting and interpretation of such models is not always straightforward. The ability to achieve robust biological inference requires that practitioners know how and when to apply these tools. Here, we provide a general overview of current methods for the application of LMMs to biological data, and highlight the typical pitfalls that can be encountered in the statistical modelling process. We tackle several issues regarding methods of model selection, with particular reference to the use of information theory and multi-model inference in ecology. We offer practical solutions and direct the reader to key references that provide further technical detail for those seeking a deeper understanding. This overview should serve as a widely accessible code of best practice for applying LMMs to complex biological problems and model structures, and in doing so improve the robustness of conclusions drawn from studies investigating ecological and evolutionary questions.”concepts[3]
conceptmulti-model inference — not defined in this paper's own words; inference across several supported candidate models — “The use of linear mixed effects models (LMMs) is increasingly common in the analysis of biological data. Whilst LMMs offer a flexible approach to modelling a broad range of data types, ecological data are often complex and require complex model structures, and the fitting and interpretation of such models is not always straightforward. The ability to achieve robust biological inference requires that practitioners know how and when to apply these tools. Here, we provide a general overview of current methods for the application of LMMs to biological data, and highlight the typical pitfalls that can be encountered in the statistical modelling process. We tackle several issues regarding methods of model selection, with particular reference to the use of information theory and multi-model inference in ecology. We offer practical solutions and direct the reader to key references that provide further technical detail for those seeking a deeper understanding. This overview should serve as a widely accessible code of best practice for applying LMMs to complex biological problems and model structures, and in doing so improve the robustness of conclusions drawn from studies investigating ecological and evolutionary questions.”concepts[4]
conceptfixed effects — not defined in this paper's own words; predictor effects estimated independently for named levels — “Linear mixed effects models and generalized linear mixed effects models (GLMMs), have increased in popularity in the last decade ( Zuur et al., 2009 ; Bolker et al., 2009 ). Both extend traditional linear models to include a combination of fixed and random effects as predictor variables. The introduction of random effects affords several non-exclusive benefits. First, biological datasets are often highly structured, containing clusters of non-independent observational units that are hierarchical in nature, and LMMs allow us to explicitly model the non-independence in such data. For example, we might measure several chicks from the same clutch, and several clutches from different females, or we might take repeated measurements of the same chick’s growth rate over time. In both cases, we might expect that measurements within a statistical unit (here, an individual, or a female’s clutch) might be more similar than measurements from different units. Explicit modelling of the random effects structure will aid correct inference about fixed effects, depending on which level of the system’s hierarchy is being manipulated. In our example, if the fixed effect varies or is manipulated at the level of the clutch, then treating multiple chicks from a single clutch as independent would represent pseudoreplication, which can be controlled carefully by using random effects. Similarly, if fixed effects vary at the level of the chick, then non-independence among clutches or mothers could also be accounted for. Random effects typically represent some grouping variable ( Breslow & Clayton, 1993 ) and allow the estimation of variance in the response variable within and among these groups. This reduces the probability of false positives (Type I error rates) and false negatives (Type II error rates, e.g. Crawley, 2013 ). In addition, inferring the magnitude of variation within and among statistical clusters or hierarchical levels can be highly informative in its own right. In our bird example, understanding whether there is more variation in a focal trait among females within a population, rather than among populations, might be a central goal of the study.”concepts[5]
conceptrandom effects — not defined in this paper's own words; grouping effects represented by a shared distribution — “Linear mixed effects models and generalized linear mixed effects models (GLMMs), have increased in popularity in the last decade ( Zuur et al., 2009 ; Bolker et al., 2009 ). Both extend traditional linear models to include a combination of fixed and random effects as predictor variables. The introduction of random effects affords several non-exclusive benefits. First, biological datasets are often highly structured, containing clusters of non-independent observational units that are hierarchical in nature, and LMMs allow us to explicitly model the non-independence in such data. For example, we might measure several chicks from the same clutch, and several clutches from different females, or we might take repeated measurements of the same chick’s growth rate over time. In both cases, we might expect that measurements within a statistical unit (here, an individual, or a female’s clutch) might be more similar than measurements from different units. Explicit modelling of the random effects structure will aid correct inference about fixed effects, depending on which level of the system’s hierarchy is being manipulated. In our example, if the fixed effect varies or is manipulated at the level of the clutch, then treating multiple chicks from a single clutch as independent would represent pseudoreplication, which can be controlled carefully by using random effects. Similarly, if fixed effects vary at the level of the chick, then non-independence among clutches or mothers could also be accounted for. Random effects typically represent some grouping variable ( Breslow & Clayton, 1993 ) and allow the estimation of variance in the response variable within and among these groups. This reduces the probability of false positives (Type I error rates) and false negatives (Type II error rates, e.g. Crawley, 2013 ). In addition, inferring the magnitude of variation within and among statistical clusters or hierarchical levels can be highly informative in its own right. In our bird example, understanding whether there is more variation in a focal trait among females within a population, rather than among populations, might be a central goal of the study.”concepts[6]
concepttraditional linear models — not defined in this paper's own words; linear models extended by LMMs and GLMMs — “Linear mixed effects models and generalized linear mixed effects models (GLMMs), have increased in popularity in the last decade ( Zuur et al., 2009 ; Bolker et al., 2009 ). Both extend traditional linear models to include a combination of fixed and random effects as predictor variables. The introduction of random effects affords several non-exclusive benefits. First, biological datasets are often highly structured, containing clusters of non-independent observational units that are hierarchical in nature, and LMMs allow us to explicitly model the non-independence in such data. For example, we might measure several chicks from the same clutch, and several clutches from different females, or we might take repeated measurements of the same chick’s growth rate over time. In both cases, we might expect that measurements within a statistical unit (here, an individual, or a female’s clutch) might be more similar than measurements from different units. Explicit modelling of the random effects structure will aid correct inference about fixed effects, depending on which level of the system’s hierarchy is being manipulated. In our example, if the fixed effect varies or is manipulated at the level of the clutch, then treating multiple chicks from a single clutch as independent would represent pseudoreplication, which can be controlled carefully by using random effects. Similarly, if fixed effects vary at the level of the chick, then non-independence among clutches or mothers could also be accounted for. Random effects typically represent some grouping variable ( Breslow & Clayton, 1993 ) and allow the estimation of variance in the response variable within and among these groups. This reduces the probability of false positives (Type I error rates) and false negatives (Type II error rates, e.g. Crawley, 2013 ). In addition, inferring the magnitude of variation within and among statistical clusters or hierarchical levels can be highly informative in its own right. In our bird example, understanding whether there is more variation in a focal trait among females within a population, rather than among populations, might be a central goal of the study.”concepts[7]
conceptpseudoreplication — not defined in this paper's own words; treating clustered observations as independent — “Linear mixed effects models and generalized linear mixed effects models (GLMMs), have increased in popularity in the last decade ( Zuur et al., 2009 ; Bolker et al., 2009 ). Both extend traditional linear models to include a combination of fixed and random effects as predictor variables. The introduction of random effects affords several non-exclusive benefits. First, biological datasets are often highly structured, containing clusters of non-independent observational units that are hierarchical in nature, and LMMs allow us to explicitly model the non-independence in such data. For example, we might measure several chicks from the same clutch, and several clutches from different females, or we might take repeated measurements of the same chick’s growth rate over time. In both cases, we might expect that measurements within a statistical unit (here, an individual, or a female’s clutch) might be more similar than measurements from different units. Explicit modelling of the random effects structure will aid correct inference about fixed effects, depending on which level of the system’s hierarchy is being manipulated. In our example, if the fixed effect varies or is manipulated at the level of the clutch, then treating multiple chicks from a single clutch as independent would represent pseudoreplication, which can be controlled carefully by using random effects. Similarly, if fixed effects vary at the level of the chick, then non-independence among clutches or mothers could also be accounted for. Random effects typically represent some grouping variable ( Breslow & Clayton, 1993 ) and allow the estimation of variance in the response variable within and among these groups. This reduces the probability of false positives (Type I error rates) and false negatives (Type II error rates, e.g. Crawley, 2013 ). In addition, inferring the magnitude of variation within and among statistical clusters or hierarchical levels can be highly informative in its own right. In our bird example, understanding whether there is more variation in a focal trait among females within a population, rather than among populations, might be a central goal of the study.”concepts[8]
conceptType I error rates — not defined in this paper's own words; false-positive error frequency — “Linear mixed effects models and generalized linear mixed effects models (GLMMs), have increased in popularity in the last decade ( Zuur et al., 2009 ; Bolker et al., 2009 ). Both extend traditional linear models to include a combination of fixed and random effects as predictor variables. The introduction of random effects affords several non-exclusive benefits. First, biological datasets are often highly structured, containing clusters of non-independent observational units that are hierarchical in nature, and LMMs allow us to explicitly model the non-independence in such data. For example, we might measure several chicks from the same clutch, and several clutches from different females, or we might take repeated measurements of the same chick’s growth rate over time. In both cases, we might expect that measurements within a statistical unit (here, an individual, or a female’s clutch) might be more similar than measurements from different units. Explicit modelling of the random effects structure will aid correct inference about fixed effects, depending on which level of the system’s hierarchy is being manipulated. In our example, if the fixed effect varies or is manipulated at the level of the clutch, then treating multiple chicks from a single clutch as independent would represent pseudoreplication, which can be controlled carefully by using random effects. Similarly, if fixed effects vary at the level of the chick, then non-independence among clutches or mothers could also be accounted for. Random effects typically represent some grouping variable ( Breslow & Clayton, 1993 ) and allow the estimation of variance in the response variable within and among these groups. This reduces the probability of false positives (Type I error rates) and false negatives (Type II error rates, e.g. Crawley, 2013 ). In addition, inferring the magnitude of variation within and among statistical clusters or hierarchical levels can be highly informative in its own right. In our bird example, understanding whether there is more variation in a focal trait among females within a population, rather than among populations, might be a central goal of the study.”concepts[9]
conceptType II error rates — not defined in this paper's own words; false-negative error frequency — “Linear mixed effects models and generalized linear mixed effects models (GLMMs), have increased in popularity in the last decade ( Zuur et al., 2009 ; Bolker et al., 2009 ). Both extend traditional linear models to include a combination of fixed and random effects as predictor variables. The introduction of random effects affords several non-exclusive benefits. First, biological datasets are often highly structured, containing clusters of non-independent observational units that are hierarchical in nature, and LMMs allow us to explicitly model the non-independence in such data. For example, we might measure several chicks from the same clutch, and several clutches from different females, or we might take repeated measurements of the same chick’s growth rate over time. In both cases, we might expect that measurements within a statistical unit (here, an individual, or a female’s clutch) might be more similar than measurements from different units. Explicit modelling of the random effects structure will aid correct inference about fixed effects, depending on which level of the system’s hierarchy is being manipulated. In our example, if the fixed effect varies or is manipulated at the level of the clutch, then treating multiple chicks from a single clutch as independent would represent pseudoreplication, which can be controlled carefully by using random effects. Similarly, if fixed effects vary at the level of the chick, then non-independence among clutches or mothers could also be accounted for. Random effects typically represent some grouping variable ( Breslow & Clayton, 1993 ) and allow the estimation of variance in the response variable within and among these groups. This reduces the probability of false positives (Type I error rates) and false negatives (Type II error rates, e.g. Crawley, 2013 ). In addition, inferring the magnitude of variation within and among statistical clusters or hierarchical levels can be highly informative in its own right. In our bird example, understanding whether there is more variation in a focal trait among females within a population, rather than among populations, might be a central goal of the study.”concepts[10]
conceptrandom intercept — not defined in this paper's own words; group-varying intercept with common fitted slope — “This is one of the most common uses of a random effect. Complex biological data sets often contain nested and/or hierarchical structures such as repeat measurements from individuals within and across units of time. Random effects allow for the control of non-independence by constraining non-independent ‘units’ to have the same intercept and/or slope ( Zuur et al., 2009 ; Zuur & Ieno, 2016 ). Fitting only a random intercept allows group means to vary, but assumes all groups have a common slope for a fitted covariate (fixed effect). Fitting random intercepts and slopes allows the slope of a predictor to vary based on a separate grouping variable. For example, one hypothesis might be that the probability of successful breeding for an animal is a function of its body mass. If we had measured animals from multiple sampling sites, we might wish to fit ‘sampling site’ as a random intercept, and estimate a common slope (change in breeding success) for body mass across all sampling sites by fitting it as a fixed effect:”concepts[11]
conceptrandom slopes — not defined in this paper's own words; group-varying predictor coefficients — “Fitting random slope models in ecology is not very common. Often, researchers fit random intercepts to control for non-independence among measurements of a statistical group (e.g. birds within a woodland), but force variables to have a common slope across all experimental units. However, there is growing evidence that researchers should be fitting random slopes as standard practice in (G)LMMs. Random slope models allow the coefficient of a predictor to vary based on clustering/non-independence in the data (see Fig. 1B ). In our bird example above, we might fit a random slope for the effect of foraging rate on clutch mass given each individual bird ID. That is, the magnitude of the effect foraging rate on resultant clutch mass differs among birds. Random slope models (also often called random coefficients models, Kéry, 2010 ) apply to both continuous and factor variables. For example, if we had applied a two-level feeding treatment to birds in each woodland (vitamin supplementation or control), we might also expect the magnitude of the effect of receiving vitamin supplementation to differ depending on which woodland it was applied to. So here we would specify random slopes for the treatment variable given woodland ID.”concepts[12]
conceptrandom coefficients models — not defined in this paper's own words; alternative name for random slope models — “Fitting random slope models in ecology is not very common. Often, researchers fit random intercepts to control for non-independence among measurements of a statistical group (e.g. birds within a woodland), but force variables to have a common slope across all experimental units. However, there is growing evidence that researchers should be fitting random slopes as standard practice in (G)LMMs. Random slope models allow the coefficient of a predictor to vary based on clustering/non-independence in the data (see Fig. 1B ). In our bird example above, we might fit a random slope for the effect of foraging rate on clutch mass given each individual bird ID. That is, the magnitude of the effect foraging rate on resultant clutch mass differs among birds. Random slope models (also often called random coefficients models, Kéry, 2010 ) apply to both continuous and factor variables. For example, if we had applied a two-level feeding treatment to birds in each woodland (vitamin supplementation or control), we might also expect the magnitude of the effect of receiving vitamin supplementation to differ depending on which woodland it was applied to. So here we would specify random slopes for the treatment variable given woodland ID.”concepts[13]
conceptshrinkage — not defined in this paper's own words; movement of group means toward a global mean — “Random effect models use data from all the groups to estimate the mean and variance of the global distribution of group means. Assuming all group means are drawn from a common distribution causes the estimates of their means to drift towards the global mean μ group . This phenomenon, known as shrinkage ( Gelman & Hill, 2007 ; Kéry, 2010 ), can also lead to smaller and more precise standard errors around means. Shrinkage is strongest for groups with small sample sizes, as the paucity of within-group information to estimate the mean is counteracted by the model using data from other groups to improve the precision of the estimate. This ‘partial pooling’ of the estimates is a principal benefit of fitting something as a random effect ( Gelman & Hill, 2007 ). However, it can feel strange that group means should be shrunk towards the global mean, especially for researchers more used to treating sample means as independent fixed effects. Accordingly, one issue is that variance estimates can be hugely imprecise when there are fewer than five levels of the random grouping variable (intercept or slope; see Harrison, 2015 ). However, thanks to the Central Limit Theorem, the assumption of Gaussian distribution of group means is usually a good one, and the benefits of hierarchical analysis will outweigh the apparent costs of shrinkage.”concepts[14]
conceptpartial pooling — not defined in this paper's own words; borrowing information across groups for group estimates — “Random effect models use data from all the groups to estimate the mean and variance of the global distribution of group means. Assuming all group means are drawn from a common distribution causes the estimates of their means to drift towards the global mean μ group . This phenomenon, known as shrinkage ( Gelman & Hill, 2007 ; Kéry, 2010 ), can also lead to smaller and more precise standard errors around means. Shrinkage is strongest for groups with small sample sizes, as the paucity of within-group information to estimate the mean is counteracted by the model using data from other groups to improve the precision of the estimate. This ‘partial pooling’ of the estimates is a principal benefit of fitting something as a random effect ( Gelman & Hill, 2007 ). However, it can feel strange that group means should be shrunk towards the global mean, especially for researchers more used to treating sample means as independent fixed effects. Accordingly, one issue is that variance estimates can be hugely imprecise when there are fewer than five levels of the random grouping variable (intercept or slope; see Harrison, 2015 ). However, thanks to the Central Limit Theorem, the assumption of Gaussian distribution of group means is usually a good one, and the benefits of hierarchical analysis will outweigh the apparent costs of shrinkage.”concepts[15]
conceptvariance components analysis — not defined in this paper's own words; partitioning response variation among hierarchical groups — “By fitting individual ‘FemaleID’ as a random intercept term in the LMM, we estimate the among-female variance in our trait of interest. This model will also estimate the residual variance term, which we can use in conjunction with the among-female variance term to calculate an ‘intra-class correlation coefficient’ that measures individual repeatability in our trait (see Nakagawa & Schielzeth, 2010 ). While differences among individuals can be obtained by fitting individual ID as a fixed effect, this uses a degree of freedom for each individual ID after the first, severely limiting model power, and does not benefit from increased estimation accuracy through shrinkage. More importantly, repeatability scores derived from variance components analysis can be compared across studies for the same trait, and even across traits in the same study. Variance component analysis is a powerful tool for partitioning variation in a focal trait among biologically interesting groups, and several more complex examples exist (see Nakagawa & Schielzeth, 2010 ; Wilson et al., 2010 ; Houslay & Wilson, 2017 ). In particular, quantitative genetic studies rely on variance component analysis for estimating the heritability of traits such as body mass or size of secondary sexual characteristics ( Wilson et al., 2010 ). We recommend the tutorials in Wilson et al. (2010) and Houslay & Wilson (2017) for a deeper understanding of the power and flexibility of variance component analysis.”concepts[16]
conceptintra-class correlation coefficient — not defined in this paper's own words; repeatability statistic calculated from variance components — “By fitting individual ‘FemaleID’ as a random intercept term in the LMM, we estimate the among-female variance in our trait of interest. This model will also estimate the residual variance term, which we can use in conjunction with the among-female variance term to calculate an ‘intra-class correlation coefficient’ that measures individual repeatability in our trait (see Nakagawa & Schielzeth, 2010 ). While differences among individuals can be obtained by fitting individual ID as a fixed effect, this uses a degree of freedom for each individual ID after the first, severely limiting model power, and does not benefit from increased estimation accuracy through shrinkage. More importantly, repeatability scores derived from variance components analysis can be compared across studies for the same trait, and even across traits in the same study. Variance component analysis is a powerful tool for partitioning variation in a focal trait among biologically interesting groups, and several more complex examples exist (see Nakagawa & Schielzeth, 2010 ; Wilson et al., 2010 ; Houslay & Wilson, 2017 ). In particular, quantitative genetic studies rely on variance component analysis for estimating the heritability of traits such as body mass or size of secondary sexual characteristics ( Wilson et al., 2010 ). We recommend the tutorials in Wilson et al. (2010) and Houslay & Wilson (2017) for a deeper understanding of the power and flexibility of variance component analysis.”concepts[17]
conceptnested — not defined in this paper's own words; grouping factor contained uniquely within another factor — “A common issue that causes confusion is this issue of specifying random effects as either ‘crossed’ or ‘nested’. In reality, the way you specify your random effects will be determined by your experimental or sampling design ( Schielzeth & Nakagawa, 2013 ). A simple example can illustrate the difference. Imagine a researcher was interested in understanding the factors affecting the clutch mass of a passerine bird. They have a study population spread across five separate woodlands, each containing 30 nest boxes. Every week during breeding they measure the foraging rate of females at feeders, and measure their subsequent clutch mass. Some females have multiple clutches in a season and contribute multiple data points. Here, female ID is said to be nested within woodland : each woodland contains multiple females unique to that woodland (that never move among woodlands). The nested random effect controls for the fact that (i) clutches from the same female are not independent, and (ii) females from the same woodland may have clutch masses more similar to one another than to females from other woodlands”concepts[18]
conceptcrossed random effect — not defined in this paper's own words; grouping factor appearing across levels of another factor — “Now imagine that this is a long-term study, and the researcher returns every year for five years to continue with measurements. Here it is appropriate fit year as a crossed random effect because every woodland appears multiple times in every year of the dataset, and females that survive from one year to the next will also appear in multiple years.”concepts[19]
conceptdata-transformation — not defined in this paper's own words; transformation applied to the raw response variable — “For non-Gaussian data, our modelling choices become more complex. Non-Gaussian data structures include, for example, Poisson-distributed counts (number of eggs laid, number of parasites); binomial-distributed constrained counts (number of eggs that hatched in a clutch; prevalence of parasitic infection in a group of hosts) or Bernoulli-distributed binary traits (e.g. infected with a parasite or not). Gaussian models of these data would violate the assumptions of normality of errors and homogenous variance. To model these data, we have two initial choices: (i) we can apply a transformation to our non-Gaussian response to ‘make it’ approximately Gaussian, and then use a Gaussian model; or (ii) we can apply a GL(M)M and specify the appropriate error distribution and link function. The link function takes into account the (assumed) empirical distribution of our data by transformation of the linear predictor within the model. It is critical to note that transformation of the raw response variable is not equivalent to using a link function to apply a transformation in the model. Data-transformation applies the transformation to the raw response, whilst using a link function transforms the fitted mean (the linear predictor). That is, the mean of a log-transformed response (using a data transformation) is not identical to the logarithm of a fitted mean (using a link function) .”concepts[20]
conceptlink function — not defined in this paper's own words; transformation of the fitted linear predictor — “For non-Gaussian data, our modelling choices become more complex. Non-Gaussian data structures include, for example, Poisson-distributed counts (number of eggs laid, number of parasites); binomial-distributed constrained counts (number of eggs that hatched in a clutch; prevalence of parasitic infection in a group of hosts) or Bernoulli-distributed binary traits (e.g. infected with a parasite or not). Gaussian models of these data would violate the assumptions of normality of errors and homogenous variance. To model these data, we have two initial choices: (i) we can apply a transformation to our non-Gaussian response to ‘make it’ approximately Gaussian, and then use a Gaussian model; or (ii) we can apply a GL(M)M and specify the appropriate error distribution and link function. The link function takes into account the (assumed) empirical distribution of our data by transformation of the linear predictor within the model. It is critical to note that transformation of the raw response variable is not equivalent to using a link function to apply a transformation in the model. Data-transformation applies the transformation to the raw response, whilst using a link function transforms the fitted mean (the linear predictor). That is, the mean of a log-transformed response (using a data transformation) is not identical to the logarithm of a fitted mean (using a link function) .”concepts[21]
conceptglobal model — not defined in this paper's own words; highly parameterized model containing plausible terms — “One of the most important decisions during the modelling process is deciding which predictors and interactions to include in models. Best practice demands that each model should represent a specific a priori hypothesis concerning the drivers of patterns in data ( Burnham & Anderson, 2002 ; Forstmeier & Schielzeth, 2011 ), allowing the assessment of the relative support for these hypotheses in the data irrespective of model selection philosophy. The definition of ‘hypothesis’ must be broadened from the strict pairing of null and alternative that is classically drilled into young pupils of statistics and experimental design. Frequentist approaches to statistical modelling still work with nested pairs of hypotheses. Information theorists work with whole sets of competing hypotheses. Bayesian modellers are comfortable with the idea that every possible parameter estimate is a hypothesis in its own right. But these epistemological differences do not really help to solve the problem of ‘which’ predictors should be considered valid members of the full set to be used in a statistical modelling exercise. It is therefore often unclear how best to design the most complex model, often referred to as the maximal model (which contains all factors, interactions and covariates that might be of any interest, Crawley, 2013 ) or as the global model (a highly parameterized model containing the variables and associated parameters thought to be important of the problem at hand, Burnham & Anderson, 2002 ; Grueber et al., 2011 ). We shall use the latter term here for consistency with terminology used in information-theory ( Grueber et al., 2011 ).”concepts[22]
concepta priori hypothesis — not defined in this paper's own words; pre-specified biological explanation represented by a model — “One of the most important decisions during the modelling process is deciding which predictors and interactions to include in models. Best practice demands that each model should represent a specific a priori hypothesis concerning the drivers of patterns in data ( Burnham & Anderson, 2002 ; Forstmeier & Schielzeth, 2011 ), allowing the assessment of the relative support for these hypotheses in the data irrespective of model selection philosophy. The definition of ‘hypothesis’ must be broadened from the strict pairing of null and alternative that is classically drilled into young pupils of statistics and experimental design. Frequentist approaches to statistical modelling still work with nested pairs of hypotheses. Information theorists work with whole sets of competing hypotheses. Bayesian modellers are comfortable with the idea that every possible parameter estimate is a hypothesis in its own right. But these epistemological differences do not really help to solve the problem of ‘which’ predictors should be considered valid members of the full set to be used in a statistical modelling exercise. It is therefore often unclear how best to design the most complex model, often referred to as the maximal model (which contains all factors, interactions and covariates that might be of any interest, Crawley, 2013 ) or as the global model (a highly parameterized model containing the variables and associated parameters thought to be important of the problem at hand, Burnham & Anderson, 2002 ; Grueber et al., 2011 ). We shall use the latter term here for consistency with terminology used in information-theory ( Grueber et al., 2011 ).”concepts[23]
conceptfishing expeditions — not defined in this paper's own words; searches for significant predictors without prior hypotheses — “Deciding which terms to include in the model requires careful and rigorous a priori consideration of the system under study. This may appear obvious; however diverse authors have noticed a lack of careful thinking when selecting variables for inclusion in a model ( Peters, 1991 ; Chatfield, 1995 ; Burnham & Anderson, 2002 ). Lack of a priori consideration, of what models represent, distinguishes rigorous hypothesis testing from ‘fishing expeditions’ that seek significant predictors among a large group of contenders. Ideally, the global model should be carefully constructed using the researchers’ knowledge and understanding of the system such that only predictors likely to be pertinent to the problem at hand are included, rather than including all the predictors the researcher has collected and/or has available. This is a pertinent issue in the age of ‘big data’, where researchers are often overwhelmed with predictors and risk skipping the important step of a priori hypothesis design. In practice, for peer reviewers it is easy to distinguish fishing expeditions from a priori hypothesis sets based on the evidence base presented in introductory sections of research outputs.”concepts[24]
conceptoverparameterised models — not defined in this paper's own words; models with too little data for their coefficients — “The complexity of the global model will likely be a trade-off between the number of measured observations (the n of the study) and the proposed hypotheses about how the measured variables affect the outcome (response) variable. Lack of careful consideration of the parameters to be estimated can result in overparameterised models, where there are insufficient data to estimate coefficients robustly ( Southwood & Henderson, 2000 ; Quinn & Keough, 2002 ; Crawley, 2013 ). In simple GLMs, overparameterisation results in a rapid decline in (or absence of) degrees of freedom with which to estimate residual error. Detection of overparameterisation in LMMs can be more difficult because each random effect uses only a single degree of freedom, however the estimation of variance among small numbers of groups can be numerically unstable. Unfortunately, it is common practice to fit a global model that is simply as complex as possible, irrespective of what that model actually represents; that is a dataset containing k predictors yields a model containing a k -way interaction among all predictors and simplify from there ( Crawley, 2013 ). This approach is flawed for two reasons. First, this practice encourages fitting biologically-unfeasible models containing nonsensical interactions. It should be possible to draw and/or visualise what the fitted model ‘looks like’ for various combinations of predictors—generally extremely difficult when more than two terms are interacting. Second, using this approach makes it very easy to fit a model too complex for the data. At best, the model will fail to converge, thus preventing inference. At worst, the model will ‘work’, risking false inference. Guidelines for the ideal ratio of data points ( n ) to estimated parameters ( k ) vary widely (see Forstmeier & Schielzeth, 2011 ). Crawley (2013) suggests a minimum n / k of 3, though we argue this is very low and that an n/k of 10 is more conservative. A ‘simple’ model containing a three-way interaction between continuous predictors, all that interaction’s daughter terms, and a single random intercept needs to estimate eight parameters, so requires a dataset of a minimum n of 80 using this rule. Interactions can be especially demanding, as fitting interactions between a multi-level factor and a continuous predictor can result in poor sample sizes for specific treatment combinations even if the total n is quite large ( Zuur, Ieno & Elphick, 2010 ), which will lead to unreliable model estimates.”concepts[25]
conceptn/k — not defined in this paper's own words; ratio of observations to estimated parameters — “The complexity of the global model will likely be a trade-off between the number of measured observations (the n of the study) and the proposed hypotheses about how the measured variables affect the outcome (response) variable. Lack of careful consideration of the parameters to be estimated can result in overparameterised models, where there are insufficient data to estimate coefficients robustly ( Southwood & Henderson, 2000 ; Quinn & Keough, 2002 ; Crawley, 2013 ). In simple GLMs, overparameterisation results in a rapid decline in (or absence of) degrees of freedom with which to estimate residual error. Detection of overparameterisation in LMMs can be more difficult because each random effect uses only a single degree of freedom, however the estimation of variance among small numbers of groups can be numerically unstable. Unfortunately, it is common practice to fit a global model that is simply as complex as possible, irrespective of what that model actually represents; that is a dataset containing k predictors yields a model containing a k -way interaction among all predictors and simplify from there ( Crawley, 2013 ). This approach is flawed for two reasons. First, this practice encourages fitting biologically-unfeasible models containing nonsensical interactions. It should be possible to draw and/or visualise what the fitted model ‘looks like’ for various combinations of predictors—generally extremely difficult when more than two terms are interacting. Second, using this approach makes it very easy to fit a model too complex for the data. At best, the model will fail to converge, thus preventing inference. At worst, the model will ‘work’, risking false inference. Guidelines for the ideal ratio of data points ( n ) to estimated parameters ( k ) vary widely (see Forstmeier & Schielzeth, 2011 ). Crawley (2013) suggests a minimum n / k of 3, though we argue this is very low and that an n/k of 10 is more conservative. A ‘simple’ model containing a three-way interaction between continuous predictors, all that interaction’s daughter terms, and a single random intercept needs to estimate eight parameters, so requires a dataset of a minimum n of 80 using this rule. Interactions can be especially demanding, as fitting interactions between a multi-level factor and a continuous predictor can result in poor sample sizes for specific treatment combinations even if the total n is quite large ( Zuur, Ieno & Elphick, 2010 ), which will lead to unreliable model estimates.”concepts[26]
conceptcollinearity — not defined in this paper's own words; predictors explaining overlapping response variance — “With the desired set of predictors identified, it is wise to check for collinearity among predictor variables. Collinearity among predictors can cause several problems in model interpretation because those predictors explain some of the same variance in the response variable, and their effects cannot be estimated independently ( Quinn & Keough, 2002 ; Graham, 2003 ): First, it can cause model convergence issues as models struggle to partition variance between predictor variables. Second, positively correlated variables can have negatively correlated regression coefficients, as the marginal effect of one is estimated, given the effect of the other, leading to incorrect interpretations of the direction of effects ( Fig. 2 ). Third, collinearity can inflate standard errors of coefficient estimates and make ‘true’ effects harder to detect ( Zuur, Ieno & Elphick, 2010 ). Finally, collinearity can affect the accuracy of model averaged parameter estimates during multi-model inference ( Freckleton, 2011 ; Cade, 2015 ). Examples of collinear variables include climatic data such as temperature and rainfall, and morphometric data such as body length and mass. Collinearity can be detected in several ways, including creating correlation matrices between raw explanatory variables, with values >0.7 suggesting both should not be used in the same model ( Dormann et al., 2013 ); or calculating the variance inflation factor (VIF) of each predictor that is a candidate for inclusion in a model (details in Zuur, Ieno & Elphick, 2010 ) and dropping variables with a VIF higher than a certain value (e.g. 3, Zuur, Ieno & Elphick, 2010 ; or 10, Quinn & Keough, 2002 ). One problem with these methods though is that they rely on a user-selected choice of threshold of either the correlation coefficient or the VIF, and use of more stringent (lower) is probably sensible. Some argue that one should always prefer inspection of VIF values over correlation coefficients of raw predictors because strong multicollinearity can be hard to detect with the latter. When collinearity is detected, researchers can either select one variable as representative of multiple collinear variables ( Austin, 2002 ), ideally using biological knowledge/reasoning to select the most meaningful variable ( Zuur, Ieno & Elphick, 2010 ); or conduct a dimension-reduction analysis (e.g. Principal Components Analysis; James & McCullugh, 1990 ), leaving a single variable that accounts for most of the shared variance among the correlated variables. Both approaches will only be applicable if it is possible to group explanatory variables by common features, thereby effectively creating broader, but still meaningful explanatory categories. For instance, by using mass and body length metrics to create a ‘scaled mass index’ representative of body size ( Peig & Green, 2009 ).”concepts[27]
conceptmodel convergence issues — not defined in this paper's own words; failure or instability while estimating model parameters — “With the desired set of predictors identified, it is wise to check for collinearity among predictor variables. Collinearity among predictors can cause several problems in model interpretation because those predictors explain some of the same variance in the response variable, and their effects cannot be estimated independently ( Quinn & Keough, 2002 ; Graham, 2003 ): First, it can cause model convergence issues as models struggle to partition variance between predictor variables. Second, positively correlated variables can have negatively correlated regression coefficients, as the marginal effect of one is estimated, given the effect of the other, leading to incorrect interpretations of the direction of effects ( Fig. 2 ). Third, collinearity can inflate standard errors of coefficient estimates and make ‘true’ effects harder to detect ( Zuur, Ieno & Elphick, 2010 ). Finally, collinearity can affect the accuracy of model averaged parameter estimates during multi-model inference ( Freckleton, 2011 ; Cade, 2015 ). Examples of collinear variables include climatic data such as temperature and rainfall, and morphometric data such as body length and mass. Collinearity can be detected in several ways, including creating correlation matrices between raw explanatory variables, with values >0.7 suggesting both should not be used in the same model ( Dormann et al., 2013 ); or calculating the variance inflation factor (VIF) of each predictor that is a candidate for inclusion in a model (details in Zuur, Ieno & Elphick, 2010 ) and dropping variables with a VIF higher than a certain value (e.g. 3, Zuur, Ieno & Elphick, 2010 ; or 10, Quinn & Keough, 2002 ). One problem with these methods though is that they rely on a user-selected choice of threshold of either the correlation coefficient or the VIF, and use of more stringent (lower) is probably sensible. Some argue that one should always prefer inspection of VIF values over correlation coefficients of raw predictors because strong multicollinearity can be hard to detect with the latter. When collinearity is detected, researchers can either select one variable as representative of multiple collinear variables ( Austin, 2002 ), ideally using biological knowledge/reasoning to select the most meaningful variable ( Zuur, Ieno & Elphick, 2010 ); or conduct a dimension-reduction analysis (e.g. Principal Components Analysis; James & McCullugh, 1990 ), leaving a single variable that accounts for most of the shared variance among the correlated variables. Both approaches will only be applicable if it is possible to group explanatory variables by common features, thereby effectively creating broader, but still meaningful explanatory categories. For instance, by using mass and body length metrics to create a ‘scaled mass index’ representative of body size ( Peig & Green, 2009 ).”concepts[28]
conceptstandard errors — not defined in this paper's own words; uncertainty around coefficient estimates — “With the desired set of predictors identified, it is wise to check for collinearity among predictor variables. Collinearity among predictors can cause several problems in model interpretation because those predictors explain some of the same variance in the response variable, and their effects cannot be estimated independently ( Quinn & Keough, 2002 ; Graham, 2003 ): First, it can cause model convergence issues as models struggle to partition variance between predictor variables. Second, positively correlated variables can have negatively correlated regression coefficients, as the marginal effect of one is estimated, given the effect of the other, leading to incorrect interpretations of the direction of effects ( Fig. 2 ). Third, collinearity can inflate standard errors of coefficient estimates and make ‘true’ effects harder to detect ( Zuur, Ieno & Elphick, 2010 ). Finally, collinearity can affect the accuracy of model averaged parameter estimates during multi-model inference ( Freckleton, 2011 ; Cade, 2015 ). Examples of collinear variables include climatic data such as temperature and rainfall, and morphometric data such as body length and mass. Collinearity can be detected in several ways, including creating correlation matrices between raw explanatory variables, with values >0.7 suggesting both should not be used in the same model ( Dormann et al., 2013 ); or calculating the variance inflation factor (VIF) of each predictor that is a candidate for inclusion in a model (details in Zuur, Ieno & Elphick, 2010 ) and dropping variables with a VIF higher than a certain value (e.g. 3, Zuur, Ieno & Elphick, 2010 ; or 10, Quinn & Keough, 2002 ). One problem with these methods though is that they rely on a user-selected choice of threshold of either the correlation coefficient or the VIF, and use of more stringent (lower) is probably sensible. Some argue that one should always prefer inspection of VIF values over correlation coefficients of raw predictors because strong multicollinearity can be hard to detect with the latter. When collinearity is detected, researchers can either select one variable as representative of multiple collinear variables ( Austin, 2002 ), ideally using biological knowledge/reasoning to select the most meaningful variable ( Zuur, Ieno & Elphick, 2010 ); or conduct a dimension-reduction analysis (e.g. Principal Components Analysis; James & McCullugh, 1990 ), leaving a single variable that accounts for most of the shared variance among the correlated variables. Both approaches will only be applicable if it is possible to group explanatory variables by common features, thereby effectively creating broader, but still meaningful explanatory categories. For instance, by using mass and body length metrics to create a ‘scaled mass index’ representative of body size ( Peig & Green, 2009 ).”concepts[29]
conceptvariance inflation factor — not defined in this paper's own words; diagnostic for predictor multicollinearity — “With the desired set of predictors identified, it is wise to check for collinearity among predictor variables. Collinearity among predictors can cause several problems in model interpretation because those predictors explain some of the same variance in the response variable, and their effects cannot be estimated independently ( Quinn & Keough, 2002 ; Graham, 2003 ): First, it can cause model convergence issues as models struggle to partition variance between predictor variables. Second, positively correlated variables can have negatively correlated regression coefficients, as the marginal effect of one is estimated, given the effect of the other, leading to incorrect interpretations of the direction of effects ( Fig. 2 ). Third, collinearity can inflate standard errors of coefficient estimates and make ‘true’ effects harder to detect ( Zuur, Ieno & Elphick, 2010 ). Finally, collinearity can affect the accuracy of model averaged parameter estimates during multi-model inference ( Freckleton, 2011 ; Cade, 2015 ). Examples of collinear variables include climatic data such as temperature and rainfall, and morphometric data such as body length and mass. Collinearity can be detected in several ways, including creating correlation matrices between raw explanatory variables, with values >0.7 suggesting both should not be used in the same model ( Dormann et al., 2013 ); or calculating the variance inflation factor (VIF) of each predictor that is a candidate for inclusion in a model (details in Zuur, Ieno & Elphick, 2010 ) and dropping variables with a VIF higher than a certain value (e.g. 3, Zuur, Ieno & Elphick, 2010 ; or 10, Quinn & Keough, 2002 ). One problem with these methods though is that they rely on a user-selected choice of threshold of either the correlation coefficient or the VIF, and use of more stringent (lower) is probably sensible. Some argue that one should always prefer inspection of VIF values over correlation coefficients of raw predictors because strong multicollinearity can be hard to detect with the latter. When collinearity is detected, researchers can either select one variable as representative of multiple collinear variables ( Austin, 2002 ), ideally using biological knowledge/reasoning to select the most meaningful variable ( Zuur, Ieno & Elphick, 2010 ); or conduct a dimension-reduction analysis (e.g. Principal Components Analysis; James & McCullugh, 1990 ), leaving a single variable that accounts for most of the shared variance among the correlated variables. Both approaches will only be applicable if it is possible to group explanatory variables by common features, thereby effectively creating broader, but still meaningful explanatory categories. For instance, by using mass and body length metrics to create a ‘scaled mass index’ representative of body size ( Peig & Green, 2009 ).”concepts[30]
conceptpredictor centering — not defined in this paper's own words; subtracting a predictor mean from every value — “Transformations of predictor variables are common, and can improve model performance and interpretability ( Gelman & Hill, 2007 ). Two common transformations for continuous predictors are (i) predictor centering, the mean of predictor x is subtracted from every value in x, giving a variable with mean 0 and SD on the original scale of x ; and (ii) predictor standardising, where x is centred and then divided by the SD of x , giving a variable with mean 0 and SD 1. Rescaling the mean of predictors containing large values (e.g. rainfall measured in 1,000s of millimetre) through centring/standardising will often solve convergence problems, in part because the estimation of intercepts is brought into the main body of the data themselves. Both approaches also remove the correlation between main effects and their interactions, making main effects more easily interpretable when models also contain interactions ( Schielzeth, 2010 ). Note that this collinearity among coefficients is distinct from collinearity between two separate predictors (see above). Centring and standardising by the mean of a variable changes the interpretation of the model intercept to the value of the outcome expected when x is at its mean value. Standardising further adjusts the interpretation of the coefficient (slope) for x in the model to the change in the outcome variable for a 1 SD change in the value of x . Scaling is therefore a useful tool to improve the stability of models and likelihood of model convergence, and the accuracy of parameter estimates if variables in a model are on large (e.g. 1,000s of millimetre of rainfall), or vastly different scales. When using scaling, care must be taken in the interpretation and graphical representation of outcomes.”concepts[31]
conceptpredictor standardising — not defined in this paper's own words; centering and dividing by predictor standard deviation — “Transformations of predictor variables are common, and can improve model performance and interpretability ( Gelman & Hill, 2007 ). Two common transformations for continuous predictors are (i) predictor centering, the mean of predictor x is subtracted from every value in x, giving a variable with mean 0 and SD on the original scale of x ; and (ii) predictor standardising, where x is centred and then divided by the SD of x , giving a variable with mean 0 and SD 1. Rescaling the mean of predictors containing large values (e.g. rainfall measured in 1,000s of millimetre) through centring/standardising will often solve convergence problems, in part because the estimation of intercepts is brought into the main body of the data themselves. Both approaches also remove the correlation between main effects and their interactions, making main effects more easily interpretable when models also contain interactions ( Schielzeth, 2010 ). Note that this collinearity among coefficients is distinct from collinearity between two separate predictors (see above). Centring and standardising by the mean of a variable changes the interpretation of the model intercept to the value of the outcome expected when x is at its mean value. Standardising further adjusts the interpretation of the coefficient (slope) for x in the model to the change in the outcome variable for a 1 SD change in the value of x . Scaling is therefore a useful tool to improve the stability of models and likelihood of model convergence, and the accuracy of parameter estimates if variables in a model are on large (e.g. 1,000s of millimetre of rainfall), or vastly different scales. When using scaling, care must be taken in the interpretation and graphical representation of outcomes.”concepts[32]
conceptmodel fit — not defined in this paper's own words; magnitude of agreement between model and data — “Once a global model is specified, it is vital to quantify model fit and report these metrics in the manuscript. The global model is considered the best candidate for assessing fit statistics such as overdispersion ( Burnham & Anderson, 2002 ). Information criteria scores should not be used as a proxy for model fit, because a large difference in AIC between the top and null models is not evidence of a good fit. AIC tells us nothing about whether the basic distributional and structural assumptions of the model have been violated. Similarly, a high R 2 value is in itself only a test of the magnitude of model fit and not an adequate surrogate for proper model checks. Just because a model has a high R 2 value does not mean it will pass checks for assumptions such as homogeneity of variance. We strongly encourage researchers to view model fit and model adequacy as two separate but equally important traits that must be assessed and reported. Model fit can be poor for several reasons, including the presence of overdispersion, failing to include interactions among predictors, failing to account for non-linear effects of the predictors on the response, or specifying a sub-optimal error structure and/or link function. Here we discuss some key metrics of fit and adequacy that should be considered.”concepts[33]
conceptmodel adequacy — not defined in this paper's own words; satisfaction of distributional and structural assumptions — “Once a global model is specified, it is vital to quantify model fit and report these metrics in the manuscript. The global model is considered the best candidate for assessing fit statistics such as overdispersion ( Burnham & Anderson, 2002 ). Information criteria scores should not be used as a proxy for model fit, because a large difference in AIC between the top and null models is not evidence of a good fit. AIC tells us nothing about whether the basic distributional and structural assumptions of the model have been violated. Similarly, a high R 2 value is in itself only a test of the magnitude of model fit and not an adequate surrogate for proper model checks. Just because a model has a high R 2 value does not mean it will pass checks for assumptions such as homogeneity of variance. We strongly encourage researchers to view model fit and model adequacy as two separate but equally important traits that must be assessed and reported. Model fit can be poor for several reasons, including the presence of overdispersion, failing to include interactions among predictors, failing to account for non-linear effects of the predictors on the response, or specifying a sub-optimal error structure and/or link function. Here we discuss some key metrics of fit and adequacy that should be considered.”concepts[34]
conceptoverdispersion — not defined in this paper's own words; variance greater than predicted by a GLMM error structure — “Models with a Gaussian (Normal) error structure do not require adjustment for overdispersion, as Gaussian models do not assume a specific mean-variance relationship. For generalized mixed models (GLMMs), however (e.g. Poisson, Binomial), the variance of the data can be greater than predicted by the error structure of the model ( Hilbe, 2011 ). Overdispersion can be caused by several processes influencing data, including zero-inflation, aggregation (non-independence) among counts, or both ( Zuur et al., 2009 ). The presence of overdispersion in a model suggests it is a bad fit, and standard errors of estimates will likely be biased unless overdispersion is accounted for ( Harrison, 2014 ). The use of canonical binomial and Poisson error structures, when residuals are overdispersed, tends to result in Type I errors because standard errors are underestimated. Adding an observation-level random effect (OLRE) to overdispersed Poisson or Binomial models can model the overdispersion and give more accurate estimates of standard errors ( Harrison, 2014 , 2015 ). However, OLRE models may yield inferior fit and/or biased parameter estimates compared to models using compound probability distributions such as the Negative-Binomial for count data ( Hilbe, 2011 ; Harrison, 2014 ) or Beta-Binomial for proportion data ( Harrison, 2015 ), and so it is good practice to assess the relative fit of both types of model using AIC before proceeding ( Zuur et al., 2009 ). Researchers very rarely report the overdispersion statistic (but see Elston et al., 2001 ), and it should be made a matter of routine. See “Assessing Model Fit Through Simulation” Section for advice on how to quantify and model overdispersion. Note that models can also be underdispersed ( less variance than expected/predicted by the model, but the tools for dealing with underdispersion are less well developed ( Zuur et al., 2009 ). The spaMM package ( Rousset & Ferdy, 2014 ) can fit models that can handle both overdispersion and underdispersion.”concepts[35]
conceptobservation-level random effect — not defined in this paper's own words; random effect used to model extra dispersion — “Models with a Gaussian (Normal) error structure do not require adjustment for overdispersion, as Gaussian models do not assume a specific mean-variance relationship. For generalized mixed models (GLMMs), however (e.g. Poisson, Binomial), the variance of the data can be greater than predicted by the error structure of the model ( Hilbe, 2011 ). Overdispersion can be caused by several processes influencing data, including zero-inflation, aggregation (non-independence) among counts, or both ( Zuur et al., 2009 ). The presence of overdispersion in a model suggests it is a bad fit, and standard errors of estimates will likely be biased unless overdispersion is accounted for ( Harrison, 2014 ). The use of canonical binomial and Poisson error structures, when residuals are overdispersed, tends to result in Type I errors because standard errors are underestimated. Adding an observation-level random effect (OLRE) to overdispersed Poisson or Binomial models can model the overdispersion and give more accurate estimates of standard errors ( Harrison, 2014 , 2015 ). However, OLRE models may yield inferior fit and/or biased parameter estimates compared to models using compound probability distributions such as the Negative-Binomial for count data ( Hilbe, 2011 ; Harrison, 2014 ) or Beta-Binomial for proportion data ( Harrison, 2015 ), and so it is good practice to assess the relative fit of both types of model using AIC before proceeding ( Zuur et al., 2009 ). Researchers very rarely report the overdispersion statistic (but see Elston et al., 2001 ), and it should be made a matter of routine. See “Assessing Model Fit Through Simulation” Section for advice on how to quantify and model overdispersion. Note that models can also be underdispersed ( less variance than expected/predicted by the model, but the tools for dealing with underdispersion are less well developed ( Zuur et al., 2009 ). The spaMM package ( Rousset & Ferdy, 2014 ) can fit models that can handle both overdispersion and underdispersion.”concepts[36]
conceptbiased parameter estimates — not defined in this paper's own words; systematically distorted estimated effects — “Models with a Gaussian (Normal) error structure do not require adjustment for overdispersion, as Gaussian models do not assume a specific mean-variance relationship. For generalized mixed models (GLMMs), however (e.g. Poisson, Binomial), the variance of the data can be greater than predicted by the error structure of the model ( Hilbe, 2011 ). Overdispersion can be caused by several processes influencing data, including zero-inflation, aggregation (non-independence) among counts, or both ( Zuur et al., 2009 ). The presence of overdispersion in a model suggests it is a bad fit, and standard errors of estimates will likely be biased unless overdispersion is accounted for ( Harrison, 2014 ). The use of canonical binomial and Poisson error structures, when residuals are overdispersed, tends to result in Type I errors because standard errors are underestimated. Adding an observation-level random effect (OLRE) to overdispersed Poisson or Binomial models can model the overdispersion and give more accurate estimates of standard errors ( Harrison, 2014 , 2015 ). However, OLRE models may yield inferior fit and/or biased parameter estimates compared to models using compound probability distributions such as the Negative-Binomial for count data ( Hilbe, 2011 ; Harrison, 2014 ) or Beta-Binomial for proportion data ( Harrison, 2015 ), and so it is good practice to assess the relative fit of both types of model using AIC before proceeding ( Zuur et al., 2009 ). Researchers very rarely report the overdispersion statistic (but see Elston et al., 2001 ), and it should be made a matter of routine. See “Assessing Model Fit Through Simulation” Section for advice on how to quantify and model overdispersion. Note that models can also be underdispersed ( less variance than expected/predicted by the model, but the tools for dealing with underdispersion are less well developed ( Zuur et al., 2009 ). The spaMM package ( Rousset & Ferdy, 2014 ) can fit models that can handle both overdispersion and underdispersion.”concepts[37]
conceptR 2 — proportion of explained variance — “In a linear modelling context, R 2 gives a measure of the proportion of explained variance in the model, and is an intuitive metric for assessing model fit. Unfortunately, the issue of calculating R 2 for (G)LMMs is particularly contentious; whereas residual variance can easily be estimated for a simple linear model with no random effects and a Normal error structure, this is not the case for (G)LMMS. In fact, two issues exist with generalising R 2 measures to (G)LMMs: (i) for generalised models containing non-Normal error structures, it is not clear how to calculate the residual variance term on which the R 2 term is dependent; and (ii) for mixed effects models, which are hierarchical in nature and contain error (unexplained variance) at each of these levels, it is uncertain which level to use to calculate a residual error term ( Nakagawa & Schielzeth, 2013 ). Diverse methods have been proposed to account for this in GLMMs, including multiple so-called ‘pseudo- r 2 ’ measures of explained variance ( Nagelkerke, 1991 ; Cox & Snell, 1989 ), but their performance is often unstable for mixed models and can return negative values ( Nakagawa & Schielzeth, 2013 ). Gelman & Pardoe (2006) derived a measure of R 2 that accounts for the hierarchical nature of LMMs and gives a measure for both group and unit level regressions (see also Gelman & Hill, 2007 , p. 474), but it was developed for a Bayesian framework and a frequentist analogue does not appear to be widely implemented. The method that has gained the most support over recent years is that of Nakagawa & Schielzeth (2013) .”concepts[38]
conceptproportion of explained variance — not defined in this paper's own words; quantity measured by R-squared — “In a linear modelling context, R 2 gives a measure of the proportion of explained variance in the model, and is an intuitive metric for assessing model fit. Unfortunately, the issue of calculating R 2 for (G)LMMs is particularly contentious; whereas residual variance can easily be estimated for a simple linear model with no random effects and a Normal error structure, this is not the case for (G)LMMS. In fact, two issues exist with generalising R 2 measures to (G)LMMs: (i) for generalised models containing non-Normal error structures, it is not clear how to calculate the residual variance term on which the R 2 term is dependent; and (ii) for mixed effects models, which are hierarchical in nature and contain error (unexplained variance) at each of these levels, it is uncertain which level to use to calculate a residual error term ( Nakagawa & Schielzeth, 2013 ). Diverse methods have been proposed to account for this in GLMMs, including multiple so-called ‘pseudo- r 2 ’ measures of explained variance ( Nagelkerke, 1991 ; Cox & Snell, 1989 ), but their performance is often unstable for mixed models and can return negative values ( Nakagawa & Schielzeth, 2013 ). Gelman & Pardoe (2006) derived a measure of R 2 that accounts for the hierarchical nature of LMMs and gives a measure for both group and unit level regressions (see also Gelman & Hill, 2007 , p. 474), but it was developed for a Bayesian framework and a frequentist analogue does not appear to be widely implemented. The method that has gained the most support over recent years is that of Nakagawa & Schielzeth (2013) .”concepts[39]
conceptmarginal R 2 — not defined in this paper's own words; variance explained only by fixed effects — “The strength of the Nakagawa & Schielzeth (2013) method for GLMMs is that it returns two complementary R 2 values: the marginal R 2 encompassing variance explained by only the fixed effects, and the conditional R 2 comprising variance explained by both fixed and random effects i.e. the variance explained by the whole model ( Nakagawa & Schielzeth, 2013 ). Ideally, both should be reported in publications as they provide different information; which one is more ‘useful’ may depend on the rationale for specifying random effects in the first instance. Recently, Nakagawa, Johnson & Schielzeth (2017) expanded their R 2 method to handle models with compound probability distributions like the Negative Binomial error family. Note that when OLREs are included (see ‘Overdispersion’ section above), the conditional R 2 becomes less useful as a measure of explained variance because it includes the extra-parametric dispersion being modelled, but has no predictive power ( Harrison, 2014 ).”concepts[40]
conceptconditional R 2 — not defined in this paper's own words; variance explained by fixed and random effects — “The strength of the Nakagawa & Schielzeth (2013) method for GLMMs is that it returns two complementary R 2 values: the marginal R 2 encompassing variance explained by only the fixed effects, and the conditional R 2 comprising variance explained by both fixed and random effects i.e. the variance explained by the whole model ( Nakagawa & Schielzeth, 2013 ). Ideally, both should be reported in publications as they provide different information; which one is more ‘useful’ may depend on the rationale for specifying random effects in the first instance. Recently, Nakagawa, Johnson & Schielzeth (2017) expanded their R 2 method to handle models with compound probability distributions like the Negative Binomial error family. Note that when OLREs are included (see ‘Overdispersion’ section above), the conditional R 2 becomes less useful as a measure of explained variance because it includes the extra-parametric dispersion being modelled, but has no predictive power ( Harrison, 2014 ).”concepts[41]
conceptsimulation — not defined in this paper's own words; model checking through replicated ideal datasets — “Simulation is a powerful tool for assessing model fit ( Gelman & Hill, 2007 ; Kéry, 2010 ; Zuur & Ieno, 2016 ), but is rarely used. The premise here is simple: when simulating a response variable from a given set of parameter estimates (a model), the fit of the model to those simulated ‘ideal’ response data should be comparable to the model’s fit to the real response variable ( Kéry, 2010 ). Each iteration yields a simulated dataset that allows calculation of a statistic of interest such as the sum of squared residuals ( Kéry, 2010 ), the overdispersion statistic ( Harrison, 2014 ) or the percentage of zeroes for a Poisson model ( Zuur & Ieno, 2016 ). If the model is a good fit, after a sufficiently large number of iterations (e.g. 10,000) the distribution of this statistic should encompass the observed statistic in the real data. Significant deviations outside of that distribution indicate the model is a poor fit ( Kéry, 2010 ). Figure 3 shows an example of using simulation to assess the fit of a Poisson GLMM. After fitting a GLMM to count data, we may wish to check for overdispersion and/or zero-inflation, the presence of which might suggest we need to adjust our modelling strategy. Simulating 10,000 datasets from our model reveals that the proportion of zeroes in our real data is comparable to simulated expectation ( Fig. 3A ). Conversely, simulating 1,000 datasets and refitting our model to each dataset, we see that the sum of the squared Pearson residuals for the real data is far larger than simulated expectation ( Fig. 3B ), giving evidence of overdispersion ( Harrison, 2014 ). We can use the simulated frequency distribution of this test statistic to derive a mean and 95% confidence interval for the overdispersion by calculating the ratio of our test statistic to the simulated values ( Harrison, 2014 ). The dispersion statistic for our model is 3.16 (95% CI [2.77–3.59]). Thus, simulations have allowed us to conclude that our model is overdispersed, but that this overdispersion is not due to zero-inflation. All R code for reproducing these simulations is provided in the Figshare: DOI 10.6084/m9.figshare.5173396 .”concepts[42]
conceptmissing data — not defined in this paper's own words; unmeasured predictors or responses in ecological datasets — “When collecting ecological data it is often not possible to measure all of the predictors of interest for every measurement of the dependant variable. Such missing data are a common feature of ecological datasets, however the impacts of this have seldom been considered in the literature ( Nakagawa & Freckleton, 2011 ). Incomplete rows of data in dataframes i.e. those missing predictor and/or response variables are often dealt with by deleting or ignoring those rows of data entirely when modelling ( Nakagawa & Freckleton, 2008 ), although this may result in biased parameter estimates and, depending on the mechanism underlying the missing data, reduces statistical power ( Nakagawa & Freckleton, 2008 ). Nakagawa & Freckleton (2011) recommend multiple imputation (MI) as a mechanism for handling non-informative missing data, and highlight the ability of this technique for more accurate estimates, particularly for IT/AIC approaches.”concepts[43]
conceptdeleting — not defined in this paper's own words; complete-case removal of incomplete rows — “When collecting ecological data it is often not possible to measure all of the predictors of interest for every measurement of the dependant variable. Such missing data are a common feature of ecological datasets, however the impacts of this have seldom been considered in the literature ( Nakagawa & Freckleton, 2011 ). Incomplete rows of data in dataframes i.e. those missing predictor and/or response variables are often dealt with by deleting or ignoring those rows of data entirely when modelling ( Nakagawa & Freckleton, 2008 ), although this may result in biased parameter estimates and, depending on the mechanism underlying the missing data, reduces statistical power ( Nakagawa & Freckleton, 2008 ). Nakagawa & Freckleton (2011) recommend multiple imputation (MI) as a mechanism for handling non-informative missing data, and highlight the ability of this technique for more accurate estimates, particularly for IT/AIC approaches.”concepts[44]
conceptmultiple imputation — not defined in this paper's own words; handling non-informative missing observations — “When collecting ecological data it is often not possible to measure all of the predictors of interest for every measurement of the dependant variable. Such missing data are a common feature of ecological datasets, however the impacts of this have seldom been considered in the literature ( Nakagawa & Freckleton, 2011 ). Incomplete rows of data in dataframes i.e. those missing predictor and/or response variables are often dealt with by deleting or ignoring those rows of data entirely when modelling ( Nakagawa & Freckleton, 2008 ), although this may result in biased parameter estimates and, depending on the mechanism underlying the missing data, reduces statistical power ( Nakagawa & Freckleton, 2008 ). Nakagawa & Freckleton (2011) recommend multiple imputation (MI) as a mechanism for handling non-informative missing data, and highlight the ability of this technique for more accurate estimates, particularly for IT/AIC approaches.”concepts[45]
conceptmodel selection — not defined in this paper's own words; optimization of fit against model complexity — “Model selection seeks to optimise the trade-off between the fit of a model given the data and that model’s complexity. Given that the researcher has a robust global model that satisfies standard assumptions of error structure and hierarchical independence, several methods of model selection are available, each of which maximises the fit-complexity trade off in a different way ( Johnson & Omland, 2004 ). We discuss the relative merits of each approach briefly here, before expanding on the use of information-theory and multi-model inference in ecology. We note that these discussions are not meant to be exhaustive comparisons, and we encourage the reader to delve into the references provided for a comprehensive picture of the arguments for and against each approach.”concepts[46]
conceptstepwise deletion — not defined in this paper's own words; sequential removal of global-model terms — “A common approach to model selection is the comparison of a candidate model containing a term of interest to the corresponding ‘null’ model lacking that term, using a p value from a LRT, referred to as null-hypothesis significance testing (NHST; Nickerson, 2000 ). Stepwise deletion is a model selection technique that drops terms sequentially from the global model to arrive at a ‘minimal adequate model’ (MAM). Evaluating whether a term should be dropped or not can be done using NHST to arrive at a model containing only significant predictors (see Crawley, 2013 ), or using IT to yield a model containing only terms that cause large increases in information criterion score when removed. Stepwise selection using NHST is by far the most common variant of this approach, and so we focus on this method here.”concepts[47]
conceptcryptic multiple testing — not defined in this paper's own words; unreported repeated tests used to derive a final model — “Stepwise deletion procedures have come under heavy criticism; they can overestimate the effect size of significant predictors ( Whittingham et al., 2006 ; Forstmeier & Schielzeth, 2011 ; Burnham, Anderson & Huyvaert, 2011 ) and force the researcher to focus on a single best model as if it were the only combination of predictors with support in the data. Although we strive for simplicity and parsimony, this assumption is not always reasonable in complex ecological systems ( Burnham, Anderson & Huyvaert, 2011 ). It is common to present the MAM as if it arose from a single a priori hypothesis, when in fact arriving at the MAM required multiple significance tests ( Whittingham et al., 2006 ; Forstmeier & Schielzeth, 2011 ). This cryptic multiple testing can lead to hugely inflated Type I errors ( Forstmeier & Schielzeth, 2011 ). Perhaps most importantly, LRT can be unreliable for fixed effects in GLMMs unless both total sample size and replication of the random effect terms is high (see Bolker et al., 2009 and references therein), conditions which are often not satisfied for most ecological datasets. Because stepwise deletion can cause biased effect sizes, presenting means and SEs of parameters from the global model should be more robust, especially when the n/k ratio is low ( Forstmeier & Schielzeth, 2011 ). Performing ‘full model tests’ (comparing the global model to an intercept only model) before investigating single-predictor effects controls the Type I error rate ( Forstmeier & Schielzeth, 2011 ). Reporting the full model also helps reduce publication bias towards strong effects, providing future meta-analyses with estimates of both significant and non-significant effects ( Forstmeier & Schielzeth, 2011 ). Global model reporting should not replace other model selection methods, but provides a robust measure of how likely significant effects are to arise by sampling variation alone.”concepts[48]
conceptinformation-theory — not defined in this paper's own words; model ranking through information criteria — “Unlike NHST, which leads to a focus on a single best model, model selection using IT approaches allows the degree of support in the data for several competing models to be ranked using metrics such as AIC. Information criteria attempt to quantify the Kullback–Leibler distance (KLD), a measure of the relative amount of information lost when a given model approximates the true data-generating process. Thus, relative difference among models in AIC should be representative in relative differences in KLD, and the model with the lowest AIC should lose the least information and be the best model in that it optimises the trade-off between fit and complexity ( Richards, 2008 ). A key strength of the IT approach is that it accounts for ‘model selection uncertainty’, the idea that several competing models may all fit the data similarly well ( Burnham & Anderson, 2002 ; Burnham, Anderson & Huyvaert, 2011 ). This is particularly useful when competing models share equal ‘complexity’ (i.e. number of predictors, or number of residual degrees of freedom): in such situations, NHST is impossible because NHST requires a simpler (nested) model for comparison. Where several models have similar support in the data, inference can be made from all models using model-averaging ( Burnham & Anderson, 2002 ; Johnson & Omland, 2004 ; Grueber et al., 2011 ). Model averaging incorporates uncertainty by weighting the parameter estimate of a model by that model’s Akaike weight (often referred to as the probability of that model being the best Kullback–Leibler model given the data, but see Richards, 2005 ). Multi-model inference places a strong emphasis on a priori formulation of hypotheses ( Burnham & Anderson, 2002 ; Dochtermann & Jenkins, 2011 ; Lindberg, Schmidt & Walker, 2015 ), and model-averaged parameter estimates arising from multi-model inference are thought to lead to more robust conclusions about the biological systems compared to NHST ( Johnson & Omland, 2004 , but see Richards, Whittingham & Stephens, 2011 ). These strengths over NHST have meant that the use of IT approaches in ecology and evolution has grown rapidly in recent years ( Lindberg, Schmidt & Walker, 2015 ; Barker & Link, 2015 ; Cade, 2015 ). We do not expand on the specific details of the difference between NHST and IT here, but point the reader to some excellent references on the topic. Instead, we use this section to highlight recent empirical developments in the best practice methods for the application of IT in ecology and evolution.”concepts[49]
conceptNHST — null-hypothesis significance testing — “Unlike NHST, which leads to a focus on a single best model, model selection using IT approaches allows the degree of support in the data for several competing models to be ranked using metrics such as AIC. Information criteria attempt to quantify the Kullback–Leibler distance (KLD), a measure of the relative amount of information lost when a given model approximates the true data-generating process. Thus, relative difference among models in AIC should be representative in relative differences in KLD, and the model with the lowest AIC should lose the least information and be the best model in that it optimises the trade-off between fit and complexity ( Richards, 2008 ). A key strength of the IT approach is that it accounts for ‘model selection uncertainty’, the idea that several competing models may all fit the data similarly well ( Burnham & Anderson, 2002 ; Burnham, Anderson & Huyvaert, 2011 ). This is particularly useful when competing models share equal ‘complexity’ (i.e. number of predictors, or number of residual degrees of freedom): in such situations, NHST is impossible because NHST requires a simpler (nested) model for comparison. Where several models have similar support in the data, inference can be made from all models using model-averaging ( Burnham & Anderson, 2002 ; Johnson & Omland, 2004 ; Grueber et al., 2011 ). Model averaging incorporates uncertainty by weighting the parameter estimate of a model by that model’s Akaike weight (often referred to as the probability of that model being the best Kullback–Leibler model given the data, but see Richards, 2005 ). Multi-model inference places a strong emphasis on a priori formulation of hypotheses ( Burnham & Anderson, 2002 ; Dochtermann & Jenkins, 2011 ; Lindberg, Schmidt & Walker, 2015 ), and model-averaged parameter estimates arising from multi-model inference are thought to lead to more robust conclusions about the biological systems compared to NHST ( Johnson & Omland, 2004 , but see Richards, Whittingham & Stephens, 2011 ). These strengths over NHST have meant that the use of IT approaches in ecology and evolution has grown rapidly in recent years ( Lindberg, Schmidt & Walker, 2015 ; Barker & Link, 2015 ; Cade, 2015 ). We do not expand on the specific details of the difference between NHST and IT here, but point the reader to some excellent references on the topic. Instead, we use this section to highlight recent empirical developments in the best practice methods for the application of IT in ecology and evolution.”concepts[50]
conceptKullback–Leibler distance — not defined in this paper's own words; relative information lost by an approximating model — “Unlike NHST, which leads to a focus on a single best model, model selection using IT approaches allows the degree of support in the data for several competing models to be ranked using metrics such as AIC. Information criteria attempt to quantify the Kullback–Leibler distance (KLD), a measure of the relative amount of information lost when a given model approximates the true data-generating process. Thus, relative difference among models in AIC should be representative in relative differences in KLD, and the model with the lowest AIC should lose the least information and be the best model in that it optimises the trade-off between fit and complexity ( Richards, 2008 ). A key strength of the IT approach is that it accounts for ‘model selection uncertainty’, the idea that several competing models may all fit the data similarly well ( Burnham & Anderson, 2002 ; Burnham, Anderson & Huyvaert, 2011 ). This is particularly useful when competing models share equal ‘complexity’ (i.e. number of predictors, or number of residual degrees of freedom): in such situations, NHST is impossible because NHST requires a simpler (nested) model for comparison. Where several models have similar support in the data, inference can be made from all models using model-averaging ( Burnham & Anderson, 2002 ; Johnson & Omland, 2004 ; Grueber et al., 2011 ). Model averaging incorporates uncertainty by weighting the parameter estimate of a model by that model’s Akaike weight (often referred to as the probability of that model being the best Kullback–Leibler model given the data, but see Richards, 2005 ). Multi-model inference places a strong emphasis on a priori formulation of hypotheses ( Burnham & Anderson, 2002 ; Dochtermann & Jenkins, 2011 ; Lindberg, Schmidt & Walker, 2015 ), and model-averaged parameter estimates arising from multi-model inference are thought to lead to more robust conclusions about the biological systems compared to NHST ( Johnson & Omland, 2004 , but see Richards, Whittingham & Stephens, 2011 ). These strengths over NHST have meant that the use of IT approaches in ecology and evolution has grown rapidly in recent years ( Lindberg, Schmidt & Walker, 2015 ; Barker & Link, 2015 ; Cade, 2015 ). We do not expand on the specific details of the difference between NHST and IT here, but point the reader to some excellent references on the topic. Instead, we use this section to highlight recent empirical developments in the best practice methods for the application of IT in ecology and evolution.”concepts[51]
conceptAIC — not defined in this paper's own words; information criterion balancing fit and parameter count — “Unlike NHST, which leads to a focus on a single best model, model selection using IT approaches allows the degree of support in the data for several competing models to be ranked using metrics such as AIC. Information criteria attempt to quantify the Kullback–Leibler distance (KLD), a measure of the relative amount of information lost when a given model approximates the true data-generating process. Thus, relative difference among models in AIC should be representative in relative differences in KLD, and the model with the lowest AIC should lose the least information and be the best model in that it optimises the trade-off between fit and complexity ( Richards, 2008 ). A key strength of the IT approach is that it accounts for ‘model selection uncertainty’, the idea that several competing models may all fit the data similarly well ( Burnham & Anderson, 2002 ; Burnham, Anderson & Huyvaert, 2011 ). This is particularly useful when competing models share equal ‘complexity’ (i.e. number of predictors, or number of residual degrees of freedom): in such situations, NHST is impossible because NHST requires a simpler (nested) model for comparison. Where several models have similar support in the data, inference can be made from all models using model-averaging ( Burnham & Anderson, 2002 ; Johnson & Omland, 2004 ; Grueber et al., 2011 ). Model averaging incorporates uncertainty by weighting the parameter estimate of a model by that model’s Akaike weight (often referred to as the probability of that model being the best Kullback–Leibler model given the data, but see Richards, 2005 ). Multi-model inference places a strong emphasis on a priori formulation of hypotheses ( Burnham & Anderson, 2002 ; Dochtermann & Jenkins, 2011 ; Lindberg, Schmidt & Walker, 2015 ), and model-averaged parameter estimates arising from multi-model inference are thought to lead to more robust conclusions about the biological systems compared to NHST ( Johnson & Omland, 2004 , but see Richards, Whittingham & Stephens, 2011 ). These strengths over NHST have meant that the use of IT approaches in ecology and evolution has grown rapidly in recent years ( Lindberg, Schmidt & Walker, 2015 ; Barker & Link, 2015 ; Cade, 2015 ). We do not expand on the specific details of the difference between NHST and IT here, but point the reader to some excellent references on the topic. Instead, we use this section to highlight recent empirical developments in the best practice methods for the application of IT in ecology and evolution.”concepts[52]
conceptAkaike weight — not defined in this paper's own words; relative support weight assigned to a candidate model — “Unlike NHST, which leads to a focus on a single best model, model selection using IT approaches allows the degree of support in the data for several competing models to be ranked using metrics such as AIC. Information criteria attempt to quantify the Kullback–Leibler distance (KLD), a measure of the relative amount of information lost when a given model approximates the true data-generating process. Thus, relative difference among models in AIC should be representative in relative differences in KLD, and the model with the lowest AIC should lose the least information and be the best model in that it optimises the trade-off between fit and complexity ( Richards, 2008 ). A key strength of the IT approach is that it accounts for ‘model selection uncertainty’, the idea that several competing models may all fit the data similarly well ( Burnham & Anderson, 2002 ; Burnham, Anderson & Huyvaert, 2011 ). This is particularly useful when competing models share equal ‘complexity’ (i.e. number of predictors, or number of residual degrees of freedom): in such situations, NHST is impossible because NHST requires a simpler (nested) model for comparison. Where several models have similar support in the data, inference can be made from all models using model-averaging ( Burnham & Anderson, 2002 ; Johnson & Omland, 2004 ; Grueber et al., 2011 ). Model averaging incorporates uncertainty by weighting the parameter estimate of a model by that model’s Akaike weight (often referred to as the probability of that model being the best Kullback–Leibler model given the data, but see Richards, 2005 ). Multi-model inference places a strong emphasis on a priori formulation of hypotheses ( Burnham & Anderson, 2002 ; Dochtermann & Jenkins, 2011 ; Lindberg, Schmidt & Walker, 2015 ), and model-averaged parameter estimates arising from multi-model inference are thought to lead to more robust conclusions about the biological systems compared to NHST ( Johnson & Omland, 2004 , but see Richards, Whittingham & Stephens, 2011 ). These strengths over NHST have meant that the use of IT approaches in ecology and evolution has grown rapidly in recent years ( Lindberg, Schmidt & Walker, 2015 ; Barker & Link, 2015 ; Cade, 2015 ). We do not expand on the specific details of the difference between NHST and IT here, but point the reader to some excellent references on the topic. Instead, we use this section to highlight recent empirical developments in the best practice methods for the application of IT in ecology and evolution.”concepts[53]
conceptmodel averaging — not defined in this paper's own words; combining model-specific estimates using model support — “Unlike NHST, which leads to a focus on a single best model, model selection using IT approaches allows the degree of support in the data for several competing models to be ranked using metrics such as AIC. Information criteria attempt to quantify the Kullback–Leibler distance (KLD), a measure of the relative amount of information lost when a given model approximates the true data-generating process. Thus, relative difference among models in AIC should be representative in relative differences in KLD, and the model with the lowest AIC should lose the least information and be the best model in that it optimises the trade-off between fit and complexity ( Richards, 2008 ). A key strength of the IT approach is that it accounts for ‘model selection uncertainty’, the idea that several competing models may all fit the data similarly well ( Burnham & Anderson, 2002 ; Burnham, Anderson & Huyvaert, 2011 ). This is particularly useful when competing models share equal ‘complexity’ (i.e. number of predictors, or number of residual degrees of freedom): in such situations, NHST is impossible because NHST requires a simpler (nested) model for comparison. Where several models have similar support in the data, inference can be made from all models using model-averaging ( Burnham & Anderson, 2002 ; Johnson & Omland, 2004 ; Grueber et al., 2011 ). Model averaging incorporates uncertainty by weighting the parameter estimate of a model by that model’s Akaike weight (often referred to as the probability of that model being the best Kullback–Leibler model given the data, but see Richards, 2005 ). Multi-model inference places a strong emphasis on a priori formulation of hypotheses ( Burnham & Anderson, 2002 ; Dochtermann & Jenkins, 2011 ; Lindberg, Schmidt & Walker, 2015 ), and model-averaged parameter estimates arising from multi-model inference are thought to lead to more robust conclusions about the biological systems compared to NHST ( Johnson & Omland, 2004 , but see Richards, Whittingham & Stephens, 2011 ). These strengths over NHST have meant that the use of IT approaches in ecology and evolution has grown rapidly in recent years ( Lindberg, Schmidt & Walker, 2015 ; Barker & Link, 2015 ; Cade, 2015 ). We do not expand on the specific details of the difference between NHST and IT here, but point the reader to some excellent references on the topic. Instead, we use this section to highlight recent empirical developments in the best practice methods for the application of IT in ecology and evolution.”concepts[54]
conceptall-subsets selection — not defined in this paper's own words; fitting every nested model of a global model — “All-Subsets selection is the act of fitting a global model, often containing every possible interaction, and then fitting every possible nested model. On the surface, all-subsets might appear to be a convenient and fast way of ‘uncovering’ the causal relationships in the data. All-subsets selection of enormous global models containing large numbers of predictors and their interactions makes analyses extremely prone to including uninformative parameters and ‘overfitted’ models. Burnham & Anderson (2002) caution strongly against all-subsets selection, and instead advocate ‘hard thinking’ about the hypotheses underlying the data. If adopting an all subsets approach, it is worth noting the number of models to consider increases exponentially with the number of predictors, where five predictors require 2 5 (32) models to be fitted, whilst 10 predictors requires 1,024 models, both without including any interactions but including the null model.”concepts[55]
conceptcross-validation — not defined in this paper's own words; held-out confirmation of predictive performance — “Global models should not contain huge numbers of variables and interactions without prior thought about what the models represent for a study system. In cases where all-subsets selection from a global model is performed, it is important to view these model selection exercises as exploratory ( Symonds & Moussalli, 2011 ), and hold some data back from these exploratory analyses to be used for cross-validation with the top model(s) (see Dochtermann & Jenkins, 2011 and references therein). Here, 90% of the data can be used to fit the model(s), with the remaining 10% used for confirmatory analysis to quantify how well the model(s) perform for prediction ( Zuur & Ieno, 2016 ). Such an approach requires a huge amount of data ( Dochtermann & Jenkins, 2011 ), but cross-validation to validate a model’s predictive ability is rare and should result in more robust inference (see also Fieberg & Johnson, 2015 ).”concepts[56]
conceptQAIC — not defined in this paper's own words; overdispersion-adjusted AIC — “Several information criteria are available to rank competing models, but their calculations differ subtly. Commonly applied criteria include AIC, the small sample size correction of AIC for when n/k <40 (AICc), and the Bayesian Information Criterion (BIC). Quasi-AIC (QAIC) is an adjustment to AIC that accounts for overdispersion, and should be used when overdispersion has been identified in a model (see Overdispersion section above). Note QAIC is not required if the overdispersion in the dataset has been modelled using zero-inflated models, OLREs, or compound probability distributions. Bolker et al. (2009) and Grueber et al. (2011) provide details of how to calculate these criteria.”concepts[57]
conceptadjustment to AIC — not defined in this paper's own words; criterion correction accounting for overdispersion — “Several information criteria are available to rank competing models, but their calculations differ subtly. Commonly applied criteria include AIC, the small sample size correction of AIC for when n/k <40 (AICc), and the Bayesian Information Criterion (BIC). Quasi-AIC (QAIC) is an adjustment to AIC that accounts for overdispersion, and should be used when overdispersion has been identified in a model (see Overdispersion section above). Note QAIC is not required if the overdispersion in the dataset has been modelled using zero-inflated models, OLREs, or compound probability distributions. Bolker et al. (2009) and Grueber et al. (2011) provide details of how to calculate these criteria.”concepts[58]
conceptnesting rule — not defined in this paper's own words; removing complex nested models with weaker AIC support — “It is well known that AIC tends towards overly complex models (‘overfitting’, Burnham & Anderson, 2002 ). As AIC only adds a two point penalty to a model for inclusion of a new term, Arnold (2010) demonstrated that adding a nuisance (completely random) predictor to a well-fitting model leads to a ΔAIC value of the new model of ∼2, therefore appearing to warrant inclusion in the top model set (see section above). Therefore, inference can be greatly improved by eliminating models from the top model set that are more complex versions of nested models with better AIC support, known as the nesting rule ( Richards, 2005 , 2008 ; Richards, Whittingham & Stephens, 2011 ). Doing so greatly reduces the number of models to be used for inference, and improves parameter accuracy ( Arnold, 2010 ; Richards, 2008 ). Symonds & Moussalli (2011) caution that its applicability has not yet been widely assessed over a range of circumstances, but the theory behind its application is sound and intuitive ( Arnold, 2010 ).”concepts[59]
conceptparameter accuracy — not defined in this paper's own words; accuracy of model parameter estimates — “It is well known that AIC tends towards overly complex models (‘overfitting’, Burnham & Anderson, 2002 ). As AIC only adds a two point penalty to a model for inclusion of a new term, Arnold (2010) demonstrated that adding a nuisance (completely random) predictor to a well-fitting model leads to a ΔAIC value of the new model of ∼2, therefore appearing to warrant inclusion in the top model set (see section above). Therefore, inference can be greatly improved by eliminating models from the top model set that are more complex versions of nested models with better AIC support, known as the nesting rule ( Richards, 2005 , 2008 ; Richards, Whittingham & Stephens, 2011 ). Doing so greatly reduces the number of models to be used for inference, and improves parameter accuracy ( Arnold, 2010 ; Richards, 2008 ). Symonds & Moussalli (2011) caution that its applicability has not yet been widely assessed over a range of circumstances, but the theory behind its application is sound and intuitive ( Arnold, 2010 ).”concepts[60]
conceptrobust conclusions — not defined in this paper's own words; inferences stable to model-selection uncertainty — “Unlike NHST, which leads to a focus on a single best model, model selection using IT approaches allows the degree of support in the data for several competing models to be ranked using metrics such as AIC. Information criteria attempt to quantify the Kullback–Leibler distance (KLD), a measure of the relative amount of information lost when a given model approximates the true data-generating process. Thus, relative difference among models in AIC should be representative in relative differences in KLD, and the model with the lowest AIC should lose the least information and be the best model in that it optimises the trade-off between fit and complexity ( Richards, 2008 ). A key strength of the IT approach is that it accounts for ‘model selection uncertainty’, the idea that several competing models may all fit the data similarly well ( Burnham & Anderson, 2002 ; Burnham, Anderson & Huyvaert, 2011 ). This is particularly useful when competing models share equal ‘complexity’ (i.e. number of predictors, or number of residual degrees of freedom): in such situations, NHST is impossible because NHST requires a simpler (nested) model for comparison. Where several models have similar support in the data, inference can be made from all models using model-averaging ( Burnham & Anderson, 2002 ; Johnson & Omland, 2004 ; Grueber et al., 2011 ). Model averaging incorporates uncertainty by weighting the parameter estimate of a model by that model’s Akaike weight (often referred to as the probability of that model being the best Kullback–Leibler model given the data, but see Richards, 2005 ). Multi-model inference places a strong emphasis on a priori formulation of hypotheses ( Burnham & Anderson, 2002 ; Dochtermann & Jenkins, 2011 ; Lindberg, Schmidt & Walker, 2015 ), and model-averaged parameter estimates arising from multi-model inference are thought to lead to more robust conclusions about the biological systems compared to NHST ( Johnson & Omland, 2004 , but see Richards, Whittingham & Stephens, 2011 ). These strengths over NHST have meant that the use of IT approaches in ecology and evolution has grown rapidly in recent years ( Lindberg, Schmidt & Walker, 2015 ; Barker & Link, 2015 ; Cade, 2015 ). We do not expand on the specific details of the difference between NHST and IT here, but point the reader to some excellent references on the topic. Instead, we use this section to highlight recent empirical developments in the best practice methods for the application of IT in ecology and evolution.”concepts[61]

Full text — tagged

A brief introduction to mixed effects modelling and multi-model inferenceterm in ecology Abstract The use of linear mixed effects modelsterm (LMMsterm·mth) is increasingly common in the analysis of biological dataterm. Whilst LMMsterm·mth offer a flexible approach to modelling a broad range of data types, ecological data are often complex and require complex model structures, and the fitting and interpretation of such models is not always straightforward. The ability to achieve robust biological inferenceterm requires that practitioners know how and when to apply these tools. Here, we provide a general overview of current methods for the application of LMMsterm·mth to biological dataterm, and highlight the typical pitfalls that can be encountered in the statistical modelling process. We tackle several issues regarding methods of model selectionterm, with particular reference to the use of information theoryterm·mth and multi-model inferenceterm in ecology. We offer practical solutions and direct the reader to key references that provide further technical detail for those seeking a deeper understanding. This overview should serve as a widely accessible code of best practice for applying LMMsterm·mth to complex biological problems and model structures, and in doing so improve the robustness of conclusions drawn from studies investigating ecological and evolutionary questions.

Keywords: GLMM, Mixed effects models, Model selectionterm, AICterm, Multi-model inferenceterm, Overdispersionterm, Model averagingterm, Random effectsterm·mth, Collinearityterm, Type I error Introduction In recent years, the suite of statistical tools available to biologists and the complexity of biological dataterm analyses have grown in tandem ( Low-Décarie, Chivers & Granados, 2014 ; Zuur & Ieno, 2016 ; Kass et al., 2016 ). The availability of novel and sophisticated statistical techniques means we are better equipped than ever to extract signal from noisy biological dataterm, but it remains challenging to know how to apply these tools, and which statistical technique(s) might be best suited to answering specific questions ( Kass et al., 2016 ). Often, simple analyses will be sufficient ( Murtaugh, 2007 ), but more complex data structures often require more complex methods such as linear mixed effects modelsterm (LMMsterm·mth) ( Zuur et al., 2009 ), generalized additive models ( Wood, Goude & Shaw, 2015 ) or Bayesian inference ( Ellison, 2004 ). Both accurate parameter estimates and robust biological inferenceterm require that ecologists be aware of the pitfalls and assumptions that accompany these techniques and adjust modelling decisions accordingly ( Bolker et al., 2009 ).

Linear mixed effects modelsterm and generalized linear mixed effects modelsterm (GLMMs), have increased in popularity in the last decade ( Zuur et al., 2009 ; Bolker et al., 2009 ). Both extend traditional linear modelsterm to include a combination of fixed and random effectsterm·mth as predictor variables. The introduction of random effectsterm·mth affords several non-exclusive benefits. First, biological datasets are often highly structured, containing clusters of non-independent observational units that are hierarchical in nature, and LMMsterm·mth allow us to explicitly model the non-independence in such data. For example, we might measure several chicks from the same clutch, and several clutches from different females, or we might take repeated measurements of the same chick’s growth rate over time. In both cases, we might expect that measurements within a statistical unit (here, an individual, or a female’s clutch) might be more similar than measurements from different units. Explicit modelling of the random effectsterm·mth structure will aid correct inference about fixed effectsterm·mth, depending on which level of the system’s hierarchy is being manipulated. In our example, if the fixed effectterm·var varies or is manipulated at the level of the clutch, then treating multiple chicks from a single clutch as independent would represent pseudoreplicationterm, which can be controlled carefully by using random effectsterm·mth. Similarly, if fixed effectsterm·mth vary at the level of the chick, then non-independence among clutches or mothers could also be accounted for. Random effectsterm·mth typically represent some grouping variable ( Breslow & Clayton, 1993 ) and allow the estimation of variance in the response variable within and among these groups. This reduces the probability of false positives (Type I error ratesterm) and false negatives (Type II error ratesterm, e.g. Crawley, 2013 ). In addition, inferring the magnitude of variation within and among statistical clusters or hierarchical levels can be highly informative in its own right. In our bird example, understanding whether there is more variation in a focal trait among females within a population, rather than among populations, might be a central goal of the study.

Linear mixed effects modelsterm are powerful yet complex tools. Software advances have made these tools accessible to the non-expert and have become relatively straightforward to fit in widely available statistical packages such as R ( R Core Team, 2016 ). Here we focus on the implementation of LMMsterm·mth in R, although the majority of the techniques covered here can also be implemented in alternative packages including SAS (SAS Institute, Cary, NC, USA) & SPSS (SPSS Inc., Chicago, IL, USA). It should be noted, however, that due to different computational methods employed by different packages there may be differences in the model outputs generated. These differences will generally be subtle and the overall inferences drawn from the model outputs should be the same.

Despite this ease of implementation, the correct use of LMMsterm·mth in the biological sciences is challenging for several reasons: (i) they make additional assumptions about the data to those made in more standard statistical techniques such as general linear models (GLMs), and these assumptions are often violated ( Bolker et al., 2009 ); (ii) interpreting model output correctly can be challenging, especially for the variance components of random effectsterm·mth ( Bolker et al., 2009 ; Zuur et al., 2009 ); (iii) model selectionterm for LMMsterm·mth presents a unique challenge, irrespective of model selectionterm philosophy, because of biases in the performance of some tests (e.g. Wald tests, Akaike’s Information Criterion (AICterm) comparisons) introduced by the presence of random effectsterm·mth ( Vaida & Blanchard, 2005 ; Dominicus et al., 2006 ; Bolker et al., 2009 ). Collectively, these issues mean that the application of LMMterm·mth techniques to biological problems can be risky and difficult for those that are unfamiliar with them. There have been several excellent papers in recent years on the use of GLMMs in biology ( Bolker et al., 2009 ), the use of information theoryterm·mth (IT) and multi-model inferenceterm for studies involving LMMsterm·mth ( Grueber et al., 2011 ), best practice for data exploration ( Zuur et al., 2009 ) and for conducting statistical analyses for complex datasets ( Zuur & Ieno, 2016 ; Kass et al., 2016 ). At the interface of these excellent guides lies the theme of this paper: an updated guide for the uninitiated through the model fitting and model selectionterm processes when using LMMsterm·mth. A secondary but no less important aim of the paper is to bring together several key references on the topic of LMMsterm·mth, and in doing so act as a portal into the primary literature that derives, describes and explains the complex modelling elements in more detail.

We provide a best practice guide covering the full analysis pipeline, from formulating hypotheses, specifying model structure and interpreting the resulting parameter estimates. The reader can digest the entire paper, or snack on each standalone section when required. First, we discuss the advantages and disadvantages of including both fixed and random effectsterm·mth in models. We then address issues of model specification, and choice of error structure and/or data transformationterm, a topic that has seen some debate in the literature ( O’Hara & Kotze, 2010 ; Ives, 2015 ). We also address methods of model selectionterm, and discuss the relative merits and potential pitfalls of using IT, AICterm and multi-model inferenceterm in ecology and evolution. At all stages, we provide recommendations for the most sensible manner to proceed in different scenarios. As with all heuristics, there may be situations where these recommendations will not be optimal, perhaps because the required analysis or data structure is particularly complex. If the researcher has concerns about the appropriateness of a particular strategy for a given situation, we recommend that they consult with a statistician who has experience in this area.

Understanding Fixed and Random Effectsterm·mth A key decision of the modelling process is specifying model predictors as fixed or random effectsterm·mth. Unfortunately, the distinction between the two is not always obvious, and is not helped by the presence of multiple, often confusing definitions in the literature (see Gelman & Hill, 2007 , p. 245). Absolute rules for how to classify something as a fixed or random effectterm·mth generally are not useful because that decision can change depending on the goals of the analysis ( Gelman & Hill, 2007 ). We can illustrate the difference between fitting something as a fixed (M1) or a random effectterm·mth (M2) using a simple example of a researcher who takes measurements of mass from 100 animals from each of five different groups ( n = 500) with a goal of understanding differences among groups in mean mass. We use notation equivalent to fitting the proposed models in the statistical software R ( R Core Team, 2016 ), with the LMMsterm·mth fitted using the R package lme4 ( Bates et al., 2015b ): Fitting ‘group’ as a fixed effectterm·var in model M1 assumes the five ‘group’ means are all independent of one another, and share a common residual variance. Conversely, fitting group as a random interceptterm·mth model in model M2 assumes that the five measured group means are only a subset of the realised possibilities drawn from a ‘global’ set of population means that follow a Normal distribution with its own mean (μ group , Fig. 1A ) and variance (σ 2 group ). Therefore, LMMsterm·mth model the variance hierarchically, estimating the processes that generate among-group variation in means, as well as variation within groups. Treating groups from a field survey as only a subset of the possible groups that could be sampled is quite intuitive, because there are likely many more groups (e.g. populations) of the study species in nature than the five the researcher measured. Conversely if one has designed an experiment to test the effect of three different temperature regimes on growth rate of plants, specifying temperature treatment as a fixed effectterm·var appears sensible because the experimenter has deliberately set the variable at a given value of interest. That is, there are no unmeasured groups with respect to that particular experimental design.

Differences between Random Interceptterm·mth vs Random Slopeterm·var Models. (A) A random-intercepts model where the outcome variable y is a function of predictor x , with a random interceptterm·mth for group ID (coloured lines). Because all groups have been constrained to have a common slope, their regression lines are parallel. Solid lines are the regression lines fitted to the data. Dashed lines trace the regression lines back to the y intercept. Point colour corresponds to group ID of the data point. The black line represents the global mean value of the distribution of random effectsterm·mth. (B) A random interceptsterm·mth and random slopesterm·mth model, where both intercepts and slopes are permitted to vary by group. Random slopeterm·var models give the model far more flexibility to fit the data, but require a lot more data to obtain accurate estimates of separate slopes for each group.

Estimating group means from a common distribution with known (estimated) variance has some useful properties, which we discuss below, and elaborate on the difference between fixed and random effectsterm·mth by using examples of the different ways random effectsterm·mth are used in the literature.

Controlling for non-independence among data points This is one of the most common uses of a random effectterm·mth. Complex biological dataterm sets often contain nestedterm and/or hierarchical structures such as repeat measurements from individuals within and across units of time. Random effectsterm·mth allow for the control of non-independence by constraining non-independent ‘units’ to have the same intercept and/or slope ( Zuur et al., 2009 ; Zuur & Ieno, 2016 ). Fitting only a random interceptterm·mth allows group means to vary, but assumes all groups have a common slope for a fitted covariate (fixed effectterm·var). Fitting random interceptsterm·mth and slopes allows the slope of a predictor to vary based on a separate grouping variable. For example, one hypothesis might be that the probability of successful breeding for an animal is a function of its body mass. If we had measured animals from multiple sampling sites, we might wish to fit ‘sampling site’ as a random interceptterm·mth, and estimate a common slope (change in breeding success) for body mass across all sampling sites by fitting it as a fixed effectterm·var: Conversely, we might wish to test the hypothesis that the strength of the effect (slope) of body mass on breeding success varies depending on the sampling location i.e. the change in breeding success for a 1 unit change in body mass is not consistent across groups ( Fig. 1B ). Here, ‘body mass’ is specified as a random slopeterm·var by adding it to the random effectsterm·mth structure. This model estimates a random interceptterm·mth, random slopeterm·var, and the correlation between the two and also the fixed effectterm·var of body mass: Schielzeth & Forstmeier (2009) ; Barr et al. (2013) and Aarts et al. (2015) show that constraining groups to share a common slope can inflate Type I and Type II errors. Consequently, Grueber et al. (2011) recommend always fitting both random slopesterm·mth and intercepts where possible. Whether this is feasible or not will depend on the data structure (see ‘Costs to Fitting Random Effectsterm·mth’ section below). Figure 1 describes the differences between random interceptterm·mth models and those also containing random slopesterm·mth.

Further reading: Zuur & Ieno (2016) shows examples of the difficulties in identifying the dependency structure of data and how to use flow charts/graphics to help decide model structure. Kéry (2010 , Ch 12) has an excellent demonstration of how to fit random slopesterm·mth, and how model assumptions change depending on specification of a correlation between random slopesterm·mth and intercepts or not. Schielzeth & Forstmeier (2009) and van de Pol & Wright (2009) are useful references for understanding the utility of random slopeterm·var models.

Improving the accuracy of parameter estimation Random effectterm·mth models use data from all the groups to estimate the mean and variance of the global distribution of group means. Assuming all group means are drawn from a common distribution causes the estimates of their means to drift towards the global mean μ group . This phenomenon, known as shrinkageterm ( Gelman & Hill, 2007 ; Kéry, 2010 ), can also lead to smaller and more precise standard errorsterm around means. Shrinkageterm is strongest for groups with small sample sizes, as the paucity of within-group information to estimate the mean is counteracted by the model using data from other groups to improve the precision of the estimate. This ‘partial poolingterm’ of the estimates is a principal benefit of fitting something as a random effectterm·mth ( Gelman & Hill, 2007 ). However, it can feel strange that group means should be shrunk towards the global mean, especially for researchers more used to treating sample means as independent fixed effectsterm·mth. Accordingly, one issue is that variance estimates can be hugely imprecise when there are fewer than five levels of the random grouping variable (intercept or slope; see HarrisonpersName, 2015 ). However, thanks to the Central Limit Theorem, the assumption of Gaussian distribution of group means is usually a good one, and the benefits of hierarchical analysis will outweigh the apparent costs of shrinkageterm.

Estimating variance components In some cases, the variation among groups will be of interest to ecologists. For example, imagine we had measured the clutch masses of 30 individual birds, each of which had produced five clutches ( n = 150). We might be interested in asking whether different females tend to produce consistently different clutch masses (high among-female variance for clutch mass). To do so, we might fit an intercept-only model with Clutch Mass as the response variable and a Gaussian error structure: By fitting individual ‘FemaleID’ as a random interceptterm·mth term in the LMMterm·mth, we estimate the among-female variance in our trait of interest. This model will also estimate the residual variance term, which we can use in conjunction with the among-female variance term to calculate an ‘intra-class correlation coefficientterm’ that measures individual repeatability in our trait (see Nakagawa & Schielzeth, 2010 ). While differences among individuals can be obtained by fitting individual ID as a fixed effectterm·var, this uses a degree of freedom for each individual ID after the first, severely limiting model power, and does not benefit from increased estimation accuracy through shrinkageterm. More importantly, repeatability scores derived from variance components analysisterm can be compared across studies for the same trait, and even across traits in the same study. Variance component analysis is a powerful tool for partitioning variation in a focal trait among biologically interesting groups, and several more complex examples exist (see Nakagawa & Schielzeth, 2010 ; Wilson et al., 2010 ; Houslay & Wilson, 2017 ). In particular, quantitative genetic studies rely on variance component analysis for estimating the heritability of traits such as body mass or size of secondary sexual characteristics ( Wilson et al., 2010 ). We recommend the tutorials in Wilson et al. (2010) and Houslay & Wilson (2017) for a deeper understanding of the power and flexibility of variance component analysis.

Making predictions for unmeasured groups Fixed effectterm·var estimates prevent us from making predictions for new groups because the model estimates are only relevant to groups in our dataset ( Zuur et al., 2009 , p. 327). Conversely, we can use the estimate of the global distribution of population means to predict for the average group using the mean of the distribution μ group for a random effectsterm·mth model (see Fig. 1 ). We could also sample hypothetical groups from our random effectterm·mth distribution, as we know its mean and SD ( Zuur & Ieno, 2016 ). Therefore, whether something is fitted as a fixed or random effectterm·mth can depend on the goal of the analysis: are we only interested in the mean values for each group in our dataset, or do we wish to use our results to extend our predictions to new groups? Even if we do not want to predict to new groups, we might wish to fit something as a random effectterm·mth to take advantage of the shrinkageterm effect and improved parameter estimation accuracy.

Considerations when Fitting Random Effectsterm·mth Random effectterm·mth models have several desirable properties (see above), but their use comes with some caveats. First, they are quite ‘data hungry’; requiring at least five ‘levels’ (groups) for a random interceptterm·mth term to achieve robust estimates of variance ( Gelman & Hill, 2007 ; HarrisonpersName, 2015 ). With <5 levels, the mixed model may not be able to estimate the among-population variance accurately. In this case, the variance estimate will either collapse to zero, making the model equivalent to an ordinary GLM ( Gelman & Hill, 2007 , p. 275) or be non-zero but incorrect if the small number of groups that were sampled are not representative of true distribution of means ( HarrisonpersName, 2015 ). Second, models can be unstable if sample sizes across groups are highly unbalanced i.e. if some groups contain very few data. These issues are especially relevant to random slopeterm·var models ( Grueber et al., 2011 ). Third, an important issue is the difficulty in deciding the ‘significance’ or ‘importance’ of variance among groups. The variance of a random effectterm·mth is inevitably at least zero, but how big does it need to be considered of interest? Fitting a factor as a fixed effectterm·var provides a statement of the significance of differences (variation) among groups relatively easily. Testing differences among levels of a random effectterm·mth is made much more difficult for frequentist analyses, though not so in a Bayesian framework ( Kéry, 2010 , see ‘ Testing Significance of Random Effectsterm·mth ’ section). Finally, an issue that is not often addressed is that of mis-specification of random effectsterm·mth. GLMMs are powerful tools, but incorrectly parameterising the random effectsterm·mth in the model could yield model estimates that are as unreliable as ignoring the need for random effectsterm·mth altogether. Examples include: (i) failure to recognise non-independence caused by nestedterm structures in the data e.g. multiple clutch measures from a single bird; (ii) failing to specify random slopesterm·mth to prevent constraining slopes of predictors to be identical across clusters in the data (see Barr et al., 2013 ); and (iii) testing the significance of fixed effectsterm·mth at the wrong ‘level’ of hierarchical models that ultimately leads to pseudoreplicationterm and inflated Type I error ratesterm. Traditionally users of LMMsterm·mth might have used F- tests of significance. F -tests are ill-advised for unbalanced experimental designs and irrelevant for non-Gaussian error structures, but they at least provide a check of model hierarchy using residual degrees of freedom for fixed effectsterm·mth. The now-standard use of likelihood ratio tests (LRT) of significance in LMMsterm·mth means that users and readers have little opportunity to check the position of significance tests in the hierarchy of likelihoods.

Further reading: HarrisonpersName (2015) shows how poor replication of the random interceptterm·mth groups can give unstable model estimates. Zuur & Ieno (2016) discuss the importance of identifying dependency structures in the data.

Deciding Model Structure for GLMMs Choosing error structures and link functionsterm General linear models make various statistical assumptions, including additivity of the linear predictors, independence of errors, equal variance of errors (homoscedasticity) and normality of errors ( Gelman & Hill, 2007 , p. 46; Zuur et al., 2009 , p. 19). Ecologists often deal with response variables that violate these assumptions, and face several decisions about model specification to ensure models of such data are robust. The price for ignoring violation of these assumptions tends to be an inflated Type I error rateterm ( Zuur, Ieno & Elphick, 2010 ; Ives, 2015 ). In some cases, however, transformation of the response variable may be required to ensure these assumptions are met. For example, an analytical goal may be to quantify differences in mean mass between males and females, but if the variance in mass for one sex is greater than the other, the assumption of homogeneity of variance is violated. Transformation of the data can remedy this ( Zuur et al., 2009 ); ‘mean-variance stabilising transformations’ aim to make the variance around the fitted mean of each group homogenous, making the models more robust. Alternatively, modern statistical tools such as the ‘varIdent’ function in the R package nlme can allow one to explicitly model differences in variance between groups to avoid the need for data transformationterm.

Further reading: Zuur, Ieno & Elphick (2010) provide a comprehensive guide on using data exploration techniques to check model assumptions, and give advice on transformations.

For non-Gaussian data, our modelling choices become more complex. Non-Gaussian data structures include, for example, Poisson-distributed counts (number of eggs laid, number of parasites); binomial-distributed constrained counts (number of eggs that hatched in a clutch; prevalence of parasitic infection in a group of hosts) or Bernoulli-distributed binary traits (e.g. infected with a parasite or not). Gaussian models of these data would violate the assumptions of normality of errors and homogenous variance. To model these data, we have two initial choices: (i) we can apply a transformation to our non-Gaussian response to ‘make it’ approximately Gaussian, and then use a Gaussian model; or (ii) we can apply a GL(M)M and specify the appropriate error distribution and link functionterm. The link functionterm takes into account the (assumed) empirical distribution of our data by transformation of the linear predictor within the model. It is critical to note that transformation of the raw response variable is not equivalent to using a link functionterm to apply a transformation in the model. Data-transformationterm applies the transformation to the raw response, whilst using a link functionterm transforms the fitted mean (the linear predictor). That is, the mean of a log-transformed response (using a data transformationterm) is not identical to the logarithm of a fitted mean (using a link functionterm) .

The issue of transforming non-Gaussian data to fit Gaussian models to them is contentious. For example, arcsin square-root transformation of proportion data was once extremely common, but recent work has shown it to be unreliable at detecting real effects ( Warton & Hui, 2011 ). Both logit-transformation (for proportional data) and Binomial GLMMs (for binary response variables) have been shown to be more robust ( Warton & Hui, 2011 ). O’Hara & Kotze (2010) argued that log-transformation of count data performed well in only a small number of circumstances (low dispersion, high mean counts), which are unlikely to be applicable to ecological datasets. However, Ives (2015) recently countered these assumptions with evidence that transformed count data analysed using LMMsterm·mth can often outperform Poisson GLMMs. We do not make a case for either here, but acknowledge the fact that there is unlikely to be a universally best approach; each method will have its own strengths and weakness depending on the properties of the data ( O’Hara & Kotze, 2010 ). Checking the assumptions of the LMMterm·mth or GLMM is an essential step (see section Quantifying GLMM Fit and Performance). An issue with transformations of non-Gaussian data is having to deal with zeroes as special cases (e.g. you can’t log transform a 0), so researchers often add a small constant to all data to make the transformation work, a practice that has been criticised ( O’Hara & Kotze, 2010 ). GLMMs remove the need for these ‘adjustments’ of the data. The important point here is that transformations change the entire relationship between Y and X ( Zuur et al., 2009 ), but different transformations do this to different extents and it may be impossible to know which transformation is best without performing simulationsterm to test the efficacy of each ( Warton & Hui, 2011 ; Ives, 2015 ).

Further reading: Crawley (2013 , Ch 13) gives a broad introduction to the various error structures and link functionsterm available in the R statistical framework. O’Hara & Kotze (2010) ; Ives (2015) and Warton et al. (2016) argue the relative merits of GLMs vs log-transformation of count data; Warton & Hui (2011) address the utility of logit-transformation of proportion data compared to arcsin square-root transformation.

Choosing random effectsterm·mth I: crossed or nestedterm?

A common issue that causes confusion is this issue of specifying random effectsterm·mth as either ‘crossed’ or ‘nestedterm’. In reality, the way you specify your random effectsterm·mth will be determined by your experimental or sampling design ( Schielzeth & Nakagawa, 2013 ). A simple example can illustrate the difference. Imagine a researcher was interested in understanding the factors affecting the clutch mass of a passerine bird. They have a study population spread across five separate woodlands, each containing 30 nest boxes. Every week during breeding they measure the foraging rate of females at feeders, and measure their subsequent clutch mass. Some females have multiple clutches in a season and contribute multiple data points. Here, female ID is said to be nestedterm within woodland : each woodland contains multiple females unique to that woodland (that never move among woodlands). The nestedterm random effectterm·mth controls for the fact that (i) clutches from the same female are not independent, and (ii) females from the same woodland may have clutch masses more similar to one another than to females from other woodlands Now imagine that this is a long-term study, and the researcher returns every year for five years to continue with measurements. Here it is appropriate fit year as a crossed random effectterm because every woodland appears multiple times in every year of the dataset, and females that survive from one year to the next will also appear in multiple years.

Understanding whether your experimental/sampling design calls for nestedterm or crossed random effectsterm is not always straightforward, but it can help to visualise experimental design by drawing it (see Schielzeth & Nakagawa, 2013 ; Fig. 1 ), or tabulating your observations by these grouping factors (e.g. with the ‘ table’ command in R) to identify how your data are distributed. We advocate that researchers always ensure that their levels of random effectterm·mth grouping variables are uniquely labelled. For example, females are labelled 1− n in each woodland, the model will try and pool variance for all females with the same code. Giving all females a unique code makes the nestedterm structure of the data is implicit, and a model specified as ∼(1| Woodland) + (1|FemaleID) would be identical to the model above.

Finally, we caution that whether two factors are nestedterm or crossed affects the ability of (G)LMMsterm·mth to estimate the effect of the interaction between those two factors on the outcome variable. Crossed factors allow the model to accurately estimate the interaction effects between the two, whereas nestedterm factors automatically pool those effects in the second (nestedterm) factor ( Schielzeth & Nakagawa, 2013 ). We do not expand on this important issue here but direct the reader to Schielzeth & Nakagawa (2013) for an excellent treatment of the topic.

Choosing random effectsterm·mth II: random slopesterm·mth Fitting random slopeterm·var models in ecology is not very common. Often, researchers fit random interceptsterm·mth to control for non-independence among measurements of a statistical group (e.g. birds within a woodland), but force variables to have a common slope across all experimental units. However, there is growing evidence that researchers should be fitting random slopesterm·mth as standard practice in (G)LMMsterm·mth. Random slopeterm·var models allow the coefficient of a predictor to vary based on clustering/non-independence in the data (see Fig. 1B ). In our bird example above, we might fit a random slopeterm·var for the effect of foraging rate on clutch mass given each individual bird ID. That is, the magnitude of the effect foraging rate on resultant clutch mass differs among birds. Random slopeterm·var models (also often called random coefficients modelsterm·mth, Kéry, 2010 ) apply to both continuous and factor variables. For example, if we had applied a two-level feeding treatment to birds in each woodland (vitamin supplementation or control), we might also expect the magnitude of the effect of receiving vitamin supplementation to differ depending on which woodland it was applied to. So here we would specify random slopesterm·mth for the treatment variable given woodland ID.

Schielzeth & Forstmeier (2009) found that including random slopesterm·mth controls Type I error rateterm (yields more accurate p values), but also gives more power to detect among individual variation. Barr et al. (2013) suggest that researchers should fit the maximal random effectsterm·mth structure possible for the data. That is, if there are four predictors under consideration, all four should be allowed to have random slopesterm·mth. However, we believe this is unrealistic because random slopeterm·var models require large numbers of data to estimate variances and covariances accurately ( Bates et al., 2015a ). Ecological datasets can often struggle to estimate a single random slopeterm·var, diagnosed by a perfect correlation (1 or −1) between random interceptsterm·mth and slopes ( Bates et al., 2015a ). Therefore, the approach of fitting the ‘maximal’ complexity of random effectsterm·mth structure ( Barr et al., 2013 ) is perhaps better phrased as fitting the most complex mixed effects structure allowed by your data ( Bates et al., 2015a ), which may mean either (i) fitting random slopesterm·mth but removing the correlation between intercepts and slopes; or (ii) fitting no random slopesterm·mth at all but accepting that this likely inflates the Type I error rateterm ( Schielzeth & Forstmeier, 2009 ). If fitting a random slopeterm·var model including correlations between intercepts and slopes, always inspect the intercept-slope correlation coefficient in the variance/covariance summary returned by packages like lme4 to look for evidence of perfect correlations, indicative of insufficient data to estimate the model.

Further Reading: Schielzeth & Forstmeier (2009) is essential reading for understanding how random slopesterm·mth control Type I error rateterm, and Bates et al. (2015a) gives sound advice on how to iteratively determine optimal complexity of random effectterm·mth structure. Barr et al. (2013) and Aarts et al. (2015) discuss the merits of fitting random slopesterm·mth to clustered data to control false positive rates.

Choosing fixed effectterm·var predictors and interactions One of the most important decisions during the modelling process is deciding which predictors and interactions to include in models. Best practice demands that each model should represent a specific a priori hypothesisterm concerning the drivers of patterns in data ( Burnham & Anderson, 2002 ; Forstmeier & Schielzeth, 2011 ), allowing the assessment of the relative support for these hypotheses in the data irrespective of model selectionterm philosophy. The definition of ‘hypothesis’ must be broadened from the strict pairing of null and alternative that is classically drilled into young pupils of statistics and experimental design. Frequentist approaches to statistical modelling still work with nestedterm pairs of hypotheses. Information theorists work with whole sets of competing hypotheses. Bayesian modellers are comfortable with the idea that every possible parameter estimate is a hypothesis in its own right. But these epistemological differences do not really help to solve the problem of ‘which’ predictors should be considered valid members of the full set to be used in a statistical modelling exercise. It is therefore often unclear how best to design the most complex model, often referred to as the maximal model (which contains all factors, interactions and covariates that might be of any interest, Crawley, 2013 ) or as the global modelterm·mth (a highly parameterized model containing the variables and associated parameters thought to be important of the problem at hand, Burnham & Anderson, 2002 ; Grueber et al., 2011 ). We shall use the latter term here for consistency with terminology used in information-theoryterm·mth ( Grueber et al., 2011 ).

Deciding which terms to include in the model requires careful and rigorous a priori consideration of the system under study. This may appear obvious; however diverse authors have noticed a lack of careful thinking when selecting variables for inclusion in a model ( Peters, 1991 ; Chatfield, 1995 ; Burnham & Anderson, 2002 ). Lack of a priori consideration, of what models represent, distinguishes rigorous hypothesis testing from ‘fishing expeditionsterm·mth’ that seek significant predictors among a large group of contenders. Ideally, the global modelterm·mth should be carefully constructed using the researchers’ knowledge and understanding of the system such that only predictors likely to be pertinent to the problem at hand are included, rather than including all the predictors the researcher has collected and/or has available. This is a pertinent issue in the age of ‘big data’, where researchers are often overwhelmed with predictors and risk skipping the important step of a priori hypothesisterm design. In practice, for peer reviewers it is easy to distinguish fishing expeditionsterm·mth from a priori hypothesisterm sets based on the evidence base presented in introductory sections of research outputs.

How complex should my global modelterm·mth be?

The complexity of the global modelterm·mth will likely be a trade-off between the number of measured observations (the n of the study) and the proposed hypotheses about how the measured variables affect the outcome (response) variable. Lack of careful consideration of the parameters to be estimated can result in overparameterised modelsterm·mth, where there are insufficient data to estimate coefficients robustly ( Southwood & Henderson, 2000 ; Quinn & Keough, 2002 ; Crawley, 2013 ). In simple GLMs, overparameterisation results in a rapid decline in (or absence of) degrees of freedom with which to estimate residual error. Detection of overparameterisation in LMMsterm·mth can be more difficult because each random effectterm·mth uses only a single degree of freedom, however the estimation of variance among small numbers of groups can be numerically unstable. Unfortunately, it is common practice to fit a global modelterm·mth that is simply as complex as possible, irrespective of what that model actually represents; that is a dataset containing k predictors yields a model containing a k -way interaction among all predictors and simplify from there ( Crawley, 2013 ). This approach is flawed for two reasons. First, this practice encourages fitting biologically-unfeasible models containing nonsensical interactions. It should be possible to draw and/or visualise what the fitted model ‘looks like’ for various combinations of predictors—generally extremely difficult when more than two terms are interacting. Second, using this approach makes it very easy to fit a model too complex for the data. At best, the model will fail to converge, thus preventing inference. At worst, the model will ‘work’, risking false inference. Guidelines for the ideal ratio of data points ( n ) to estimated parameters ( k ) vary widely (see Forstmeier & Schielzeth, 2011 ). Crawley (2013) suggests a minimum n / k of 3, though we argue this is very low and that an n/kterm of 10 is more conservative. A ‘simple’ model containing a three-way interaction between continuous predictors, all that interaction’s daughter terms, and a single random interceptterm·mth needs to estimate eight parameters, so requires a dataset of a minimum n of 80 using this rule. Interactions can be especially demanding, as fitting interactions between a multi-level factor and a continuous predictor can result in poor sample sizes for specific treatment combinations even if the total n is quite large ( Zuur, Ieno & Elphick, 2010 ), which will lead to unreliable model estimates.

Grueber et al. (2011) show an excellent worked example of a case where the most complex model is biologically feasible and well-reasoned, containing only one two-way interaction. Nakagawa & Foster (2004) discuss the use of power analyses, which will be useful in determining the appropriate n/kterm ratio for a given system.

Assessing predictor collinearityterm With the desired set of predictors identified, it is wise to check for collinearityterm among predictor variables. Collinearityterm among predictors can cause several problems in model interpretation because those predictors explain some of the same variance in the response variable, and their effects cannot be estimated independently ( Quinn & Keough, 2002 ; Graham, 2003 ): First, it can cause model convergence issuesterm as models struggle to partition variance between predictor variables. Second, positively correlated variables can have negatively correlated regression coefficients, as the marginal effect of one is estimated, given the effect of the other, leading to incorrect interpretations of the direction of effects ( Fig. 2 ). Third, collinearityterm can inflate standard errorsterm of coefficient estimates and make ‘true’ effects harder to detect ( Zuur, Ieno & Elphick, 2010 ). Finally, collinearityterm can affect the accuracy of model averaged parameter estimates during multi-model inferenceterm ( Freckleton, 2011 ; Cade, 2015 ). Examples of collinear variables include climatic data such as temperature and rainfall, and morphometric data such as body length and mass. Collinearityterm can be detected in several ways, including creating correlation matrices between raw explanatory variables, with values >0.7 suggesting both should not be used in the same model ( Dormann et al., 2013 ); or calculating the variance inflation factorterm (VIF) of each predictor that is a candidate for inclusion in a model (details in Zuur, Ieno & Elphick, 2010 ) and dropping variables with a VIF higher than a certain value (e.g. 3, Zuur, Ieno & Elphick, 2010 ; or 10, Quinn & Keough, 2002 ). One problem with these methods though is that they rely on a user-selected choice of threshold of either the correlation coefficient or the VIF, and use of more stringent (lower) is probably sensible. Some argue that one should always prefer inspection of VIF values over correlation coefficients of raw predictors because strong multicollinearity can be hard to detect with the latter. When collinearityterm is detected, researchers can either select one variable as representative of multiple collinear variables ( Austin, 2002 ), ideally using biological knowledge/reasoning to select the most meaningful variable ( Zuur, Ieno & Elphick, 2010 ); or conduct a dimension-reduction analysis (e.g. Principal Components Analysis; James & McCullugh, 1990 ), leaving a single variable that accounts for most of the shared variance among the correlated variables. Both approaches will only be applicable if it is possible to group explanatory variables by common features, thereby effectively creating broader, but still meaningful explanatory categories. For instance, by using mass and body length metrics to create a ‘scaled mass index’ representative of body size ( Peig & Green, 2009 ).

The effect of collinearityterm on model parameter estimates. We simulated 10,000 iterations of a model y ∼ x 1 + x 2, where x 1 had a positive effect on y (β x 1 = 1, vertical dashed line). x 2 is collinear with x 1 with either a moderate ( r = 0.5). (A) or strong correlation ( r = 0.9). (B) With moderate collinearityterm, estimation of β x 1 is precise, but certainty of the sign of β x 2 is low. When collinearityterm is strong, estimation of β x 1 is far less precise, with 14% of simulationsterm estimating a negative coefficient for the effect of x 1. For more elaborate versions of these simulationsterm, see Freckleton (2011) .

Standardising and centring predictors Transformations of predictor variables are common, and can improve model performance and interpretability ( Gelman & Hill, 2007 ). Two common transformations for continuous predictors are (i) predictor centeringterm, the mean of predictor x is subtracted from every value in x, giving a variable with mean 0 and SD on the original scale of x ; and (ii) predictor standardisingterm, where x is centred and then divided by the SD of x , giving a variable with mean 0 and SD 1. Rescaling the mean of predictors containing large values (e.g. rainfall measured in 1,000s of millimetre) through centring/standardising will often solve convergence problems, in part because the estimation of intercepts is brought into the main body of the data themselves. Both approaches also remove the correlation between main effects and their interactions, making main effects more easily interpretable when models also contain interactions ( Schielzeth, 2010 ). Note that this collinearityterm among coefficients is distinct from collinearityterm between two separate predictors (see above). Centring and standardising by the mean of a variable changes the interpretation of the model intercept to the value of the outcome expected when x is at its mean value. Standardising further adjusts the interpretation of the coefficient (slope) for x in the model to the change in the outcome variable for a 1 SD change in the value of x . Scaling is therefore a useful tool to improve the stability of models and likelihood of model convergence, and the accuracy of parameter estimates if variables in a model are on large (e.g. 1,000s of millimetre of rainfall), or vastly different scales. When using scaling, care must be taken in the interpretation and graphical representation of outcomes.

Further reading: Schielzeth (2010) provides an excellent reference to the advantages of centring and standardising predictors. Gelman (2008) provides strong arguments for standardising continuous variables by 2 SDs when binary predictors are in the model. Gelman & Hill (2007 , p. 56, 434) discuss the utility of centring by values other than the mean.

Quantifying GLMM fit and performance Once a global modelterm·mth is specified, it is vital to quantify model fitterm and report these metrics in the manuscript. The global modelterm·mth is considered the best candidate for assessing fit statistics such as overdispersionterm ( Burnham & Anderson, 2002 ). Information criteria scores should not be used as a proxy for model fitterm, because a large difference in AICterm between the top and null models is not evidence of a good fit. AICterm tells us nothing about whether the basic distributional and structural assumptions of the model have been violated. Similarly, a high R 2term value is in itself only a test of the magnitude of model fitterm and not an adequate surrogate for proper model checks. Just because a model has a high R 2term value does not mean it will pass checks for assumptions such as homogeneity of variance. We strongly encourage researchers to view model fitterm and model adequacyterm as two separate but equally important traits that must be assessed and reported. Model fitterm can be poor for several reasons, including the presence of overdispersionterm, failing to include interactions among predictors, failing to account for non-linear effects of the predictors on the response, or specifying a sub-optimal error structure and/or link functionterm. Here we discuss some key metrics of fit and adequacy that should be considered.

Inspection of residuals and linear model assumptions Best practice is to examine plots of residuals versus fitted values for the entire model, as well as model residuals versus all explanatory variables to look for patterns ( Zuur, Ieno & Elphick, 2010 ; Zuur & Ieno, 2016 ). In addition, there are further model checks specific to mixed models. First, inspect residuals versus fitted values for each grouping level of a random interceptterm·mth factor ( Zuur et al., 2009 ). This will often prove dissatisfying if there are few data/residuals per group, however this in itself is a warning flag that the assumptions of the model might be based on weak foundations. Note that, for GLMMs, it is wise to use normalised/Pearson residual when looking for patterns, as they account for the mean-variance relationship of generalized models ( Zuur et al., 2009 ). Another feature of fit that is very rarely tested for in (G)LMMsterm·mth is the assumption of normality of deviations of the conditional means of the random effectsterm·mth from the global intercept. Just as a quantile–quantile (QQ) plot of linear model residuals should show points falling along a straight line ( Crawley, 2013 ), so should a QQ plot of the random effectterm·mth means ( Schielzeth & Nakagawa, 2013 ).

Further reading: Zuur, Ieno & Elphick (2010) give an excellent overview of the assumptions of linear models and how to test for their violation. See also Gelman & Hill (2007 , p. 45). The R package ‘sjPlot’ ( Lüdecke, 2017 ) has built in functions for several LMMterm·mth diagnostics, including random effectterm·mth QQ plots. Zuur et al. (2009) provides a vast selection of model diagnostic techniques for a host of model types, including Generalised Least Squared (GLS), GLMMs and Generalized Additive Mixed Effects Models.

Overdispersionterm Models with a Gaussian (Normal) error structure do not require adjustment for overdispersionterm, as Gaussian models do not assume a specific mean-variance relationship. For generalized mixed models (GLMMs), however (e.g. Poisson, Binomial), the variance of the data can be greater than predicted by the error structure of the model ( Hilbe, 2011 ). Overdispersionterm can be caused by several processes influencing data, including zero-inflation, aggregation (non-independence) among counts, or both ( Zuur et al., 2009 ). The presence of overdispersionterm in a model suggests it is a bad fit, and standard errorsterm of estimates will likely be biased unless overdispersionterm is accounted for ( HarrisonpersName, 2014 ). The use of canonical binomial and Poisson error structures, when residuals are overdispersed, tends to result in Type I errors because standard errorsterm are underestimated. Adding an observation-level random effectterm (OLRE) to overdispersed Poisson or Binomial models can model the overdispersionterm and give more accurate estimates of standard errorsterm ( HarrisonpersName, 2014 , 2015 ). However, OLRE models may yield inferior fit and/or biased parameter estimatesterm compared to models using compound probability distributions such as the Negative-Binomial for count data ( Hilbe, 2011 ; HarrisonpersName, 2014 ) or Beta-Binomial for proportion data ( HarrisonpersName, 2015 ), and so it is good practice to assess the relative fit of both types of model using AICterm before proceeding ( Zuur et al., 2009 ). Researchers very rarely report the overdispersion statisticterm·var (but see Elston et al., 2001 ), and it should be made a matter of routine. See “Assessing Model Fitterm Through Simulationterm” Section for advice on how to quantify and model overdispersionterm. Note that models can also be underdispersed ( less variance than expected/predicted by the model, but the tools for dealing with underdispersion are less well developed ( Zuur et al., 2009 ). The spaMM package ( Rousset & Ferdy, 2014 ) can fit models that can handle both overdispersionterm and underdispersion.

Further reading: Crawley (2013 , pp. 580–581) gives an elegant demonstration of how failing to account for overdispersionterm leads to artificially small standard errorsterm and spurious significance of variables. HarrisonpersName (2014) quantifies the ability of OLRE to cope with overdispersionterm in Poisson models. HarrisonpersName (2015) compares Beta-Binomial and OLRE models for overdispersed proportion data.

R 2term In a linear modelling context, R 2term gives a measure of the proportion of explained varianceterm in the model, and is an intuitive metric for assessing model fitterm. Unfortunately, the issue of calculating R 2term for (G)LMMsterm·mth is particularly contentious; whereas residual variance can easily be estimated for a simple linear model with no random effectsterm·mth and a Normal error structure, this is not the case for (G)LMMSterm·mth. In fact, two issues exist with generalising R 2term measures to (G)LMMsterm·mth: (i) for generalised models containing non-Normal error structures, it is not clear how to calculate the residual variance term on which the R 2term term is dependent; and (ii) for mixed effects models, which are hierarchical in nature and contain error (unexplained variance) at each of these levels, it is uncertain which level to use to calculate a residual error term ( Nakagawa & Schielzeth, 2013 ). Diverse methods have been proposed to account for this in GLMMs, including multiple so-called ‘pseudo- r 2term ’ measures of explained variance ( Nagelkerke, 1991 ; Cox & Snell, 1989 ), but their performance is often unstable for mixed models and can return negative values ( Nakagawa & Schielzeth, 2013 ). Gelman & Pardoe (2006) derived a measure of R 2term that accounts for the hierarchical nature of LMMsterm·mth and gives a measure for both group and unit level regressions (see also Gelman & Hill, 2007 , p. 474), but it was developed for a Bayesian framework and a frequentist analogue does not appear to be widely implemented. The method that has gained the most support over recent years is that of Nakagawa & Schielzeth (2013) .

The strength of the Nakagawa & Schielzeth (2013) method for GLMMs is that it returns two complementary R 2term values: the marginal R 2term encompassing variance explained by only the fixed effectsterm·mth, and the conditional R 2term comprising variance explained by both fixed and random effectsterm·mth i.e. the variance explained by the whole model ( Nakagawa & Schielzeth, 2013 ). Ideally, both should be reported in publications as they provide different information; which one is more ‘useful’ may depend on the rationale for specifying random effectsterm·mth in the first instance. Recently, Nakagawa, Johnson & Schielzeth (2017) expanded their R 2term method to handle models with compound probability distributions like the Negative Binomial error family. Note that when OLREs are included (see ‘Overdispersionterm’ section above), the conditional R 2term becomes less useful as a measure of explained variance because it includes the extra-parametric dispersion being modelled, but has no predictive power ( HarrisonpersName, 2014 ).

Further reading: Nakagawa & Schielzeth (2013) provide an excellent and accessible description of the problems with, and solutions to, generalising R 2term metrics to GLMMs. The Nakagawa & Schielzeth (2013) R 2term functions have been incorporated into several packages, including ‘MuMIn’ ( Bartoń, 2016 ) and ‘piecewiseSEM’ ( Lefcheck, 2015 ), and Johnson (2014) has developed an extension of the functions for random slopeterm·var models. See HarrisonpersName (2014) for a cautionary tale of how the GLMM R 2term functions are artificially inflated for overdispersed models.

Stability of variance components and testing significance of random effectsterm·mth When models are too complex relative to the amount of data available, GLMM variance estimates can collapse to zero (they cannot be negative, not to be confused with co variance estimates which can be negative). This is not a problem per se, but it’s important to acknowledge that in this case the model is equivalent to a standard GLM. Reducing model complexity by removing interactions will often allow random effectsterm·mth variance component estimates to become >0, but this is problematic if quantifying the interaction is the primary goal of the study. REML (restricted/residual maximum likelihood) should be used for estimating variance components of random effectsterm·mth in Gaussian models as it produces less biased estimates compared to maximum likelihood (ML) ( Bolker et al., 2009 ). However, when comparing two models with the same random structure but different fixed effectsterm·mth, ML estimation cannot easily be avoided. The RLRsim package ( Scheipl & Bolker, 2016 ) can be used to calculate restricted LTRs for variance components in mixed and additive models. Crucially, when testing the significance of a variance component we are ‘testing on the boundary’ ( Bolker et al., 2009 ). That is the null hypothesis for random effectsterm·mth (σ = 0) is at the boundary of its possible range (it has to be ≥0), meaning p -values from a LRT are inaccurate. Dividing p values by two for tests of single variance components provides an approximation to remedy this problem ( Verbenke & Molenberghs, 2000 ).

Finally, estimating degrees of freedom for tests of random effectsterm·mth is difficult, as a random effectterm·mth can theoretically use anywhere between 1 and N − 1 d f (where N is the number of random-effect levels) ( Bolker et al., 2009 ). Adequate F and P values can be calculated using Satterthwaite or Kenward–Roger approximations to determine denominator degrees of freedom, the former being implemented in the package ‘lmerTest’ ( Kuznetsova, Brockhoff & Christensen, 2014 , see further details in section Model Selectionterm and Multi-Model Inferenceterm below).

Assessing model fitterm through simulationterm Simulationterm is a powerful tool for assessing model fitterm ( Gelman & Hill, 2007 ; Kéry, 2010 ; Zuur & Ieno, 2016 ), but is rarely used. The premise here is simple: when simulating a response variable from a given set of parameter estimates (a model), the fit of the model to those simulated ‘ideal’ response data should be comparable to the model’s fit to the real response variable ( Kéry, 2010 ). Each iteration yields a simulated dataset that allows calculation of a statistic of interest such as the sum of squared residuals ( Kéry, 2010 ), the overdispersion statisticterm·var ( HarrisonpersName, 2014 ) or the percentage of zeroes for a Poisson model ( Zuur & Ieno, 2016 ). If the model is a good fit, after a sufficiently large number of iterations (e.g. 10,000) the distribution of this statistic should encompass the observed statistic in the real data. Significant deviations outside of that distribution indicate the model is a poor fit ( Kéry, 2010 ). Figure 3 shows an example of using simulationterm to assess the fit of a Poisson GLMM. After fitting a GLMM to count data, we may wish to check for overdispersionterm and/or zero-inflation, the presence of which might suggest we need to adjust our modelling strategy. Simulating 10,000 datasets from our model reveals that the proportion of zeroes in our real data is comparable to simulated expectation ( Fig. 3A ). Conversely, simulating 1,000 datasets and refitting our model to each dataset, we see that the sum of the squared Pearson residuals for the real data is far larger than simulated expectation ( Fig. 3B ), giving evidence of overdispersionterm ( HarrisonpersName, 2014 ). We can use the simulated frequency distribution of this test statistic to derive a mean and 95% confidence interval for the overdispersionterm by calculating the ratio of our test statistic to the simulated values ( HarrisonpersName, 2014 ). The dispersion statistic for our model is 3.16 (95% CI [2.77–3.59]). Thus, simulationsterm have allowed us to conclude that our model is overdispersed, but that this overdispersionterm is not due to zero-inflation. All R code for reproducing these simulationsterm is provided in the Figshare: DOI 10.6084/m9.figshare.5173396 .

Using Simulationterm to Assess Model Fitterm for GLMMs. (A) Histogram of the proportion of zeroes in 10,000 datasets simulated from a Poisson GLMM. Vertical red line shows the proportion of zeroes in our real dataset. There is no strong evidence of zero-inflation for these data. (B) Histogram of the sum of squared Pearson residuals for 1,000 parametric bootstraps where the Poisson GLMM has been re-fitted to the data at each step. Vertical red line shows the test statistic for the original model, which lies well outside the simulated frequency distribution. The ratio of the real statistic to the simulated data can be used to calculate a mean dispersion statistic and 95% confidence intervals, which for these data is mean 3.16, (95% CI [2.77–3.59]). Simulating from models provides a simple yet powerful set of tools for assessing model fitterm and robustness.

Further reading: The R package ‘ SQuiD’ ( Allegue et al., 2017 ) provides a highly flexible simulationterm tool for learning about, and exploring the performance of, GLMMs. Rykiel (1996) discusses the need for validation of models in ecology.

Dealing with missing dataterm When collecting ecological data it is often not possible to measure all of the predictors of interest for every measurement of the dependant variable. Such missing dataterm are a common feature of ecological datasets, however the impacts of this have seldom been considered in the literature ( Nakagawa & Freckleton, 2011 ). Incomplete rows of data in dataframes i.e. those missing predictor and/or response variables are often dealt with by deletingterm or ignoring those rows of data entirely when modelling ( Nakagawa & Freckleton, 2008 ), although this may result in biased parameter estimatesterm and, depending on the mechanism underlying the missing dataterm, reduces statistical power ( Nakagawa & Freckleton, 2008 ). Nakagawa & Freckleton (2011) recommend multiple imputationterm (MI) as a mechanism for handling non-informative missing dataterm, and highlight the ability of this technique for more accurate estimates, particularly for IT/AICterm approaches.

Further reading: See Nakagawa & Freckleton (2008) for a reviewterm·mth on the risks of ignoring incomplete data. Nakagawa & Freckleton (2011) demonstrate the effects of missing dataterm during model selectionterm procedures, and provide an overview of R packages available for MI. Nakagawa (2015) and Noble & Nakagawa (2017) discuss methods for dealing with missing dataterm in ecological statistics.

Model Selectionterm and Multi-Model Inferenceterm Model selectionterm seeks to optimise the trade-off between the fit of a model given the data and that model’s complexity. Given that the researcher has a robust global modelterm·mth that satisfies standard assumptions of error structure and hierarchical independence, several methods of model selectionterm are available, each of which maximises the fit-complexity trade off in a different way ( Johnson & Omland, 2004 ). We discuss the relative merits of each approach briefly here, before expanding on the use of information-theoryterm·mth and multi-model inferenceterm in ecology. We note that these discussions are not meant to be exhaustive comparisons, and we encourage the reader to delve into the references provided for a comprehensive picture of the arguments for and against each approach.

Stepwise selection, LRTs and p values A common approach to model selectionterm is the comparison of a candidate model containing a term of interest to the corresponding ‘null’ model lacking that term, using a p value from a LRT, referred to as null-hypothesis significance testing (NHSTterm·mth; Nickerson, 2000 ). Stepwise deletionterm is a model selectionterm technique that drops terms sequentially from the global modelterm·mth to arrive at a ‘minimal adequate model’ (MAM). Evaluating whether a term should be dropped or not can be done using NHSTterm·mth to arrive at a model containing only significant predictors (see Crawley, 2013 ), or using IT to yield a model containing only terms that cause large increases in information criterion score when removed. Stepwise selection using NHSTterm·mth is by far the most common variant of this approach, and so we focus on this method here.

Stepwise deletionterm procedures have come under heavy criticism; they can overestimate the effect size of significant predictors ( Whittingham et al., 2006 ; Forstmeier & Schielzeth, 2011 ; Burnham, Anderson & Huyvaert, 2011 ) and force the researcher to focus on a single best model as if it were the only combination of predictors with support in the data. Although we strive for simplicity and parsimony, this assumption is not always reasonable in complex ecological systems ( Burnham, Anderson & Huyvaert, 2011 ). It is common to present the MAM as if it arose from a single a priori hypothesisterm, when in fact arriving at the MAM required multiple significance tests ( Whittingham et al., 2006 ; Forstmeier & Schielzeth, 2011 ). This cryptic multiple testingterm can lead to hugely inflated Type I errors ( Forstmeier & Schielzeth, 2011 ). Perhaps most importantly, LRT can be unreliable for fixed effectsterm·mth in GLMMs unless both total sample size and replication of the random effectterm·mth terms is high (see Bolker et al., 2009 and references therein), conditions which are often not satisfied for most ecological datasets. Because stepwise deletionterm can cause biased effect sizes, presenting means and SEs of parameters from the global modelterm·mth should be more robust, especially when the n/kterm ratio is low ( Forstmeier & Schielzeth, 2011 ). Performing ‘full model tests’ (comparing the global modelterm·mth to an intercept only model) before investigating single-predictor effects controls the Type I error rateterm ( Forstmeier & Schielzeth, 2011 ). Reporting the full model also helps reduce publication bias towards strong effects, providing future meta-analyses with estimates of both significant and non-significant effects ( Forstmeier & Schielzeth, 2011 ). Global modelterm·mth reporting should not replace other model selectionterm methods, but provides a robust measure of how likely significant effects are to arise by sampling variation alone.

Further reading: See Murtaugh (2009) , and Murtaugh’s (2014) excellent ‘in Defense of p values’, as well as the other papers on the topic in the same special issue of Ecology. Stephens et al. (2005) & Mundry (2011) argue the case for NHSTterm·mth under certain circumstances such as well-designed experiments. Halsey et al. (2015) discuss the wider issues of the reliability of p values relative to sample size.

Information-theoryterm·mth and multi-model inferenceterm Unlike NHSTterm·mth, which leads to a focus on a single best model, model selectionterm using IT approaches allows the degree of support in the data for several competing models to be ranked using metrics such as AICterm. Information criteria attempt to quantify the Kullback–Leibler distanceterm (KLD), a measure of the relative amount of information lost when a given model approximates the true data-generating process. Thus, relative difference among models in AICterm should be representative in relative differences in KLD, and the model with the lowest AICterm should lose the least information and be the best model in that it optimises the trade-off between fit and complexity ( Richards, 2008 ). A key strength of the IT approach is that it accounts for ‘model selectionterm uncertainty’, the idea that several competing models may all fit the data similarly well ( Burnham & Anderson, 2002 ; Burnham, Anderson & Huyvaert, 2011 ). This is particularly useful when competing models share equal ‘complexity’ (i.e. number of predictors, or number of residual degrees of freedom): in such situations, NHSTterm·mth is impossible because NHSTterm·mth requires a simpler (nestedterm) model for comparison. Where several models have similar support in the data, inference can be made from all models using model-averaging ( Burnham & Anderson, 2002 ; Johnson & Omland, 2004 ; Grueber et al., 2011 ). Model averagingterm incorporates uncertainty by weighting the parameter estimate of a model by that model’s Akaike weightterm (often referred to as the probability of that model being the best Kullback–Leibler model given the data, but see Richards, 2005 ). Multi-model inferenceterm places a strong emphasis on a priori formulation of hypotheses ( Burnham & Anderson, 2002 ; Dochtermann & Jenkins, 2011 ; Lindberg, Schmidt & Walker, 2015 ), and model-averaged parameter estimates arising from multi-model inferenceterm are thought to lead to more robust conclusionsterm about the biological systems compared to NHSTterm·mth ( Johnson & Omland, 2004 , but see Richards, Whittingham & Stephens, 2011 ). These strengths over NHSTterm·mth have meant that the use of IT approaches in ecology and evolution has grown rapidly in recent years ( Lindberg, Schmidt & Walker, 2015 ; Barker & Link, 2015 ; Cade, 2015 ). We do not expand on the specific details of the difference between NHSTterm·mth and IT here, but point the reader to some excellent references on the topic. Instead, we use this section to highlight recent empirical developments in the best practice methods for the application of IT in ecology and evolution.

Further reading: Grueber et al. (2011) and Symonds & Moussalli (2011) give a broad overview of multi-model inferenceterm in ecology, and provide a worked model selectionterm exercise. Hegyi & Garamszegi (2011) provide a detailed comparison of IT and NHSTterm·mth approaches. Burnham, Anderson & Huyvaert (2011) demonstrate how AICterm approximates Kullback–Leibler information and provide some excellent guides for the best practice of applying IT methods to biological datasets. Vaida & Blanchard (2005) provide details on how AICterm should be implemented for the analysis of clustered data.

Practical Issues with Applying Information Theoryterm·mth to Biological Dataterm Using all-subsets selectionterm All-Subsets selectionterm is the act of fitting a global modelterm·mth, often containing every possible interaction, and then fitting every possible nestedterm model. On the surface, all-subsets might appear to be a convenient and fast way of ‘uncovering’ the causal relationships in the data. All-subsets selectionterm of enormous global modelsterm·mth containing large numbers of predictors and their interactions makes analyses extremely prone to including uninformative parameters and ‘overfitted’ models. Burnham & Anderson (2002) caution strongly against all-subsets selectionterm, and instead advocate ‘hard thinking’ about the hypotheses underlying the data. If adopting an all subsets approach, it is worth noting the number of models to consider increases exponentially with the number of predictors, where five predictors require 2 5 (32) models to be fitted, whilst 10 predictors requires 1,024 models, both without including any interactions but including the null model.

Global modelsterm·mth should not contain huge numbers of variables and interactions without prior thought about what the models represent for a study system. In cases where all-subsets selectionterm from a global modelterm·mth is performed, it is important to view these model selectionterm exercises as exploratory ( Symonds & Moussalli, 2011 ), and hold some data back from these exploratory analyses to be used for cross-validationterm with the top model(s) (see Dochtermann & Jenkins, 2011 and references therein). Here, 90% of the data can be used to fit the model(s), with the remaining 10% used for confirmatory analysis to quantify how well the model(s) perform for prediction ( Zuur & Ieno, 2016 ). Such an approach requires a huge amount of data ( Dochtermann & Jenkins, 2011 ), but cross-validationterm to validate a model’s predictive ability is rare and should result in more robust inference (see also Fieberg & Johnson, 2015 ).

Therefore, best practice is to consider only a handful of hypotheses and then build a single statistical model to reflect each hypothesis. This makes inference easier because the resulting top model set will likely contain fewer parameters, and certainly fewer uninformative parameters ( Burnham & Anderson, 2002 ; Arnold, 2010 ). However, we argue all subsets selectionterm may be sensible in a limited number of circumstances when testing causal relationships between explanatory variables and the response variable. For example, if the most complex model contains two main effects and their interaction, performing all subsets selectionterm on that model is identical to building the five competing models (including the null model) nestedterm in the global modelterm·mth, all of which may be considered likely to be supported by the data. A small number of models built to reflect well-reasoned hypotheses are only valid if the predictors therein are not collinear (see Collinearityterm section above). All-subsets selectionterm using the R package MuMIn ( Bartoń, 2016 ) will not automatically check for collinearityterm, and so the onus falls on the researcher to be thorough in checking for such problems.

Deciding which information criterion to use Several information criteria are available to rank competing models, but their calculations differ subtly. Commonly applied criteria include AICterm, the small sample size correction of AICterm for when n/kterm <40 (AICc), and the Bayesian Information Criterion (BIC). Quasi-AIC (QAICterm) is an adjustment to AICterm·mth that accounts for overdispersionterm, and should be used when overdispersionterm has been identified in a model (see Overdispersionterm section above). Note QAICterm is not required if the overdispersionterm in the dataset has been modelled using zero-inflated models, OLREs, or compound probability distributions. Bolker et al. (2009) and Grueber et al. (2011) provide details of how to calculate these criteria.

Akaike’s Information Criterion maximises the fit/complexity trade-off of a model by balancing the model fitterm with the number of estimated parameters. AICc and BIC both penalise the IC score based on total sample size n , but the degree of penalty for AICc is less severe than BIC for moderate sample sizes, and more severe for very low sample size ( Brewer, Butler & Cooksley, 2016 ). Whilst AICterm tend to select overly complex models, Burnham & Anderson (2002) criticised BIC for selecting overly simplistic models (underfitting). BIC is also criticised because it operates on the assumption that the true model is in the model set under consideration, whereas in ecological studies this is unlikely to be true ( Burnham & Anderson, 2002 , 2004 ). Issues exist with both AICterm and BIC in a GLMM context for estimating the number of parameters for a random effectterm·mth ( Bolker et al., 2009 ; Grueber et al., 2011 ), and although degrees of freedom corrections to remedy this problem exist it is not always clear what method is being employed by software packages (see Bolker et al., 2009 Box 3). Brewer, Butler & Cooksley (2016) show how the optimality of AICterm, AICc and BIC for prediction changes with both sample size and effect size of predictors (see also Burnham & Anderson, 2004 ). Therefore, the choice between the two metrics is not straightforward, and may depend on the goal of the study i.e. model selectionterm vs prediction, see Grueber et al. (2011) Box 1.

Choice of ΔAICterm threshold Once all models have been ranked by an information criterion, it is common practice to identify a ‘top model set’ containing all models assumed to have comparable support in the data, normally based on the change in AICterm values relative to the best AICterm model (ΔAICterm). Historically, Burnham & Anderson (2002) recommended that only models with ΔAICterm between 0 and 2 should be used for inference, but subsequent work has shown that for some models a much higher ΔAICterm cut off is required to give a 95% probability of including the best (expected) Kullback–Leibler Distanceterm model in the top model set ( Richards, 2008 ; see also Burnham, Anderson & Huyvaert, 2011 ). An alternative approach to using ΔAICterm cut offs is to include all models within a cumulative Akaike weightterm of ≥0.95 from the top model in the ‘95% confidence set’ ( Burnham & Anderson, 2002 ; Symonds & Moussalli, 2011 ). Using high cut-offs is not encouraged, to avoid overly complex model sets containing uninformative predictors ( Richards, 2008 ; Grueber et al., 2011 ) but deciding on how many is too many remains a contentious issue ( Grueber et al., 2011 ). We suggest Δ6 as a minimum following Richards (2005 , 2008) .

Using the nesting ruleterm to improve inference from the top model set It is well known that AICterm tends towards overly complex models (‘overfitting’, Burnham & Anderson, 2002 ). As AICterm only adds a two point penalty to a model for inclusion of a new term, Arnold (2010) demonstrated that adding a nuisance (completely random) predictor to a well-fitting model leads to a ΔAICterm value of the new model of ∼2, therefore appearing to warrant inclusion in the top model set (see section above). Therefore, inference can be greatly improved by eliminating models from the top model set that are more complex versions of nestedterm models with better AICterm support, known as the nesting ruleterm ( Richards, 2005 , 2008 ; Richards, Whittingham & Stephens, 2011 ). Doing so greatly reduces the number of models to be used for inference, and improves parameter accuracyterm ( Arnold, 2010 ; Richards, 2008 ). Symonds & Moussalli (2011) caution that its applicability has not yet been widely assessed over a range of circumstances, but the theory behind its application is sound and intuitive ( Arnold, 2010 ).

Using akaike weightsterm to quantify variable importance With a top model set in hand, it is common practice to use the summed Akaike weightsterm of every model in that set in which a predictor of interest occurs as a measure of ‘variable importance’ ( Grueber et al., 2011 ). Recent work has demonstrated that this approach is flawed because Akaike weightsterm are interpreted as relative model probabilities, and give no information about the importance of individual predictors in a model ( Cade, 2015 ), and fail to distinguish between variables with weak or strong effects ( Galipaud et al., 2014 ; Galipaud, Gillingham & Dechaume-Moncharmont, 2017 ). The sum of Akaike weightsterm as a measure of variable importance may at best be a measure of how likely a variable would be included in the top model set after repeated sampling of the data ( Burnham & Anderson, 2002 ; Cade, 2015 , but see Galipaud, Gillingham & Dechaume-Moncharmont, 2017 ). A better measure of variable importance would be to compare standardised effect sizesterm·var ( Schielzeth, 2010 ; Cade, 2015 ). However, summed Akaike weightsterm for variables in top model sets still represent useful quantitative evidence ( Giam & Olden, 2016 ); they should be reported in model summary tables, and ideally interpreted in tandem with model averaged effect sizes for individual parameters.

Model averagingterm when predictors are collinear The aim of model averagingterm is to incorporate the uncertainty in the size and presence of effects among a set of candidate models with similar support in the data. Model averagingterm using Akaike weightsterm proceeds on the assumption that predictors are on common scales across models and are therefore comparable. Unfortunately, the nature of multiple regression means that the scale and sign of coefficients will change across models depending on the presence or absence of other variables in a focal model ( Cade, 2015 ). The issue of predictor scaling changing across models is particularly exacerbated when predictors are collinear, even when VIF values are low ( Burnham & Anderson, 2002 ; Lukacs, Burnham & Anderson, 2010 ; Cade, 2015 ). Cade (2015) recommends standardising model parameters based on partial standard deviations to ensure predictors are on common scales across models prior to model averagingterm (details in Cade, 2015 ). We stress again the need to assess multicollinearity among predictors in multiple regression modelling before fitting models ( Zuur & Ieno, 2016 ) and before model-averaging coefficients from those models ( Lukacs, Burnham & Anderson, 2010 ; Cade, 2015 ).

Conclusion We hope this article will act as both a guide, and as a gateway to further reading, for both new researchers and those wishing to update their portfolio of analytic techniques. Here we distil our message into a bulleted list.

Modern mixed effect models offer an unprecedented opportunity to explore complex biological problems by explicitly modelling non-Normal data structures and/or non-independence among observational units. However, the LMMterm·mth and GLMM toolset should be used with caution.

Rigorous testing of both model fitterm ( R 2term ) and model adequacyterm (violation of assumptions like homogeneity of variance) must be carried out. We must recognise that satisfactory fit does not guarantee we have not violated the assumptions of LMMterm·mth, and vice versa. Interpret measures of R 2term for (G)LMMsterm·mth with hierarchical errors cautiously, especially when OLRE are used.

Collinearityterm among predictors is difficult to deal with and can severely impair model accuracy. Be especially vigilant if data are from field surveys rather than controlled experiments, as collinearityterm is likely to be present.

When including a large number of predictors is necessary, backwards selection and NHSTterm·mth should be avoided, and ranking via AICterm of all competing models is preferred. A critical question that remains to be addressed is whether model selectionterm based on IT is superior to NHSTterm·mth even in cases of balanced experimental designs with few predictors.

Data simulationterm is a powerful but underused tool. If the analyst harbours any uncertainty regarding the fit or adequacy of the model structure, then the analysis of data simulated to recreate the perceived structure of the favoured model can provide reassurance, or justify doubt.

Wherever possible, provide diagnostic assessment of model adequacyterm, and metrics of model fitterm, even if in the supplemental information.

Acknowledgments This paper is the result of a University of Exeter workshop on best practice for the application of mixed effects models and model selectionterm in ecological studies.

Funding Statement Xavier A. HarrisonpersName was funded by an Institute of Zoology Research Fellowship. David FisherpersName was funded by NERC studentship NE/H02249X/1. Lynda DonaldsonpersName was funded by NERC studentship NE/L501669/1. Beth S. RobinsonpersName was funded by the University of Exeter and the Animal and Plant Health Agency as part of ‘Wildlife Research Co-Operative’. Maria Correa-CanopersName was funded by CONACYT (The Mexican National Council for Science and Technology) and SEP (The Mexican Ministry of Education). Cecily GoodwinpersName was funded by the Forestry Commission and NERC studentship NE/L501669/1. The funders had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript.

Additional Information and Declarations Competing Interests Author Contributions Data Availability References Associated Data Data Availability Statement The following information was supplied regarding data availability: Figshare: DOI 10.6084/m9.figshare.5173396 .

Interpretive notes.
• Highlighted spans are tagged entities: persName (author), title (venue), placeName (place), date (year), and term (a key concept: domain / ai / method).
• Eponymous or retrospective terms (e.g. “Nash equilibrium”, “segregation”) do not appear in the original source and so are not highlighted — a deliberate choice (see Report 4).
• Some entries begin with a word in capitals. EVIDENCE CORRECTED means the finding still stands and it was our quotation that was wrong — it has been replaced. RETRACTED means the entry itself was wrong; it stays on the page, marked, with its reason, rather than being deleted. WITHDRAWN AND REPLACED means a corrected version of it appears in the entries below. Each mark carries its own reason, because the reasons differ from one entry to the next. An entry we have WITHDRAWN is removed from this page and kept in the record, with its reason. A line reading Audit and a date is a later re-reading of the entry against its whole sentence: DOUBTFUL means it was kept, and the reason says what is loose about it.
• Quotation marks inside the tagger's sentence. Where a tag is the tagger's own sentence, a phrase in quotation marks inside it is borrowed from the paper — the tagger's wording around it is not. The paper's own sentence is the evidence quote shown on the same row, so the borrowing can be checked against the thing borrowed from without leaving this page. Nothing inside quotation marks anywhere on this page is ours: if it is quoted, it is the paper's. Whose words a concept carries. A concept entry records a term the paper itself uses, so the term, the sense given for it, and its evidence are the paper's own words, quoted where the paper fixes them. This is the opposite of a sense entry in the tag table, which is the tagger's sentence about how the paper uses a term. Where a concept entry could not be grounded in the paper's words, the entry says so on its own row.
• Counts: 1 work · 1 date.
Meta-Tagging Project · record harrison2018-mixed-effects-modelling-ecology.
© 2026 Shir Sivroni