JointSampleSize {exametrika} | R Documentation |
Joint Sample Size
Description
The joint sample size is a matrix whose elements are the number of individuals who responded to each pair of items.
Usage
JointSampleSize(U, na = NULL, Z = NULL, w = NULL, ...)
Arguments
U |
U is a data matrix of the type matrix or data.frame. |
na |
na argument specifies the numbers or characters to be treated as missing values. |
Z |
Z is a missing indicator matrix of the type matrix or data.frame |
w |
w is item weight vector |
... |
Internal parameters for maintaining compatibility with the binary data processing system. Not intended for direct use. |
Value
Returns a matrix of class c("exametrika", "matrix") where each element (i,j) represents the number of students who responded to both item i and item j. The diagonal elements represent the total number of responses for each item.
Note
This function is implemented using a binary data compatibility wrapper and will raise an error if used with polytomous data.