
Last chance! 50% off unlimited learning
Sale ends in
Dominance analysis for OLS (univariate and multivariate), GLM and LMM models
dominanceAnalysis(
x,
constants = c(),
terms = NULL,
fit.functions = "default",
newdata = NULL,
null.model = NULL,
...
)
fitted model (lm, glm, betareg), lmWithCov or mlmWithCov object
vector of predictors to remain unchanged between models
vector of terms to be analyzed. By default, obtained from the model
Name of the method used to provide fit indices
optional data.frame, that update data used on original model
for mixed models, null model against to test the submodels
Other arguments provided to lm or lmer (not implemented yet)
Vector of predictors.
Vector of constant variables.
Vector of terms to be analyzed.
Vector of fit indices names.
List with raw fits indices. See daRawResults
.
List of mean contribution of each predictor by level for each fit index. Each element is a data.frame, with levels as rows and predictors as columns, for each fit index.
List with mean contribution of each predictor for all levels. These values are obtained for every fit index considered in the analysis. Each element is a vector of mean contributions for a given fit index.
Matrix for complete dominance.
Matrix for conditional dominance.
Matrix for general dominance.
Budescu (1993) developed a clear and intuitive definition of importance in regression models, that states that a predictor's importance reflects its contribution in the prediction of the criterion and that one predictor is 'more important than another' if it contributes more to the prediction of the criterion than does its competitor at a given level of analysis.
The original paper (Bodescu, 1993) defines that variable
To obtain the fit-indices for each model, a function called da.<model>.fit
is executed. For example, for a lm model, function da.lm.fit
provides
Provides da.lm.fit
Provides four fit indices recommended by Azen & Traxel (2009): Cox and Snell(1989), McFadden (1974), Nagelkerke (1991), and Estrella (1998). See da.glm.fit
Provides four fit indices recommended by Lou & Azen (2012). See da.lmerMod.fit
Provides lmWithCov
to create the model and da.lmWithCov.fit
for the fit index function.
Provides both mlmWithCov
to create the model and da.mlmWithCov.fit
for the fit index function
Provides da.dynlm.fit
Provides pseudo-
Azen, R., & Budescu, D. V. (2003). The dominance analysis approach for comparing predictors in multiple regression. Psychological Methods, 8(2), 129-148. doi:10.1037/1082-989X.8.2.129
Azen, R., & Budescu, D. V. (2006). Comparing Predictors in Multivariate Regression Models: An Extension of Dominance Analysis. Journal of Educational and Behavioral Statistics, 31(2), 157-180. doi:10.3102/10769986031002157
Azen, R., & Traxel, N. (2009). Using Dominance Analysis to Determine Predictor Importance in Logistic Regression. Journal of Educational and Behavioral Statistics, 34(3), 319-347. doi:10.3102/1076998609332754
Budescu, D. V. (1993). Dominance analysis: A new approach to the problem of relative importance of predictors in multiple regression. Psychological Bulletin, 114(3), 542-551. doi:10.1037/0033-2909.114.3.542
Luo, W., & Azen, R. (2012). Determining Predictor Importance in Hierarchical Linear Models Using Dominance Analysis. Journal of Educational and Behavioral Statistics, 38(1), 3-31. doi:10.3102/1076998612458319
# NOT RUN {
data(longley)
lm.1<-lm(Employed~.,longley)
da<-dominanceAnalysis(lm.1)
print(da)
summary(da)
plot(da,which.graph='complete')
plot(da,which.graph='conditional')
plot(da,which.graph='general')
# Maintaining year as a constant on all submodels
da.no.year<-dominanceAnalysis(lm.1,constants='Year')
print(da.no.year)
summary(da.no.year)
plot(da.no.year,which.graph='complete')
# Parameter terms could be used to group variables
da.terms=c(GNP.rel='GNP.deflator+GNP',
pop.rel='Unemployed+Armed.Forces+Population+Unemployed',
year='Year')
da.grouped<-dominanceAnalysis(lm.1,terms=da.terms)
print(da.grouped)
summary(da.grouped)
plot(da.grouped, which.graph='complete')
# }
Run the code above in your browser using DataLab