update_weightsDS: Update weight Ds-Optimality

View source: R/utils.R

update_weightsDSR Documentation

Update weight Ds-Optimality

Description

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.

Usage

update_weightsDS(design, sens, s, delta)

Arguments

design

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 Points.

sens

Sensibility function for the design and model.

s

number of parameters of interest of the model

delta

A parameter of the algorithm that can be tuned. Must be 0< delta < 1.

Value

returns the new weights of the design after one iteration.


Kezrael/optedr documentation built on Oct. 12, 2024, 8:40 p.m.