Posterior Predictive P-values for MPTs
ppp_test.RdCalculates posterior predictive p-values for MPT values. Currently only the T1 statistic of Klauer (2010) is implemented.
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"