D Efficiency

Share:

Description

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

Usage

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

Details

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

D efficiency is defined as

( det(M(ξ, θ)) / det(M(ξ*, θ)) )**(1/n)

and D_A efficiency as

( det(t(A) %*% solve(M(ξ*, θ)) %*% A) / det(t(A) %*% solve(M(ξ, θ)) %*% A) )**(1/s)

Value

Defficiency returns a single numeric.

See Also

design, param

Examples

1
## see examples for param