Learn R Programming

docopulae (version 0.2.1)

Defficiency: D Efficiency

Description

Defficiency computes the D- or Ds-efficiency measure for some design with respect to some reference design.

Usage

Defficiency(des, ref, sNames = NULL, names = NULL)

Arguments

des
some design.
ref
some design, the reference.
sNames
a vector of names or indices, the subset of parameters to use.
names
a vector of names or indices, the set of parameters to use.

Value

  • Defficiency returns a single numeric.

Details

Both sNames and names default to the corresponding argument which was used to find the reference design.

D efficiency is defined as $$\left(\frac{\left|M(\xi,\bar{\theta})\right|}{\left|M(\xi^{*},\bar{\theta})\right|}\right)^{1/n}$$ and Ds efficiency as $$\left(\frac{\left|M_{11}(\xi,\bar{\theta})-M_{12}(\xi,\bar{\theta})M_{22}^{-1}(\xi,\bar{\theta})M_{12}^{T}(\xi,\bar{\theta})\right|}{\left|M_{11}(\xi^{*},\bar{\theta})-M_{12}(\xi^{*},\bar{\theta})M_{22}^{-1}(\xi^{*},\bar{\theta})M_{12}^{T}(\xi^{*},\bar{\theta})\right|}\right)^{1/s}$$

where $M_{11}$ is the submatrix corresponding to the parameters in sNames, $M_{22}$ is the submatrix corresponding to the parameters in names which are not in sNames, and $M_{12}$ is defined as the resulting off diagonal submatrix.

See Also

FedorovWynn, update_reference, update.desigh

Examples

Run this code
## see examples for param

Run the code above in your browser using DataLab