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.


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