GenerateData: Generate a sample from a fitted model

Description Usage Arguments Value Examples

View source: R/generate_data.R

Description

Generate a sample from a fitted model

Usage

1
GenerateData(n, model, parameters = list())

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.