Please use this identifier to cite or link to this item:
Title: A simple function for full-subsets multiple regression in ecology with R
Authors: Fisher, R
Wilson, S.K
Sin, T.M 
Lee, A.C 
Langlois, T.J
Issue Date: 2018
Citation: Fisher, R, Wilson, S.K, Sin, T.M, Lee, A.C, Langlois, T.J (2018). A simple function for full-subsets multiple regression in ecology with R. Ecology and Evolution 8 (12) : 6104-6113. ScholarBank@NUS Repository.
Rights: Attribution 4.0 International
Abstract: Full-subsets information theoretic approaches are becoming an increasingly popular tool for exploring predictive power and variable importance where a wide range of candidate predictors are being considered. Here, we describe a simple function in the statistical programming language R that can be used to construct, fit, and compare a complete model set of possible ecological or environmental predictors, given a response variable of interest and a starting generalized additive (mixed) model fit. Main advantages include not requiring a complete model to be fit as the starting point for candidate model set construction (meaning that a greater number of predictors can potentially be explored than might be available through functions such as dredge); model sets that include interactions between factors and continuous nonlinear predictors; and automatic removal of models with correlated predictors (based on a user defined criterion for exclusion). The function takes continuous predictors, which are fitted using smoothers via either gam, gamm (mgcv) or gamm4, as well as factor variables which are included on their own or as two-level interaction terms within the gam smooth (via use of the “by” argument), or with themselves. The function allows any model to be constructed and used as a null model, and takes a range of arguments that allow control over the model set being constructed, including specifying cyclic and linear continuous predictors, specification of the smoothing algorithm used, and the maximum complexity allowed for smooth terms. The use of the function is demonstrated via case studies that highlight how appropriate model sets can be easily constructed and the broader utility of the approach for exploratory ecology. © 2018 The Authors. Ecology and Evolution published by John Wiley & Sons Ltd.
Source Title: Ecology and Evolution
ISSN: 20457758
DOI: 10.1002/ece3.4134
Rights: Attribution 4.0 International
Appears in Collections:Staff Publications

Show full item record
Files in This Item:
File Description SizeFormatAccess SettingsVersion 
10_1002_ece3_4134.pdf612.73 kBAdobe PDF




checked on Dec 6, 2021


checked on Oct 5, 2021

Page view(s)

checked on Dec 2, 2021

Google ScholarTM



This item is licensed under a Creative Commons License Creative Commons