Description Usage Arguments Value Examples
Bootstrap distributions of Information Criterion Differences
1 | ecicControl(n, true, parameters, best, models, N = 1000, ic = "AIC")
|
n: |
Sample size. |
true: |
A string giving the name of the model to generate data from. |
param: |
A vector of parameters specifying a fitted true model. |
best: |
A string giving the name of the model to be given as best. |
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') |
An ecicControl object containing the following:
differences:
frequencies: a modelFrequencies object containing bootstrap frequencies, fitted parameters for the bootstrap samples, scores for the bootstrap samples and the samples themselves.
1 2 3 | my.models = c("norm0" "norm1", "norm")
ecicControl(n = 25, true = "norm", param = c(0.3, 1.2),
my.models, N = 1000, ic = 'AIC')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.