Description Usage Arguments Details Value See Also
wDefficiency
computes the weighted D-, D_s or D_A-efficiency measure for a design with respect to a reference design.
1 | wDefficiency(des, ref, mods, modw, A = NULL, parNames = NULL)
|
des |
a design. |
ref |
a design, the reference. |
mods |
a list of models. |
modw |
a vector of weights. |
A |
for
|
parNames |
a vector of names or indices, the subset of parameters to use. Defaults to the parameters for which the Fisher information is available. |
Indices supplied to argument A
correspond to the subset of parameters defined by argument parNames
.
Weighted D efficiency is defined as
( exp(integral( log(det(M(ξ, θ))) , dB)) / exp(integral( log(det(M(ξ*, θ))) , dB)) )**(1/n)
and weighted D_A efficiency as
( exp(integral( -log(det(t(A) %*% solve(M(ξ, θ)) %*% A)) , dB)) / exp(integral( -log(det(t(A) %*% solve(M(ξ*, θ)) %*% A)) , dB)) )**(1/s)
wDefficiency
returns a single numeric.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.