Description Usage Arguments Value
The function CompRateP
computes the rate parameters of the Gamma full-conditionals of the support parameters for the Gibbs sampling of a Bayesian mixture of Plackett-Luce models.
1 | CompRateP(pi_inv, Y, z, u_bin, n_rank, rate0)
|
pi_inv |
Numeric NxK data matrix of partial orderings. |
Y |
Numeric NxK matrix of the quantitative latent variables. |
z |
Numeric NxK matrix of binary component memberships. |
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. |
rate0 |
Numeric vector of G rate hyperparameters. |
Numeric GxK matrix of rate parameters.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.