CompProbZpartial: Multinomial probability computation for the Multinomial...

Description Usage Arguments Value

View source: R/RcppExports.R

Description

The function CompProbZpartial computes the multinomial probabilities of the Multinomial full-conditionals of the latent component memberships for the Gibbs sampling of a Bayesian mixture of Plackett-Luce models.

Usage

1
CompProbZpartial(p, pi_inv, Y, u_bin, n_rank, omega)

Arguments

p

Numeric GxK matrix of component-specific support parameters.

pi_inv

Numeric NxK data matrix of partial orderings.

Y

Numeric NxK matrix of the quantitative latent variables.

u_bin

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

n_rank

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

omega

Numeric vector of the G mixture weights.

Value

Numeric NxG matrix of multinomial probabilities.


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