Description Usage Arguments Details Value Author(s) References Examples
Attempts to "symmetrize" an approximate design w
by minimizing its norm while keeping its information matrix.
1 2 |
Fx |
the |
w |
a non-negative vector of length |
b1,A1, b2,A2, b3,A3 |
the real vectors and matrices that define the constraints on permissible designs |
w0 |
a non-negative vector of length |
crit |
the optimality criterion. Possible values are |
h |
a non-zero vector of length |
echo |
Print the call of the function? |
For some models, the optimum approximate design is not unique (although the optimum information matrix usually is unique). This function uses one optimal approximate design to produce an optimal approximate design with a minimum Euclidean norm, which is unique and usually more "symmetric".
A list with the following components:
call |
The call of the function |
w.sym |
The resulting "symmetrized" approximate design |
Radoslav Harman, Lenka Filova
Harman R, Filova L, Richtarik P (2019). A randomized exchange algorithm for computing optimal approximate designs of experiments. Journal of the American Statistical Association, 1-30. (Subsection 5.1)
1 2 3 4 5 6 7 8 9 | # Compute a D-optimal approximate design using the randomized method REX.
# Visualize both the design obtained by REX and its symmetrized version.
form.q <- ~x1 + x2 + x3 + I(x1^2) + I(x2^2) + I(x3^2) + I(x1*x2) + I(x1*x3) + I(x2*x3)
Fx <- Fx_cube(form.q, n.levels = c(5, 5, 5))
w.app <- od_REX(Fx)$w.best
od_plot(Fx, w.app, X=Fx[, 2:3])
w.app.sym <- od_SYM(Fx, w.app, b3 = 1)$w.sym
od_plot(Fx, w.app.sym, X=Fx[, 2:3])
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.