Learn R Programming

simrel (version 1.0-1)

mbrdsim: A function to set up a design for a given set of factors with their specific levels using the MBR-design method.

Description

The multi-level binary replacement (MBR) design approach is used here in order to facilitate the investigation of the effects of the data properties on the performance of estimation/prediction methods. The mbrdsim function takes as input a list containing a set of factors with their levels. The output is an MBR-design with the combinations of the factor levels to be run.

Usage

mbrdsim(simlist, fraction)

Arguments

simlist

A named list containing the levels of a set of (multi-level) factors.

fraction

Design fraction at bit-level. Full design: fraction=0, half-fraction: fraction=1, and so on.

Value

BitDesign

The design at bit-factor level. The object is of class design, as output from FrF2. Function design.info() can be used to get extra design info of the bit-design. The bit-factors are named.numbered if the input factor list is named.

Design

The design at original factor level, non-randomized. The factors are named if the input factor list is named.

%% ...

References

Martens, H., M<e5>ge, I., T<U+0802E96C>, K., Isaeva, J., H<U+0803D80D>. and S<e6>b<U+0803C813>., 2010, Multi-level binary replacement (MBR) design for computer experiments in high-dimensional nonlinear systems, J, Chemom, 24, 748--756.

Examples

Run this code
# NOT RUN {
#Input: A list of factors with their levels (number of levels must be a multiple of 2).
simlist <- list(R2=c(0.5,0.9), 
                pos = c(12,45),
                gamma = c(0.1, 0.9),
                comp = 1:8,
                alpha = c(0.01, 0.05, 0.1, 0.25))

# A 1/8 design
des <- mbrdsim(simlist, fraction=3)
#The MBRD-design at original factor level
des$Design
#Info about the bit-design
design.info(des$BitDesign)
# }

Run the code above in your browser using DataLab