Skip to contents

Perform Knowles-Minka-Wand update of variational parameters

Usage

knowles_minka_wand_n(X, y, n, eta1, eta2, eta1_p, eta2_p, MS_p, MS_s)

Arguments

X

The design matrix

y

The response vector

n

The trials vector

eta1

The current value of 1st natural parameter

eta2

The current value of the 2nd natural parameter

eta1_p

The prior value of the 1st natural parameter

eta2_p

The prior value of the 2nd natural parameter

MS_p

The

MS_s

The