CCRR {exametrika} | R Documentation |
Conditional Correct Response Rate
Description
The conditional correct response rate (CCRR) represents the ratio of the students who passed Item C (consequent item) to those who passed Item A (antecedent item). This function is applicable only to binary response data.
Usage
CCRR(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
A matrix of conditional correct response rates with exametrika class. Each element (i,j) represents the probability of correctly answering item j given that item i was answered correctly.
Note
This function is implemented using a binary data compatibility wrapper and will raise an error if used with polytomous data.
Examples
# example code
# Calculate CCRR using sample dataset J5S10
CCRR(J5S10)