InterItemAnalysis {exametrika}R Documentation

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:

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, ...)

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

Note

This function is implemented using a binary data compatibility wrapper and will raise an error if used with polytomous data.

Examples


# example code
InterItemAnalysis(J15S500)


[Package exametrika version 1.1.0 Index]