ppcheckPLMIX_cond_single {PLMIX} | R Documentation |
Conditional predictive posterior p
-values
Description
Compute conditional predictive posterior p
-values based on top paired comparison frequencies to assess the goodness-of-fit of a Bayesian mixtures of Plackett-Luce models for partial orderings.
Usage
ppcheckPLMIX_cond_single(
pi_inv,
G,
MCMCsampleP,
MCMCsampleW,
top1 = TRUE,
paired = TRUE
)
Arguments
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 |
Details
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.
Value
A list of named objects:
post_pred_pvalue_top1 |
If |
post_pred_pvalue_paired |
If |
Author(s)
Cristina Mollica and Luca Tardella