Skip to contents

Calculates posterior predictive p-values for MPT values. Currently only the T1 statistic of Klauer (2010) is implemented.

Usage

ppp_test(object, ndraws, type = "X2")

Arguments

object

fitted MPT model object returned by mpt().

ndraws

number of posterior draws that should be used for calculating the posterior predictive p-values.

type

whether the T1 statistic of expected frequencies is computed using Person's "X2"(default) or the likelihood-ratio statistic "G2"

References

Klauer, K. C. (2010). Hierarchical Multinomial Processing Tree Models: A Latent-Trait Approach. Psychometrika, 75(1), 70-98. https://doi.org/10.1007/s11336-009-9141-0