View source: R/getAverageRates.R
getAverageRates | R Documentation |
Function performs model averaging given the AIC weights of the models. This follows a similar procedure to the one implemented in Caetano et al., 2018.
getAverageRates(..., verbose = TRUE, legacy.mode = FALSE)
... |
a list of model fit or a series of model fits separated by commas. |
verbose |
whether to print information to the screen. |
legacy.mode |
whether to check structure of objects instead of class. |
Model averaging is performed by multiplying the rate estimated under each of the models by the respective model weight. Model weight is a measure of the relative likelihood of a model. This can be used to associate a relative likelihood to parameter estimates. See more information on Caetano et al., 2018.
A list object with a vector of rates, a vector of flags from the model averaging algorithm and a named vector with the AICw for the models.
Daniel Caetano
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.