getFEDInfo: Generation function of Fedorov-Wynn algorithm parameter...

Description Usage Arguments Value Examples

View source: R/DiscrimOD_assist.r

Description

Create a list with Fedorov-Wynn algorithm parameters for optimal discrimination design search.

Usage

1
2
getFEDInfo(FED_MAXIT = 200, FED_TRIM = 5, FED_TRIM_EPS = 0.001,
  freeRun = 1, FED_EPS = 1e-06, FED_ALPHA_GRID = 20)

Arguments

FED_MAXIT

A integer number of maximal iterations. The default is 200.

FED_TRIM

A integer number that indicates the timing of design trimming (pruning). The default is 5, meaning that, to trim the design every 5 iterations.

FED_TRIM_EPS

A small value δ with default δ=10^{-3}. In the trimming process, when the distance between two design points is smaller than δ, the process will merge these two points.

freeRun

A number between [0,1] that controls the percentage of updating iterations which are free from examining the stopping criterion, |f'-f|<\varepsilon where f' and f are the objective function values in the previous and current iterations, respectively. The default is 1.0 implying the algorithm will completely ignore the stopping criterion. Otherwise, the algorithm checks the stopping criterion after free iterations.

FED_ALPHA_GRID

A integer number that specifies the grid size of candidate weights in the update-one-point process of the Fedorov-Wynn algorithm. The default is 20.

tol

A small value for the tolerance, \varepsilon, in the stopping criterion. For freeRun smaller than 1.0, the default is 1e-6. Otherwise, this value would not affect the algorithm.

Value

The list of Fedorov-Wynn parameter settings.

Examples

1
2
# Get default settings for Fedorov-Wynn algorithm.
FED_INFO <- getFEDInfo(FED_MAXIT = 200)

PingYangChen/DiscrimOD documentation built on Jan. 30, 2022, 5:25 p.m.