# NOT RUN {
### finding the locally optimal design for different values for design interval
mica(fimfunc = "FIM_exp_2par", lx = 0, ux = 1, lp = c(1, 2), up = c(1, 2),
iter = 100, k = 2, type = "locally", control = list(seed = 215))
mica(fimfunc = "FIM_exp_2par", lx = .0001, ux = 1, lp = c(1, 2), up = c(1, 2),
iter = 100, k = 2, type = "locally", control = list(seed = 215))
mica(fimfunc = "FIM_exp_2par", lx = 0, ux = 10, lp = c(1, 2), up = c(1, 2),
iter = 100, k = 2, type = "locally", control = list(seed = 215))
mica(fimfunc = "FIM_exp_2par", lx = .0001, ux = 10, lp = c(1, 2), up = c(1, 2),
iter = 100, k = 2, type = "locally", control = list(seed = 215))
## it seems for design interval x = [x_l, x_u], when x_l > 0,
## the locally D-optimal design is a two-point equally weighted design
## with x1 = x_l, x2 = x_u
mica(fimfunc = "FIM_exp_2par", lx = .5, ux = 10, lp = c(1, 2), up = c(1, 2),
iter = 100, k = 2, type = "locally", control = list(seed = 215))
mica(fimfunc = "FIM_exp_2par", lx = .0001, ux = 10, lp = c(1, 2), up = c(1, 2),
iter = 100, k = 2, type = "locally", control = list(seed = 215))
mica(fimfunc = "FIM_exp_2par", lx = 1, ux = 10, lp = c(1, 2), up = c(1, 2),
iter = 100, k = 2, type = "locally", control = list(seed = 215))
mica(fimfunc = "FIM_exp_2par", lx = 2, ux = 10, lp = c(1, 2), up = c(1, 2),
iter = 100, k = 2, type = "locally", control = list(seed = 215))
mica(fimfunc = "FIM_exp_2par", lx = 3, ux = 9, lp = c(1, 2), up = c(1, 2),
iter = 100, k = 2, type = "locally", control = list(seed = 215))
# }
Run the code above in your browser using DataLab