Learn R Programming

emreliability (version 1.0.0)

kr21: KR-21

Description

Compute the KR-21 reliability coefficient for dichotomously scored items (0/1), assuming equal item difficulty.

Usage

kr21(x)

Value

A single numeric value: the KR-21 reliability coefficient.

Arguments

x

A data frame or matrix of item responses, with rows as persons and columns as items. Items are assumed to be dichotomous (0/1).

Details

KR-21 is a simplified alternative to KR-20, assuming equal item difficulty. Rows containing missing values are removed using stats::na.exclude().

Examples

Run this code
data(data.u)
kr21(data.u)

Run the code above in your browser using DataLab