Learn R Programming

exametrika (version 1.1.0)

InterItemAnalysis: Inter-Item Analysis

Description

Inter-Item Analysis returns various metrics for analyzing relationships between pairs of items. This function is applicable only to binary response data. The following metrics are calculated:

  • JSS: Joint Sample Size

  • JCRR: Joint Correct Response Rate

  • IL: Item Lift

  • MI: Mutual Information

  • Phi: Phi Coefficient

  • Tetrachoric: Tetrachoric Correlation

Each metric is returned in matrix form where element (i,j) represents the relationship between items i and j.

Usage

InterItemAnalysis(U, na = NULL, Z = NULL, w = NULL, ...)

Value

A list of class "exametrika" and "IIAnalysis" containing the following matrices:

JSS

Joint Sample Size matrix

JCRR

Joint Correct Response Rate matrix

IL

Item Lift matrix

MI

Mutual Information matrix

Phi

Phi Coefficient matrix

Tetrachoric

Tetrachoric Correlation matrix

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.

Examples

Run this code
# \donttest{
# example code
InterItemAnalysis(J15S500)
# }

Run the code above in your browser using DataLab