View source: R/PLMIXfunctions.R
ppcheckPLMIX_single | R Documentation |
Compute predictive posterior p
-values based on top item and paired comparison frequencies to assess the goodness-of-fit of a Bayesian mixtures of Plackett-Luce models for partial orderings.
ppcheckPLMIX_single(
pi_inv,
G,
MCMCsampleP,
MCMCsampleW,
top1 = TRUE,
paired = TRUE
)
pi_inv |
An object of class |
G |
Number of mixture components. |
MCMCsampleP |
Numeric |
MCMCsampleW |
Numeric |
top1 |
Logical: whether the posterior predictive |
paired |
Logical: whether the posterior predictive |
In the case of partial orderings, the same missingness patterns of the observed dataset, i.e., the number of items ranked by each sample unit, are reproduced on the replicated datasets.
A list of named objects:
post_pred_pvalue_top1 |
If |
post_pred_pvalue_paired |
If |
Cristina Mollica and Luca Tardella
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.