Run multinomial regression with Polya-Gamma augmentation. There is no need to call this function directly. The keyATM Covariate internally uses this.

multiPGreg(Y, X, num_topics, PG_params, iter = 1, store_lambda = 0)

Arguments

Y

Outcomes.

X

Covariates.

num_topics

Number of topics.

PG_params

Parameters used in this function.

iter

The default is 1.

store_lambda

The default is 0.