UpPhetpartial: M-step for the support parameters of a Bayesian mixture of...

Description Usage Arguments Value

View source: R/RcppExports.R

Description

The function UpPhetpartial updates the support parameter estimates in the EM algorithm for MAP estimation of a Bayesian mixture of Plackett-Luce models.

Usage

1
UpPhetpartial(p, ref_order, pi_inv, u_bin, z_hat, shape0, rate0, n_rank)

Arguments

p

Numeric GxK matrix of component-specific support parameters.

ref_order

Numeric GxK matrix of component-specific reference orders.

pi_inv

Numeric NxK data matrix of partial orderings.

u_bin

Binary NxK matrix indicating whether sample unit s ranked item i.

z_hat

Numeric NxG matrix of posterior component membership probabilities.

shape0

Numeric GxK matrix of shape hyperparameters.

rate0

Numeric vector of G rate hyperparameters.

n_rank

Numeric vector of length N with the number of items ranked by each sample unit.

Value

Numeric GxK matrix of estimated component-specific support parameters.


cmollica/PLMIX documentation built on Dec. 31, 2020, 10:04 p.m.