call

Dopt.call(Y, X, Zs, Vinv, costs)[source]

Computes the D-optimality criterion for a given design. Computes the geometric mean in case multiple Vinv are provided.

Parameters

Ynp.array(2d)

The design matrix

Xnp.array(2d)

The model matrix

Zslist(np.array(1d))

The grouping matrices

Vinvnp.array(3d)

The inverses of the multiple covariance matrices for each set of a-priori variance ratios.

costslist(np.array(1d), float, np.array(1d))

The list of different costs.

Returns

metricfloat

The D-optimality criterion.