PPP {edina} | R Documentation |
Posterior Predictive Probabilities (PPPs)
Description
Computes posterior predictive probabilities (PPPs) based on the odds ratios for each pair of items.
Usage
PPP(object, ...)
## S3 method for class 'edina'
PPP(object, alpha = 0.05, ...)
Arguments
object |
An |
... |
Not used. |
alpha |
Defining region to indicate the level of extremeness the data must before the model is problematic. |
Details
PPPs that smaller than 0.05 or greater than 0.95 tend to be extreme and evidence of misfit. As a result, this is more of a heuristic metric.
Value
The PPP value given the specified alpha
value.
PPP Computation Procedure
simulate observed responses
using model parameters from iteration
of the MCMC sampler
computing the odds ratio for each pair of items at iteration
as
, where
is the frequency of ones on both variables at iteration
,
is the frequency of ones on the first item and zeros on the second at iteration
, etc.; and
computing PPPs for each item pair as the proportion of generated
's that exceeded elements of the observed odds ratios.