Tools for univariate and multivariate generalized linear models with model averaging and null model technique (Nakamura et al. 2015).
The package provides functions to estimate the relative importance of predictor variables in univariate and multivariate generalized linear models. The relative importance predictor variables is calculated by summing the Akaike weights of all models in which that predictor variable is included (Burnham & Anderson, 2002). The sum of the Akaike weights indicates the importance of a variable in explaining variation in a given dataset, relative to other predictor variables included in the analysis. The significance of each predictor variable can be assessed by the null model approach.
The key functions in this package are the following.
maglm
Model averaging for GLM based on information theory.mamglm
Model averaging for multivariate GLM based on information theory.ses.maglm
Standardized effect size of relative importance values for * model averaging GLM.ses.mamglm
Standardized effect size of relative importance values for model averaging mutlivariate GLM.
From within R (>= 3.0.0), you can install:
-
the latest version of mglmn from CRAN with
install.packages(“mglmn”)
-
the latest development version from github with
# install.packages("devtools") devtools::install_github("mattocci27/mglmn")
Burnham, K.P. & Anderson, D.R. (2002) Model selection and multi-model inference: a practical information-theoretic approach. Springer Verlag, New York.
Nakamura, A., C. J. Burwell, C. L. Lambkin, M. Katabuchi, A. McDougall, R. J. Raven, and V. J. Neldner. (2015) The role of human disturbance in island biogeography of arthropods and plants: an information theoretic approach. Journal of Biogeography 42:1406-1417.