groups_remove

pyoptex.doe.cost_optimal.codex.remove.groups_remove(Yn, Zs, pos, colstart)[source]

Computes the change in groups when removing run at pos.

Parameters

Ynnp.array(2d)

The design matrix.

Zslist(np.array(1d) or None)

The grouping matrices.

posint

The index of the run to remove.

colstartnp.array(1d)

The start column of each factor.

Returns

blist(tuple(start, end, group_from, group_to))

Each element represents a factor random effect and specifies whether runs from this factor should be moved to another group.