GenerateDataBest: Generate multiple samples from a fitted model with specified...

Description Usage Arguments Value Examples

View source: R/generate_data.R

Description

Generate multiple samples from a fitted model with specified best performing model

Usage

1
GenerateDataBest(n, true, parameters, best, models, N, ic = "AIC", ...)

Arguments

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

Value

: A list containing the following:.

Examples

1
GenerateData(25, "norm", c(mu = 0.3, sd = 1.2))

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