multiPGreg {keyATM}R Documentation

Run multinomial regression with Polya-Gamma augmentation

Description

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

Usage

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.


[Package keyATM version 0.5.2 Index]