Implementation of the weight update formula for Ds-Optimality used to optimize the weights of a design, which is to be applied iteratively until no sizable changes happen.
update_weightsDS(design, sens, s, delta)
returns the new weights of the design after one iteration.
Design to optimize the weights from. It's a dataframe with two columns:
Point
contains the support points of the design.
Weight
contains the corresponding weights of the Point
s.
Sensibility function for the design and model.
number of parameters of interest of the model
A parameter of the algorithm that can be tuned. Must be \(0< delta < 1\).