Learn R Programming

docopulae (version 0.4.0)

Defficiency: D Efficiency

Description

Defficiency computes the D-, D_s or D_A-efficiency measure for a design with respect to a reference design.

Usage

Defficiency(des, ref, mod, A = NULL, parNames = NULL)

Arguments

des

a design.

ref

a design, the reference.

mod

a model.

A

for

  • D-efficiency: NULL

  • D_s-efficiency: a vector of names or indices, the subset of parameters of interest.

  • D_A-efficiency: either

    • directly: a matrix without row names.

    • indirectly: a matrix with row names corresponding to the parameters.

parNames

a vector of names or indices, the subset of parameters to use. Defaults to the parameters for which the Fisher information is available.

Value

Defficiency returns a single numeric.

Details

Indices supplied to argument A correspond to the subset of parameters defined by argument parNames.

D efficiency is defined as $$\left(\frac{\left|M(\xi,\bar{\boldsymbol{\theta}})\right|}{\left|M(\xi^{*},\bar{\boldsymbol{\theta}})\right|}\right)^{1/n}$$ and D_A efficiency as $$\left(\frac{\left|A^{T}M(\xi,\bar{\boldsymbol{\theta}})^{-1}A\right|^{-1}}{\left|A^{T}M(\xi^{*},\bar{\boldsymbol{\theta}})^{-1}A\right|^{-1}}\right)^{1/s}$$

See Also

design, param, wDefficiency

Examples

Run this code
# NOT RUN {
## see examples for param

# }

Run the code above in your browser using DataLab