Implements a bootstrap procedure as presented by Azen and Budescu (2003). Provides the expected level of dominance of predictor \(X_i\) over \(X_j\), as the degree to which the pattern found in the sample is reproduced in the bootstrap samples.
bootDominanceAnalysis(
x,
R,
constants = c(),
terms = NULL,
fit.functions = "default",
null.model = NULL,
...
)
An object of class bootDominanceAnalysis
containing:
The results of the bootstrap analysis.
The predictors analyzed.
The fit functions used in the analysis.
A vector where each value represents the name of a specific dominance analysis result. Names are prefixed with the type of dominance (complete, conditional, or general), and the fit function used, followed by the names of the first and second predictors involved in the comparison.
Names of each one the predictor pairs.
The terms analyzed.
The number of bootstrap resamples.
An object of class lm
, glm
, or lmer
.
The number of bootstrap resamples.
A vector of predictors to remain unchanged between models, i.e., variables not subjected to bootstrap analysis.
A vector of terms to be analyzed. By default, terms are obtained from the model.
A list of functions providing fit indices for the model.
Refer to fit.functions
parameter in dominanceAnalysis
function.
Applicable only for linear mixed models. It refers to the null model against which to test the submodels, i.e., only random effects, without any fixed effects.
Additional arguments provided to lm
or lmer
(not implemented yet).
Use summary()
to obtain a nicely formatted data.frame
.
# \donttest{
lm.1 <- lm(Employed ~ ., longley)
da.boot <- bootDominanceAnalysis(lm.1, R = 1000)
summary(da.boot)
# }
Run the code above in your browser using DataLab