Skip to contents

Gate probabilities pi_ik from gate coefficients and gating design.

Usage

gate_predict(gamma, Z)

Arguments

gamma

A (q+1) x (G-1) coefficient matrix (columns = classes 2..G).

Z

A gating design matrix n x (q+1).

Value

An n x G matrix of mixing probabilities.