Description Usage Arguments Details Value Note Author(s) See Also Examples
Expected ratings matrix given item measures, person measures and ordered rating category thresholds.
1 | expdata(items, persons, thresholds, minRating)
|
items |
a numeric vector of item measures with missing values set to NA. |
persons |
a numeric vector of person measures with missing values set to NA. |
thresholds |
a numeric vector of ordered rating category thresholds with no NA. |
minRating |
integer representing the smallest ordinal rating category (see Details). |
It is assumed that the set of ordinal rating categories consists of all integers from the lowest rating category specified by minRating
to the highest rating category,
which is minRating + length(thresholds)
.
A numeric matrix of expected ratings.
Expected ratings are literally the expected value of the ordinal rating categories when treated as integers. Expected ratings that cannot be calculated return as NA (e.g., if either the person or item measure is NA). Intended use is for chi-squared tests or for calculating infit and outfit statistics.
Chris Bradley (cbradley05@gmail.com)
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.