Aopt

class pyoptex.doe.cost_optimal.metric.Aopt(cov=None, W=None)[source]

The A-optimality criterion. Computes the average trace if multiple Vinv are provided.

Attributes

covfunc(Y, X, Zs, Vinv, costs)

A function computing the covariate parameters and potential extra random effects.

Wnp.array(1d)

A weights matrix for the trace of the inverse of the information matrix.

__init__(cov=None, W=None)[source]

Creates the metric

Parameters

covfunc(Y, X, Zs, Vinv, costs)

The covariance function

Wnp.array(1d)

The weights for the trace of the inverse of the information matrix.

Methods

Aopt.call(Y, X, Zs, Vinv, costs)

Computes the A-optimality criterion for a given design.

Aopt.init(params)

Initializes the metric before optimization.