Description Usage Arguments Value Examples
View source: R/model_frequencies.R
Generate Bootstrap Information Criterion Frequencies
1 | ModelFrequencies(n, true, parameters, models, N = 1000, ic = "AIC")
|
n: |
Sample size. |
true: |
A string giving the name of the model to generate data from. |
parameters: |
A vector of parameterseters specifying a fitted true model. |
models: |
A string vector of model names for selecting between. |
N: |
Number of bootstrap samples. |
ic: |
String giving which information criterion to use (e.g. 'AICc', 'BIC') |
: A list containing the following:.
1 2 | models = c("norm0", "norm1", "norm")
ModelFrequencies(25, "norm", c(0.3, 1.2), models, 1000, "AIC")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.