cos2weights.Rd
Calculate the cos-squared model weights, following the algorithm outlined in the appendix to Garthwaite & Mubwandarikwa (2010).
cos2Weights(object, ..., data, eps = 1e-06, maxit = 100, predict.args = list())
two or more fitted glm objects, or a
list
of such, or an "averaging"=model.avg object.
Currently only lm
and glm
objects are accepted.
a test data frame in which to look for variables for use with prediction. If omitted, the fitted linear predictors are used.
tolerance for determining convergence.
maximum number of iterations.
optionally, a list
of additional arguments to be
passed to predict
.
A numeric vector of model weights.
Garthwaite, P. H. and Mubwandarikwa, E. 2010 Selection of weights for weighted model averaging. Australian & New Zealand Journal of Statistics 52, 363–382.
Dormann, C. et al. 2018 Model averaging in ecology: a review of Bayesian, information-theoretic, and tactical approaches for predictive inference. Ecological Monographs 88, 485–504.
Weights, model.avg
Other model weights:
BGWeights()
,
bootWeights()
,
jackknifeWeights()
,
stackingWeights()