IC.weights | R Documentation |
This function transforms IC values into IC weights: IC values denote the ordering of hypotheses/models, while IC weights quantify the relative strength of hypotheses/models.
IC.weights(IC, Name_Hypo = NULL)
IC |
A vector or one-column matrix with information criteria (AIC, ORIC, GORIC(A), BIC, SIC, ...) values of length 'NrHypos', where 'NrHypos' stands for the number of hypotheses/models. |
Name_Hypo |
Optional. Vector containing 'NrHypos' characters which will be used for labeling the hypothesis. Default: H1, H2, .... |
IC weights, which quantify the relative strength of hypotheses/models.
IC <- myIC # Example based on 3 hypotheses.
IC.weights(IC)
# Change labels of hypotheses #
# For example, let us say that we tested a linear model vs quadratic vs cubic.
Name_Hypo <- c("Linear", "Quadratic", "Cubic")
IC.weights(IC, Name_Hypo)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.