Description Usage Arguments Details Value Examples
View source: R/1-UserCommonFunctions.R
The function ICA.control
returns a list of ICA control parameters.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | ICA.control(
ncount = 40,
nimp = ncount/10,
assim_coeff = 4,
revol_rate = 0.3,
damp = 0.99,
uniting_threshold = 0.02,
equal_weight = FALSE,
sym = FALSE,
sym_point = NULL,
stop_rule = c("maxiter", "equivalence"),
stoptol = 0.99,
checkfreq = 0,
plot_cost = TRUE,
plot_sens = TRUE,
plot_3d = c("lattice", "rgl"),
trace = TRUE,
rseed = NULL
)
|
ncount |
Number of countries. Defaults to |
nimp |
Number of imperialists. Defaults to 10 percent of |
assim_coeff |
Assimilation coefficient. Defaults to |
revol_rate |
Revolution rate. Defaults to |
damp |
Damp ratio for revolution rate. |
uniting_threshold |
If the distance between two imperialists is less than the product of the uniting threshold by the largest distance in the search space, ICA unites the empires. Defaults to |
equal_weight |
Should the weights of design points assumed to be equal? Defaults to |
sym |
Should the design points be symmetric around |
sym_point |
If |
stop_rule |
Either |
stoptol |
If |
checkfreq |
The algorithm verifies the general equivalence theorem in
every |
plot_cost |
Plot the iterations (evolution) of algorithm? Defaults to |
plot_sens |
Plot the sensitivity (derivative) function at every |
plot_3d |
Character. Which package should be used to plot the sensitivity plot for models with two explanatory variables? |
trace |
Print the information in every iteration? Defaults to |
rseed |
Random seed. Defaults to |
If stop_rule = 'maxiter'
, the algorithm iterates until maximum number of iterations.
If stope_rule = 'equivalence'
, the algorithm stops when either ELB is greater than stoptol
or it reaches maxiter
.
In this case, you must specify the check frequency by checkfreq
.
Note that checking equivalence theorem is a very time consuming process,
especially for Bayesian and minimax design problems.
We advise using this option only for locally, multiple objective and robust optimal designs.
What to follows shows how sym_point
and sym
may be useful?
Assume the 2PL model of the form P(Y=1) = 1/(1+exp(-b(x - a))) and
let the parameters a and b
belong to
[a_L, a_U] and [b_L, b_U], respectively.
It can be shown that the optimal design for this model
is symmetric around a_M= (a_L + a_U)/2.
For this model, to find accurate symmetric designs, one can set sym = TRUE
and
provide the value of the a_M via sym_point
.
In this case, the output design will be symmetric around the point sym_point
.
The length of sym_point
must be equal to the number of model predictors, here, is equal to 1
.
A list of ICA control parameters.
1 | ICA.control(ncount = 100)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.