update_weightsI: Update weight I-Optimality

View source: R/utils.R

update_weightsIR Documentation

Update weight I-Optimality

Description

Implementation of the weight update formula for I-Optimality used to optimize the weights of a design, which is to be applied iteratively until no sizable changes happen. A-Optimality if instead of the integral matrix the identity function is used.

Usage

update_weightsI(design, sens, crit, 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.

crit

Value of the criterion function for I-Optimality.

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.


optedr documentation built on Nov. 18, 2022, 5:12 p.m.