ModelFrequencies: Generate Bootstrap Information Criterion Frequencies

Description Usage Arguments Value Examples

View source: R/model_frequencies.R

Description

Generate Bootstrap Information Criterion Frequencies

Usage

1
ModelFrequencies(n, true, parameters, models, N = 1000, ic = "AIC")

Arguments

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')

Value

: A list containing the following:.

Examples

1
2
models = c("norm0", "norm1", "norm")
ModelFrequencies(25, "norm", c(0.3, 1.2), models, 1000, "AIC")

mcullan/ecic documentation built on Sept. 3, 2019, 9:57 a.m.