Learn R Programming

docopulae (version 0.3.2)

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, mod, dsNames = NULL, names = NULL)

Arguments

des
some design.
ref
some design, the reference.
mod
some model.
dsNames
a vector of names or indices, the subset of parameters to use. Defaults to the set of parameters in use.
names
a vector of names or indices, the set of parameters to use. Defaults to the parameters for which the Fisher information is available.

Value

  • Defficiency returns a single numeric.

Details

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 dsNames, $M_{22}$ is the submatrix corresponding to the parameters in names which are not in dsNames, and $M_{12}$ is defined as the resulting off diagonal submatrix.

See Also

design, param

Examples

Run this code
## see examples for param

Run the code above in your browser using DataLab