UpWhet: M-step for the weights of a Bayesian mixture of Plackett-Luce...

Description Usage Arguments Value

View source: R/RcppExports.R

Description

The function UpWhet updates the mixture weight estimates in the EM algorithm for MAP estimation of a Bayesian mixture of Plackett-Luce models

Usage

1
UpWhet(z_hat, alpha0)

Arguments

z_hat

Numeric NxG matrix of posterior component membership probabilities.

alpha0

Numeric vector of G Dirichlet hyperparameters.

Value

Numeric vector of the G estimated mixture weights.


lucatardella/PLMIX documentation built on Jan. 1, 2021, 8:25 a.m.