posterior_expected: Calculate expected responses on the basis of posterior...

Description Usage Arguments Value

View source: R/postpred.R

Description

The function takes the posterior predicitve probabilities (from post_prob_irtree) and calculates for every iteration-person-item combination the expected response. This is needed for Yen's Q3 (see statistic_Q3).

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 expected 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.