posterior_predicted: Draw responses on the basis of posterior predicitive...

Description Usage Arguments Value

View source: R/postpred.R

Description

The function takes the posterior predicitve probabilities (from post_prob_irtree) and draws for every iteration-person-item combination a predicted response.

Usage

1

Arguments

prob

Numeric array of dimension R x N x J x 5 (for N persons, J items with 5 categories, and R iterations).

Value

Array of predicted responses of dimension R x N x J (for N persons, J items, and R iterations).


hplieninger/mpt2irt documentation built on Aug. 4, 2018, 10:52 a.m.