Generalized Additive Models(GAMs)are widely employed in ecological research,serving as a powerful tool for ecologists to explore complex nonlinear relationships between a response variable and predictors.Nevertheless,...Generalized Additive Models(GAMs)are widely employed in ecological research,serving as a powerful tool for ecologists to explore complex nonlinear relationships between a response variable and predictors.Nevertheless,evaluating the relative importance of predictors with concurvity(analogous to collinearity)on response variables in GAMs remains a challenge.To address this challenge,we developed an R package named gam.hp.gam.hp calculates individual R^(2) values for predictors,based on the concept of'average shared variance',a method previously introduced for multiple regression and canonical analyses.Through these individual R^(2)s,which add up to the overall R^(2),researchers can evaluate the relative importance of each predictor within GAMs.We illustrate the utility of the gam.hp package by evaluating the relative importance of emission sources and meteorological factors in explaining ozone concentration variability in air quality data from London,UK.We believe that the gam.hp package will improve the interpretation of results obtained from GAMs.展开更多
基金supported by the National Natural Science Foundation of China (32271551)National Key Research and Development Program of China (2023YFF0805803)the Metasequoia funding of Nanjing Forestry University。
文摘Generalized Additive Models(GAMs)are widely employed in ecological research,serving as a powerful tool for ecologists to explore complex nonlinear relationships between a response variable and predictors.Nevertheless,evaluating the relative importance of predictors with concurvity(analogous to collinearity)on response variables in GAMs remains a challenge.To address this challenge,we developed an R package named gam.hp.gam.hp calculates individual R^(2) values for predictors,based on the concept of'average shared variance',a method previously introduced for multiple regression and canonical analyses.Through these individual R^(2)s,which add up to the overall R^(2),researchers can evaluate the relative importance of each predictor within GAMs.We illustrate the utility of the gam.hp package by evaluating the relative importance of emission sources and meteorological factors in explaining ozone concentration variability in air quality data from London,UK.We believe that the gam.hp package will improve the interpretation of results obtained from GAMs.