update_ab: Updates the hyperparameters for the gamma prior.

Description Usage Arguments

Description

Updates the hyperparameters for the gamma prior.

Usage

1
update_ab(alpha, beta, Y, L, F)

Arguments

alpha

A positive numeric. The shape parameter of the variances.

beta

A positive numeric. The rate of the variances.

Y

A matrix of numerics. n by p. The data.

L

A matrix of numerics. n by k. The current loadings.

F

A matrix of numerics. k by p. The factors.


dcgerard/succotashr documentation built on May 15, 2019, 1:25 a.m.